1 #ifndef GPU_SPHERE_SCENE_H 2 #define GPU_SPHERE_SCENE_H 3 4 #include "GpuRigidBodyDemo.h" 5 6 class GpuSphereScene : public GpuRigidBodyDemo 7 { 8 public: GpuSphereScene()9 GpuSphereScene() {} ~GpuSphereScene()10 virtual ~GpuSphereScene() {} getName()11 virtual const char* getName() 12 { 13 return "BoxOnSphere"; 14 } 15 MyCreateFunc()16 static GpuDemo* MyCreateFunc() 17 { 18 GpuDemo* demo = new GpuSphereScene; 19 return demo; 20 } 21 22 virtual void setupScene(const ConstructionInfo& ci); 23 }; 24 25 #endif //GPU_SPHERE_SCENE_H 26