Reflection
[opengl.git] / skybox.hpp
index f1ac4ee9a19c2ab3bab08440c496e49515855756..759ce7a2f484886a8302c446252eb9c83f4f7de5 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef SKYBOX_HPP
+#define SKYBOX_HPP
+
 #include <string>
 #include <vector>
 #include <GL/glew.h>
@@ -7,7 +10,10 @@ class Skybox {
        public:
                Skybox(const std::vector<std::string> faces);
                void draw(glm::mat4 proj, glm::mat4 view) const;
+               GLuint getTexture() const;
        private:
                GLuint texId, vao;
                const Program program;
 };
+
+#endif