re-enable the GenericJointDemo for CMake

This commit is contained in:
erwin.coumans
2010-01-29 00:46:59 +00:00
parent 133bb63dd8
commit 701bc64ab7
8 changed files with 97 additions and 179 deletions

View File

@@ -38,22 +38,6 @@ GLDebugDrawer debugDrawer;
int main(int argc,char* argv[])
{
GenericJointDemo demoApp;
// demoApp.configDebugDrawer(&debugDrawer);
demoApp.initPhysics();
demoApp.setCameraDistance(btScalar(10.));
#ifdef USE_ODE_QUICKSTEP
return glutmain(argc, argv,640,480,"Joint 6DOF - ODE QuickStep Solver",&demoApp);
#else
return glutmain(argc, argv,640,480,"Joint 6DOF - Sequencial Impulse Solver",&demoApp);
#endif
}
@@ -129,7 +113,7 @@ void GenericJointDemo::clientMoveAndDisplay()
glFlush();
glutSwapBuffers();
swapBuffers();
}
void GenericJointDemo::displayCallback()
@@ -142,7 +126,7 @@ void GenericJointDemo::displayCallback()
renderme();
glFlush();
glutSwapBuffers();
swapBuffers();
}
void GenericJointDemo::keyboardCallback(unsigned char key, int x, int y)