You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 regels
806 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. #include <lol/engine-internal.h>
  11. #include <cstdlib>
  12. namespace lol
  13. {
  14. /*
  15. * Public WorldEntity class
  16. */
  17. WorldEntity::WorldEntity()
  18. {
  19. m_bbox[0] = m_bbox[1] = vec3::zero;
  20. }
  21. WorldEntity::~WorldEntity()
  22. {
  23. }
  24. char const *WorldEntity::GetName()
  25. {
  26. return "<worldentity>";
  27. }
  28. void WorldEntity::TickGame(float seconds)
  29. {
  30. Entity::TickGame(seconds);
  31. }
  32. void WorldEntity::TickDraw(float seconds, Scene &scene)
  33. {
  34. Entity::TickDraw(seconds, scene);
  35. }
  36. } /* namespace lol */