mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-05 15:21:06 +00:00
01d14f538a
re-enable an OpenCL/gpu rigid body example (box-box stack)
28 lines
434 B
C++
28 lines
434 B
C++
#ifndef GPU_SPHERE_SCENE_H
|
|
#define GPU_SPHERE_SCENE_H
|
|
|
|
#include "GpuRigidBodyDemo.h"
|
|
|
|
class GpuSphereScene : public GpuRigidBodyDemo
|
|
{
|
|
public:
|
|
|
|
GpuSphereScene(){}
|
|
virtual ~GpuSphereScene(){}
|
|
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
|