started the renderer abstraction and the cubemap renderer
[laserbrain_demo] / src / 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_