Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

48 строки
896 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2013 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://www.wtfpl.net/ for more details.
  9. //
  10. //
  11. // The GraphicEntity class
  12. // -----------------------
  13. //
  14. #if !defined __LOL_WORLDENTITY_H__
  15. #define __LOL_WORLDENTITY_H__
  16. #include "entity.h"
  17. namespace lol
  18. {
  19. class WorldEntity : public Entity
  20. {
  21. public:
  22. virtual char const *GetName();
  23. public:
  24. vec3 m_position;
  25. vec3 m_velocity;
  26. quat m_rotation;
  27. vec3 m_rotation_velocity;
  28. vec3 m_bbox[2];
  29. protected:
  30. WorldEntity();
  31. virtual ~WorldEntity();
  32. virtual void TickGame(float seconds);
  33. virtual void TickDraw(float seconds);
  34. };
  35. } /* namespace lol */
  36. #endif // __LOL_WORLDENTITY_H__