12345678910111213141516171819202122232425262728 |
- #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 vertexShader, std::string const fragmentShader, std::string const texture);
- ~Caisse();
- void charger();
- void afficher(glm::mat4 &projection, glm::mat4 &modelview);
- private:
- Texture m_texture;
- float m_coordTexture[72];
- int m_tailleCoordTextureBytes;
- };
- #endif
|