1234567891011121314151617181920212223242526272829303132 |
- #ifndef DEF_CAISSE
- #define DEF_CAISSE
- // Includes
- #include "Cube.h"
- #include "Texture.h"
- #include <string>
- // Classe Caisse
- class Caisse : public Cube
- {
- public:
- Caisse(float taille, std::string const texture);
- ~Caisse();
- void charger();
- void afficher(glm::mat4 pmv, Shader const &shad);
- private:
- Texture m_texture;
- float m_coordTexture[72];
- int m_tailleCoordTextureBytes;
- };
- #endif
|