add .bullet loader for GPU demo

This commit is contained in:
erwin coumans
2013-04-23 16:07:17 -07:00
parent 66e5dcf65a
commit f943204aa2
27 changed files with 7041 additions and 370 deletions

View File

@@ -0,0 +1,31 @@
#ifndef BULLET2_GPU_DEMO_H
#define BULLET2_GPU_DEMO_H
#include "GpuRigidBodyDemo.h"
class Bullet2GpuDemo : public GpuRigidBodyDemo
{
protected:
class btGpuDynamicsWorld* m_gpuDynamicsWorld;
public:
Bullet2GpuDemo(){}
virtual ~Bullet2GpuDemo(){}
virtual const char* getName()
{
return "Bullet2Gpu";
}
static GpuDemo* MyCreateFunc()
{
GpuDemo* demo = new Bullet2GpuDemo;
return demo;
}
virtual void setupScene(const ConstructionInfo& ci);
virtual void destroyScene();
};
#endif //BULLET2_GPU_DEMO_H