From 806955dac7a31af8682d0f8dfac16bc8c192fa3a Mon Sep 17 00:00:00 2001 From: Lynix Date: Wed, 3 Jun 2015 17:59:31 +0200 Subject: [PATCH] Graphics/Scene: Temporary fix compile Former-commit-id: 604961adc2b1400966491d22d5d1eb2d05ee9a6a --- src/Nazara/Graphics/Scene.cpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/Nazara/Graphics/Scene.cpp b/src/Nazara/Graphics/Scene.cpp index 44e4b2610..bad7102af 100644 --- a/src/Nazara/Graphics/Scene.cpp +++ b/src/Nazara/Graphics/Scene.cpp @@ -139,7 +139,8 @@ NzVector3f NzScene::GetBackward() const } #endif - return -m_viewer->GetGlobalForward(); + //return -m_viewer->GetGlobalForward(); + return NzVector3f::Backward(); } NzVector3f NzScene::GetDown() const @@ -152,7 +153,8 @@ NzVector3f NzScene::GetDown() const } #endif - return -m_viewer->GetGlobalUp(); + //return -m_viewer->GetGlobalUp(); + return NzVector3f::Down(); } NzVector3f NzScene::GetForward() const @@ -165,7 +167,8 @@ NzVector3f NzScene::GetForward() const } #endif - return m_viewer->GetGlobalForward(); + //return m_viewer->GetGlobalForward(); + return NzVector3f::Forward(); } NzVector3f NzScene::GetLeft() const @@ -178,7 +181,8 @@ NzVector3f NzScene::GetLeft() const } #endif - return -m_viewer->GetGlobalRight(); + //return -m_viewer->GetGlobalRight(); + return NzVector3f::Left(); } NzAbstractRenderTechnique* NzScene::GetRenderTechnique() const @@ -199,7 +203,8 @@ NzVector3f NzScene::GetRight() const } #endif - return m_viewer->GetGlobalRight(); + //return m_viewer->GetGlobalRight(); + return NzVector3f::Right(); } NzSceneNode& NzScene::GetRoot() @@ -227,7 +232,8 @@ NzVector3f NzScene::GetUp() const } #endif - return m_viewer->GetGlobalUp(); + //return m_viewer->GetGlobalUp(); + return NzVector3f::Up(); } float NzScene::GetUpdateTime() const