bloboland

view src/renderer.h @ 2:1757973feaed

added stereoscopic rendering for no apparent reason
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 16 Dec 2012 00:37:35 +0200
parents
children a39c301cdcce
line source
1 #ifndef RENDERER_H_
2 #define RENDERER_H_
4 #include "shaders.h"
5 #include "texture.h"
6 #include "level.h"
8 class Renderer {
9 private:
10 mutable Texture3D *leveltex;
11 SdrProg *sdrprog;
13 public:
14 Renderer();
15 ~Renderer();
17 bool init();
18 void shutdown();
20 void render(const Level *lvl) const;
21 };
23 #endif // RENDERER_H_