projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PBR checkpoint
[opengl.git]
/
skybox.hpp
diff --git
a/skybox.hpp
b/skybox.hpp
index 759ce7a2f484886a8302c446252eb9c83f4f7de5..0b523758a89f2c0d755e848975eb53f35c793c3f 100644
(file)
--- a/
skybox.hpp
+++ b/
skybox.hpp
@@
-6,9
+6,11
@@
#include <GL/glew.h>
#include <glm/glm.hpp>
#include "program.hpp"
#include <GL/glew.h>
#include <glm/glm.hpp>
#include "program.hpp"
+#include "image.hpp"
class Skybox {
public:
class Skybox {
public:
- Skybox(const std::vector<std::string> faces);
+ // img must be HDR
+ Skybox(const Image img);
void draw(glm::mat4 proj, glm::mat4 view) const;
GLuint getTexture() const;
private:
void draw(glm::mat4 proj, glm::mat4 view) const;
GLuint getTexture() const;
private: