cleanup of gpu rigid body (removed all Adl stuff)

This commit is contained in:
erwin coumans
2013-03-15 16:27:23 -07:00
parent 39dbb51f68
commit 9a7414f4e9
19 changed files with 1383 additions and 23 deletions

View File

@@ -0,0 +1,43 @@
#ifndef GPU_RIGID_BODY_DEMO_H
#define GPU_RIGID_BODY_DEMO_H
#include "../GpuDemo.h"
class GpuRigidBodyDemo : public GpuDemo
{
class GLInstancingRenderer* m_instancingRenderer;
class btgWindowInterface* m_window;
struct GpuRigidBodyDemoInternalData* m_data;
public:
GpuRigidBodyDemo();
virtual ~GpuRigidBodyDemo();
virtual void initPhysics(const ConstructionInfo& ci);
virtual void exitPhysics();
virtual const char* getName()
{
return "GRBD";
}
static GpuDemo* MyCreateFunc()
{
GpuDemo* demo = new GpuRigidBodyDemo;
return demo;
}
virtual void renderScene();
virtual void clientMoveAndDisplay();
};
#endif //GPU_RIGID_BODY_DEMO_H