2008-04-05 01:11:34 +00:00
|
|
|
/*
|
|
|
|
Added by Roman Ponomarev (rponom@gmail.com)
|
|
|
|
April 04, 2008
|
|
|
|
*/
|
|
|
|
#include "SliderConstraintDemo.h"
|
|
|
|
#include "GlutStuff.h"
|
|
|
|
|
2008-12-02 04:01:56 +00:00
|
|
|
#include "GLDebugDrawer.h"
|
|
|
|
#include "btBulletDynamicsCommon.h"
|
|
|
|
|
|
|
|
GLDebugDrawer gDebugDrawer;
|
|
|
|
|
2008-04-05 01:11:34 +00:00
|
|
|
int main(int argc,char** argv)
|
|
|
|
{
|
|
|
|
|
|
|
|
SliderConstraintDemo* sliderConstraintDemo = new SliderConstraintDemo();
|
|
|
|
|
|
|
|
sliderConstraintDemo->initPhysics();
|
2008-12-02 04:01:56 +00:00
|
|
|
sliderConstraintDemo->getDynamicsWorld()->setDebugDrawer(&gDebugDrawer);
|
2008-04-05 01:11:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
return glutmain(argc, argv,640,480,"Slider Constraint Demo. http://www.continuousphysics.com/Bullet/phpBB2/", sliderConstraintDemo);
|
|
|
|
}
|
|
|
|
|