X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=skybox.hpp;h=0b523758a89f2c0d755e848975eb53f35c793c3f;hp=759ce7a2f484886a8302c446252eb9c83f4f7de5;hb=a03f2bc751bbd7f91cbc2f52d2f0f6e753d6f776;hpb=210d1b08cec40845d849e89baea8a9cc96917f60 diff --git a/skybox.hpp b/skybox.hpp index 759ce7a..0b52375 100644 --- a/skybox.hpp +++ b/skybox.hpp @@ -6,9 +6,11 @@ #include #include #include "program.hpp" +#include "image.hpp" class Skybox { public: - Skybox(const std::vector faces); + // img must be HDR + Skybox(const Image img); void draw(glm::mat4 proj, glm::mat4 view) const; GLuint getTexture() const; private: