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