summaryrefslogtreecommitdiffstats
path: root/tests/testsxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsxx.cpp')
-rw-r--r--tests/testsxx.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testsxx.cpp b/tests/testsxx.cpp
index a8fa762..fa8c2f0 100644
--- a/tests/testsxx.cpp
+++ b/tests/testsxx.cpp
@@ -30,7 +30,8 @@ namespace Dimension
Canvas canvas(768, 480);
// Camera
- Perspective_Camera camera(
+ Perspective_Camera camera;
+ camera.trans(
Matrix::rotation(Vector(0.0, 1.0, 0.0))
* Matrix::translation(Vector(0.0, 0.0, -4.0))
* Matrix::scale(