#ifndef DEF_SCENEOPENGL #define DEF_SCENEOPENGL // Includes #ifdef WIN32 #include #else #define GL3_PROTOTYPES 1 #include #endif // Includes GLM #include #include #include // Autres includes #include #include #include #include "Shader.h" #include "Cube.h" #include "Input.h" #include "Texture.h" #include "Caisse.h" #include "Camera.h" #include "Cabane.h" #include "Sol.h" #include "Cristal.h" // Classe class SceneOpenGL { public: SceneOpenGL(std::string titreFenetre, int largeurFenetre, int hauteurFenetre); ~SceneOpenGL(); bool initialiserFenetre(); bool initGL(); void bouclePrincipale(); private: std::string m_titreFenetre; int m_largeurFenetre; int m_hauteurFenetre; SDL_Window* m_fenetre; SDL_GLContext m_contexteOpenGL; SDL_Event m_evenements; Input m_input; }; #endif