Fix the shadows in the 'Gyroscopic' demo

This commit is contained in:
a0121536
2015-01-02 13:06:47 +02:00
parent 46b9f7fbee
commit c7503bb3da

View File

@@ -58,7 +58,7 @@ void GyroscopicDemo::initPhysics()
setShadows(true); setShadows(true);
setCameraUp(btVector3(0,0,1)); setCameraUp(btVector3(0,0,1));
setCameraForwardAxis(1); setCameraForwardAxis(1);
m_sundirection.setValue(0,-1,-1); m_sundirection.setValue(0,-1000,-1000);
setCameraDistance(7.f); setCameraDistance(7.f);
setupEmptyDynamicsWorld(); setupEmptyDynamicsWorld();