Caisse.h 502 B

12345678910111213141516171819202122232425
  1. #ifndef CAISSE_H_INCLUDED
  2. #define CAISSE_H_INCLUDED
  3. // Includes
  4. #include <iostream>
  5. #include "Cube.h"
  6. #include "Texture.h"
  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 fichierImage);
  12. ~Caisse();
  13. void afficher(glm::mat4 &projection, glm::mat4 &modelview);
  14. private:
  15. Texture m_texture;
  16. float m_coordTexture[72];
  17. };
  18. #endif // CAISSE_H_INCLUDED