ccdemos/realtime_bunny.cc
branchpyrit
changeset 85 907a634e5c02
parent 72 7c3f38dff082
child 91 9d66d323c354
equal deleted inserted replaced
84:6f7fe14782c2 85:907a634e5c02
     1 #include "raytracer.h"
     1 #include "raytracer.h"
     2 #include "octree.h"
     2 #include "kdtree.h"
     3 
     3 
     4 #include "common_sdl.h"
     4 #include "common_sdl.h"
     5 #include "common_ply.h"
     5 #include "common_ply.h"
     6 
     6 
     7 int main(int argc, char **argv)
     7 int main(int argc, char **argv)
     8 {
     8 {
     9 	Raytracer rt;
     9 	Raytracer rt;
    10 	Octree top;
    10 	KdTree top;
    11 	Camera cam;
    11 	Camera cam;
    12 
    12 
    13 	rt.setMaxDepth(0);
    13 	rt.setMaxDepth(0);
    14 	rt.setTop(&top);
    14 	rt.setTop(&top);
    15 
    15