Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

38 rindas
636 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. #pragma once
  11. //
  12. // The Primitive class
  13. // -------------------
  14. //
  15. #include "mesh/mesh.h"
  16. namespace lol
  17. {
  18. class Primitive
  19. {
  20. friend class Scene;
  21. public:
  22. Primitive(SubMesh *submesh, mat4 const &matrix);
  23. ~Primitive();
  24. private:
  25. SubMesh *m_submesh;
  26. mat4 m_matrix;
  27. };
  28. } /* namespace lol */