branch | pyrit |
changeset 100 | c005054bf4c1 |
parent 93 | 96d65f841791 |
99:f3abdaa2e8fb | 100:c005054bf4c1 |
---|---|
1 #include "raytracer.h" |
1 #include "common_sdl.h" |
2 #include "kdtree.h" |
2 #include "kdtree.h" |
3 |
|
4 #include "common_sdl.h" |
|
5 |
3 |
6 Camera cam(Vector(0.0f,6.0f,6.0f), Vector(0.0f,2.0f,-7.0f), Vector(0.0f,0.0f,-1.0f)); |
4 Camera cam(Vector(0.0f,6.0f,6.0f), Vector(0.0f,2.0f,-7.0f), Vector(0.0f,0.0f,-1.0f)); |
7 Light light(Vector(-2.0f, 10.0f, -2.0f), Colour(0.9f, 0.9f, 0.9f)); |
5 Light light(Vector(-2.0f, 10.0f, -2.0f), Colour(0.9f, 0.9f, 0.9f)); |
8 |
6 |
9 Float lx, ly, lz, cf; |
7 Float lx, ly, lz, cf; |