Caisse.h 502 B

12345678910111213141516171819202122232425262728
  1. #ifndef DEF_CAISSE
  2. #define DEF_CAISSE
  3. // Includes
  4. #include "Cube.h"
  5. #include "Texture.h"
  6. #include <string>
  7. // Classe Caisse
  8. class Caisse : public Cube
  9. {
  10. public:
  11. Caisse(float taille, std::string const vertexShader, std::string const fragmentShader, std::string const texture);
  12. ~Caisse();
  13. void charger();
  14. void afficher(glm::mat4 &projection, glm::mat4 &modelview);
  15. private:
  16. Texture m_texture;
  17. float m_coordTexture[72];
  18. int m_tailleCoordTextureBytes;
  19. };
  20. #endif