2 #include "ForkLiftDemo.h"
4 #include "GLDebugDrawer.h"
5 #include "btBulletDynamicsCommon.h"
6 GLDebugDrawer gDebugDrawer;
8 int main(int argc,char** argv)
11 ForkLiftDemo* pForkLiftDemo = new ForkLiftDemo;
13 pForkLiftDemo->initPhysics();
14 pForkLiftDemo->getDynamicsWorld()->setDebugDrawer(&gDebugDrawer);
16 return glutmain(argc, argv,1024,768,"Bullet ForkLift Demo. http://www.continuousphysics.com/Bullet/phpBB2/", pForkLiftDemo);