projects
/
opengl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
759ce7a2f484886a8302c446252eb9c83f4f7de5
[opengl.git]
/
skybox.hpp
1
#ifndef SKYBOX_HPP
2
#define SKYBOX_HPP
3
4
#include <string>
5
#include <vector>
6
#include <GL/glew.h>
7
#include <glm/glm.hpp>
8
#include "program.hpp"
9
class Skybox {
10
public:
11
Skybox(const std::vector<std::string> faces);
12
void draw(glm::mat4 proj, glm::mat4 view) const;
13
GLuint getTexture() const;
14
private:
15
GLuint texId, vao;
16
const Program program;
17
};
18
19
#endif