Caisse.h 451 B

123456789101112131415161718192021222324252627282930
  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 afficher(glm::mat4 &projection, glm::mat4 &modelview);
  14. private:
  15. Texture m_texture;
  16. float m_coordTexture[72];
  17. };
  18. #endif