projects
/
opengl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Skybox
[opengl.git]
/
skybox.hpp
1
#include <string>
2
#include <vector>
3
#include <GL/glew.h>
4
#include <glm/glm.hpp>
5
#include "program.hpp"
6
class Skybox {
7
public:
8
Skybox(const std::vector<std::string> faces);
9
void draw(glm::mat4 proj, glm::mat4 view) const;
10
private:
11
GLuint texId, vao;
12
const Program program;
13
};