51 righe
763 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2012 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://sam.zoy.org/projects/COPYING.WTFPL for more details.
  9. //
  10. #if defined HAVE_CONFIG_H
  11. # include "config.h"
  12. #endif
  13. #include <cstring>
  14. #include <cstdlib>
  15. #include "core.h"
  16. namespace lol
  17. {
  18. Mesh::Mesh()
  19. {
  20. }
  21. Mesh::~Mesh()
  22. {
  23. }
  24. void Mesh::Render(mat4 const &model)
  25. {
  26. for (int i = 0; i < m_submeshes.Count(); ++i)
  27. m_submeshes[i]->Render(model);
  28. }
  29. SubMesh::SubMesh()
  30. {
  31. }
  32. SubMesh::~SubMesh()
  33. {
  34. }
  35. void SubMesh::Render(mat4 const &model)
  36. {
  37. }
  38. } /* namespace lol */