projects
/
laserbrain_demo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
00995c7dc6a33d34bc8d18a4e17daceeb6e50a73
[laserbrain_demo]
/
rend_cubemap.h
1
#ifndef REND_CUBEMAP_H_
2
#define REND_CUBEMAP_H_
3
4
#include "renderer.h"
5
#include "texture.h"
6
7
class RendCubemap : public Renderer {
8
private:
9
Vec3 pos;
10
Texture *cubemap;
11
unsigned int fbo, zbuf;
12
13
public:
14
void set_position(const Vec3 &pos);
15
void set_cubemap(Texture *cubemap);
16
17
void draw() const;
18
};
19
20
#endif // REND_CUBEMAP_H_