Skybox
[opengl.git] / skybox.hpp
diff --git a/skybox.hpp b/skybox.hpp
new file mode 100644 (file)
index 0000000..f1ac4ee
--- /dev/null
@@ -0,0 +1,13 @@
+#include <string>
+#include <vector>
+#include <GL/glew.h>
+#include <glm/glm.hpp>
+#include "program.hpp"
+class Skybox {
+       public:
+               Skybox(const std::vector<std::string> faces);
+               void draw(glm::mat4 proj, glm::mat4 view) const;
+       private:
+               GLuint texId, vao;
+               const Program program;
+};