Files
bullet3/Demos3/bullet2/RagdollDemo/RagdollDemo.h
Erwin Coumans 07e2dcc749 minor cleanup of btgui/demo3 stuff, much more demo cleanup is needed
moved some files in btgui/Bullet3AppSupport
2014-09-16 12:08:24 -07:00

28 lines
510 B
C++

#ifndef RAGDOLL_DEMO_H
#define RAGDOLL_DEMO_H
#include "Bullet3AppSupport/CommonRigidBodySetup.h"
#include "../BasicDemo/BasicDemo.h"
struct BulletDemoInterface;
struct SimpleOpenGL3App;
class RagDollSetup : public CommonRigidBodySetup
{
public:
static BulletDemoInterface* MyCreateFunc(SimpleOpenGL3App* app)
{
CommonPhysicsSetup* physicsSetup = new RagDollSetup();
return new BasicDemo(app, physicsSetup);
}
void initPhysics(GraphicsPhysicsBridge& gfxBridge);
};
#endif //RAGDOLL_DEMO_H