updated GimpactTestDemo into AllBulletDemos

This commit is contained in:
ejcoumans
2007-10-24 02:00:27 +00:00
parent d10eac87c6
commit 5e343b54b2
6 changed files with 23 additions and 25 deletions

View File

@@ -16,6 +16,8 @@ subject to the following restrictions:
#define TEST_CONCAVE_DEMO_H
#include "DemoApplication.h"
class btTriangleIndexVertexArray;
class btDefaultCollisionConfiguration;
//#define BULLET_TRIANGLE_COLLISION 1
#define BULLET_GIMPACT 1
@@ -126,6 +128,14 @@ public: ///data
btCollisionDispatcher* m_dispatcher;
btBroadphaseInterface* m_broadphase;
btConstraintSolver* m_constraintSolver;
static DemoApplication* Create()
{
GimpactConcaveDemo* demo = new GimpactConcaveDemo();
demo->myinit();
demo->initPhysics();
return demo;
}
};
#endif //CONCAVE_DEMO_H