branch | pyrit |
changeset 74 | 09aedbf5f95f |
parent 72 | 7c3f38dff082 |
child 91 | 9d66d323c354 |
73:a5127346fbcd | 74:09aedbf5f95f |
---|---|
1 #include <stdlib.h> |
1 #include <stdlib.h> |
2 |
2 |
3 #include "raytracer.h" |
3 #include "raytracer.h" |
4 #include "octree.h" |
4 #include "kdtree.h" |
5 |
5 |
6 #include "common_sdl.h" |
6 #include "common_sdl.h" |
7 |
7 |
8 int main(int argc, char **argv) |
8 int main(int argc, char **argv) |
9 { |
9 { |
10 Raytracer rt; |
10 Raytracer rt; |
11 Octree top; |
11 KdTree top; |
12 Camera cam; |
12 Camera cam; |
13 |
13 |
14 rt.setMaxDepth(3); |
14 rt.setMaxDepth(3); |
15 rt.setTop(&top); |
15 rt.setTop(&top); |
16 |
16 |