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