Merge pull request #307 from a0121536/patch-1

Fix the shadows in the 'Gyroscopic' demo
This commit is contained in:
erwincoumans
2015-01-22 17:58:20 -08:00

View File

@@ -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();