clray

annotate src/rt.h @ 27:8b2f2ad14ae7

semi-fixed the kdtree construction
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 17 Aug 2010 20:35:00 +0100
parents 6c44e4b1726d
children 980bc07be868
rev   line source
nuclear@3 1 #ifndef RT_H_
nuclear@3 2 #define RT_H_
nuclear@3 3
nuclear@22 4 #include "scene.h"
nuclear@13 5
nuclear@13 6 bool init_renderer(int xsz, int ysz, Scene *scn);
nuclear@3 7 void destroy_renderer();
nuclear@3 8 bool render();
nuclear@12 9 void set_xform(float *matrix, float *invtrans);
nuclear@12 10
nuclear@27 11 void dbg_render_gl(Scene *scn, bool show_tree = false, bool show_obj = true);
nuclear@3 12
nuclear@3 13 #endif /* RT_H_ */