mirror planes detection needs work
[laserbrain_demo] / src / renderer.h
1 #ifndef RENDERER_H_
2 #define RENDERER_H_
3
4 #include "metascene.h"
5
6 enum {
7         RENDER_MIRRORS  = 1,
8
9         RENDER_ALL              = 0x7fffffff
10 };
11
12 class Renderer {
13 private:
14         MetaScene *mscn;
15
16 public:
17         unsigned int ropt;
18
19         Renderer();
20         virtual ~Renderer();
21
22         virtual bool init();
23         virtual void destroy();
24
25         virtual void set_scene(MetaScene *mscn);
26         virtual MetaScene *get_scene() const;
27
28         virtual void draw() const;
29         virtual void draw_object(Object *obj) const;
30
31         virtual void draw_mirror(FlatMirror *mir) const;
32 };
33
34 #endif  // RENDERER_H_