summaryrefslogtreecommitdiffstats
path: root/tests/raytracexx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/raytracexx.cpp')
-rw-r--r--tests/raytracexx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/raytracexx.cpp b/tests/raytracexx.cpp
index 2b5c4e0..0a23819 100644
--- a/tests/raytracexx.cpp
+++ b/tests/raytracexx.cpp
@@ -37,6 +37,7 @@ main() {
std::ofstream file("raytracexx.png");
PNG_Canvas canvas(768, 480, file);
+ // Camera
Perspective_Camera camera(
Matrix::rotation(Vector(0.0, 1.0, 0.0))
* Matrix::translation(Vector(0.0, 0.0, -4.0))
@@ -45,6 +46,7 @@ main() {
)
);
+ // Scene
Scene scene(background, camera, canvas);
// Objects in scene