From c7503bb3da74a8642d061eedb9bc708066016abe Mon Sep 17 00:00:00 2001 From: a0121536 Date: Fri, 2 Jan 2015 13:06:47 +0200 Subject: [PATCH] Fix the shadows in the 'Gyroscopic' demo --- Demos/GyroscopicDemo/GyroscopicDemo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demos/GyroscopicDemo/GyroscopicDemo.cpp b/Demos/GyroscopicDemo/GyroscopicDemo.cpp index 1655c16e8..31b399686 100644 --- a/Demos/GyroscopicDemo/GyroscopicDemo.cpp +++ b/Demos/GyroscopicDemo/GyroscopicDemo.cpp @@ -58,7 +58,7 @@ void GyroscopicDemo::initPhysics() setShadows(true); setCameraUp(btVector3(0,0,1)); setCameraForwardAxis(1); - m_sundirection.setValue(0,-1,-1); + m_sundirection.setValue(0,-1000,-1000); setCameraDistance(7.f); setupEmptyDynamicsWorld();