set upaxis for all demos (either Y/1 or Z/2)

This commit is contained in:
erwin coumans
2015-04-29 14:02:50 -07:00
parent 40375983d6
commit f9b8120e5d
10 changed files with 33 additions and 272 deletions

View File

@@ -100,6 +100,8 @@ void AllConstraintDemo::setupEmptyDynamicsWorld()
void AllConstraintDemo::initPhysics()
{
m_guiHelper->setUpAxis(1);
m_Time = 0;
setupEmptyDynamicsWorld();