X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=skybox.hpp;fp=skybox.hpp;h=f1ac4ee9a19c2ab3bab08440c496e49515855756;hp=0000000000000000000000000000000000000000;hb=c44e69ec78367fb2957324026894aef970f2481a;hpb=85f8f7278f24fe73fef1a19174376b155319072f diff --git a/skybox.hpp b/skybox.hpp new file mode 100644 index 0000000..f1ac4ee --- /dev/null +++ b/skybox.hpp @@ -0,0 +1,13 @@ +#include +#include +#include +#include +#include "program.hpp" +class Skybox { + public: + Skybox(const std::vector faces); + void draw(glm::mat4 proj, glm::mat4 view) const; + private: + GLuint texId, vao; + const Program program; +};