rayzor

view src/renderer.h @ 17:79609d482762

the renderer renders, also fixed an unnoticed matrix conversion problem between scenegraph and min3d
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 14 Apr 2014 07:34:45 +0300
parents be616b58df99
children
line source
1 #ifndef RENDERER_H_
2 #define RENDERER_H_
4 #include "screen.h"
6 struct RendererImpl;
8 class Renderer : public Screen {
9 private:
10 RendererImpl *rend;
12 public:
13 Renderer();
15 bool init();
16 void shutdown();
18 void draw() const;
20 void handle_keyboard(int key, bool press);
22 void message(MsgAtom msg, ...);
23 };
25 #endif // RENDERER_H_