From 7fd901d8914d1ac742340da49e1ab80d63944b3c Mon Sep 17 00:00:00 2001 From: klickverbot Date: Wed, 11 Nov 2009 23:13:49 +0100 Subject: [PATCH] =?UTF-8?q?Fixed=20=C2=BBvoid=C2=AB=20return=20type=20on?= =?UTF-8?q?=20getters=20which=20was=20previously=20not=20reported=20as=20a?= =?UTF-8?q?n=20error=20because=20of=20a=20compiler=20frontend=20bug.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/d4/util/FreeCameraApplication.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d4/util/FreeCameraApplication.d b/src/d4/util/FreeCameraApplication.d index 9fdc7db..7d8f9da 100644 --- a/src/d4/util/FreeCameraApplication.d +++ b/src/d4/util/FreeCameraApplication.d @@ -33,14 +33,14 @@ protected: updateCamera( deltaTime ); } - final void cameraPosition() { + final Vector3 cameraPosition() { return m_cameraPosition; } final void cameraPosition( Vector3 position ) { m_cameraPosition = position; } - final void cameraRotation() { + final Quaternion cameraRotation() { return m_cameraRotation; } final void cameraRotation( Quaternion rotation ) {