Caisse.h 430 B

1234567891011121314151617181920212223242526272829303132
  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 texture);
  12. ~Caisse();
  13. void charger();
  14. void afficher(glm::mat4 pmv, Shader const &shad);
  15. private:
  16. Texture m_texture;
  17. float m_coordTexture[72];
  18. int m_tailleCoordTextureBytes;
  19. };
  20. #endif