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

@@ -139,6 +139,7 @@ void BspDemo::initPhysics(const char* bspfilename)
{
int cameraUpAxis =2;
m_guiHelper->setUpAxis(cameraUpAxis);
btVector3 grav(0,0,0);
grav[cameraUpAxis] = -10;
m_guiHelper->setUpAxis(cameraUpAxis);