mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-17 06:51:05 +00:00
32 lines
522 B
C++
32 lines
522 B
C++
#ifndef BULLET2_GPU_DEMO_H
|
|
#define BULLET2_GPU_DEMO_H
|
|
|
|
#include "GpuRigidBodyDemo.h"
|
|
|
|
class Bullet2GpuDemo : public GpuRigidBodyDemo
|
|
{
|
|
protected:
|
|
|
|
class b3GpuDynamicsWorld* 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
|
|
|