mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +00:00
dc491936a2
fix some relative path issues for loading assets
21 lines
480 B
C++
21 lines
480 B
C++
#include "GyroscopicDemo.h"
|
|
#include "GlutStuff.h"
|
|
#include "GLDebugDrawer.h"
|
|
|
|
#include "btBulletDynamicsCommon.h"
|
|
|
|
int main(int argc,char** argv)
|
|
{
|
|
|
|
|
|
|
|
GyroscopicDemo* constraintDemo = new GyroscopicDemo();
|
|
|
|
|
|
constraintDemo->initPhysics();
|
|
constraintDemo->setDebugMode(btIDebugDraw::DBG_DrawConstraints+btIDebugDraw::DBG_DrawConstraintLimits);
|
|
|
|
return glutmain(argc, argv,640,480,"Constraint Demo. http://www.continuousphysics.com/Bullet/phpBB2/",constraintDemo);
|
|
}
|
|
|