mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
20 lines
454 B
C++
20 lines
454 B
C++
|
|
||
|
#include "CollisionInterfaceDemo.h"
|
||
|
#include "GlutStuff.h"
|
||
|
#include "btBulletDynamicsCommon.h"
|
||
|
|
||
|
int screenWidth = 640;
|
||
|
int screenHeight = 480;
|
||
|
|
||
|
|
||
|
int main(int argc,char** argv)
|
||
|
{
|
||
|
CollisionInterfaceDemo* collisionInterfaceDemo = new CollisionInterfaceDemo();
|
||
|
|
||
|
collisionInterfaceDemo->initPhysics();
|
||
|
|
||
|
collisionInterfaceDemo->clientResetScene();
|
||
|
|
||
|
return glutmain(argc, argv,screenWidth,screenHeight,"Collision Interface Demo",collisionInterfaceDemo);
|
||
|
}
|