Torque3D/Engine/lib/bullet/examples/OpenCL/rigidbody/GpuSphereScene.h

26 lines
435 B
C
Raw Normal View History

2022-05-13 23:42:41 -04:00
#ifndef GPU_SPHERE_SCENE_H
#define GPU_SPHERE_SCENE_H
#include "GpuRigidBodyDemo.h"
class GpuSphereScene : public GpuRigidBodyDemo
{
public:
GpuSphereScene() {}
virtual ~GpuSphereScene() {}
2022-05-13 23:42:41 -04:00
virtual const char* getName()
{
return "BoxOnSphere";
}
static GpuDemo* MyCreateFunc()
{
GpuDemo* demo = new GpuSphereScene;
return demo;
}
virtual void setupScene(const ConstructionInfo& ci);
};
#endif //GPU_SPHERE_SCENE_H