X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=skybox.hpp;h=759ce7a2f484886a8302c446252eb9c83f4f7de5;hp=f1ac4ee9a19c2ab3bab08440c496e49515855756;hb=3f58e3a13899a1b28ee7be6c0bf835670957aa6a;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