diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-01 04:58:53 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-01 04:58:53 +0000 |
commit | f01ded33e29e47e0d04cca3932a22bef66a37933 (patch) | |
tree | bfe710450b2bf3204a3cc8bd969d027655add723 /tests/raytracexx.cpp | |
parent | c19f7101d21353c8278dd9277dbb20a77389272d (diff) | |
download | dimension-f01ded33e29e47e0d04cca3932a22bef66a37933.tar.xz |
Make test executables end in -test.
Diffstat (limited to 'tests/raytracexx.cpp')
-rw-r--r-- | tests/raytracexx.cpp | 2 |
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 |