clray
view src/rt.h @ 35:7d77ded5f890
stopped using a heap to flatten the kdtree. added explicit left/right indices
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 26 Aug 2010 20:24:07 +0100 |
parents | 6c44e4b1726d |
children | 980bc07be868 |
line source
1 #ifndef RT_H_
2 #define RT_H_
4 #include "scene.h"
6 bool init_renderer(int xsz, int ysz, Scene *scn);
7 void destroy_renderer();
8 bool render();
9 void set_xform(float *matrix, float *invtrans);
11 void dbg_render_gl(Scene *scn, bool show_tree = false, bool show_obj = true);
13 #endif /* RT_H_ */