您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

BtPhysTest.h 1.0 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // BtPhysTest
  3. //
  4. // Copyright: (c) 2009-2013 Benjamin "Touky" Huet <huet.benjamin@gmail.com>
  5. // (c) 2012 Sam Hocevar <sam@hocevar.net>
  6. //
  7. #if !defined __BTPHYSTEST_H__
  8. #define __BTPHYSTEST_H__
  9. class BtPhysTest : public WorldEntity
  10. {
  11. public:
  12. BtPhysTest(bool editor = false);
  13. virtual ~BtPhysTest();
  14. char const *GetName() { return "<BtPhysTest>"; }
  15. protected:
  16. virtual void TickGame(float seconds);
  17. virtual void TickDraw(float seconds);
  18. private:
  19. Camera* m_camera;
  20. Light * m_light1;
  21. Light * m_light2;
  22. bool m_ready;
  23. lol::phys::Simulation* m_simulation;
  24. Array<EasyConstraint*> m_constraint_list;
  25. Array<PhysicsObject*> m_physobj_list;
  26. Array<PhysicsObject*> m_ground_list;
  27. Array<PhysicsObject*> m_platform_list;
  28. Array<PhysicsObject*> m_character_list;
  29. Array<PhysicsObject*> m_stairs_list;
  30. float m_loop_value;
  31. };
  32. #endif // __BTPHYSTEST_H__