#pragma once #include #include #include #ifdef __APPLE__ #include #else #define GLFW_INCLUDE_NONE #include #endif namespace renderer { class Skybox { public: Skybox(); ~Skybox(); bool loadFromDirectory( const std::string& dirPath ); void draw( const glm::mat4& view, const glm::mat4& proj ); private: bool loadFaces( const std::vector& faces ); void initMesh(); GLuint mTexID; GLuint mVAO; GLuint mVBO; bool mInitialized; }; } // namespace renderer