X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=skybox.hpp;fp=skybox.hpp;h=759ce7a2f484886a8302c446252eb9c83f4f7de5;hp=f1ac4ee9a19c2ab3bab08440c496e49515855756;hb=8abaf8f77191e1c660def0832d8036a8b4639ba8;hpb=c44e69ec78367fb2957324026894aef970f2481a diff --git a/skybox.hpp b/skybox.hpp index f1ac4ee..759ce7a 100644 --- a/skybox.hpp +++ b/skybox.hpp @@ -1,3 +1,6 @@ +#ifndef SKYBOX_HPP +#define SKYBOX_HPP + #include #include #include @@ -7,7 +10,10 @@ class Skybox { public: Skybox(const std::vector faces); void draw(glm::mat4 proj, glm::mat4 view) const; + GLuint getTexture() const; private: GLuint texId, vao; const Program program; }; + +#endif