GpuSphereScene.h 434 B

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