#ifndef DEF_SOL #define DEF_SOL // Includes OpenGL #ifdef WIN32 #include #else #define GL3_PROTOTYPES 1 #include #endif // Includes GLM #include #define GLM_ENABLE_EXPERIMENTAL #include #include // Autres includes #include "Shader.h" #include "Texture.h" // Classe Sol class Sol { public: Sol(float longueur, float largeur, int repetitionLongueur, int repetitionLargeur, std::string const vertexShader, std::string const fragmentShader, std::string const texture); ~Sol(); void afficher(glm::mat4 &projection, glm::mat4 &modelview); private: Shader m_shader; Texture m_texture; float m_vertices[18]; float m_coordTexture[12]; }; #endif