1 #ifndef REND_CUBEMAP_H_
2 #define REND_CUBEMAP_H_
7 class RendCubemap : public Renderer {
11 mutable unsigned int fbo, zbuf;
12 mutable int zbuf_width, zbuf_height;
15 void setup(int face_idx) const;
20 void set_position(const Vec3 &pos);
21 void set_cubemap(Texture *cubemap);
24 void draw_object(Object *obj) const;
27 #endif // REND_CUBEMAP_H_