diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-16 21:31:59 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-16 21:31:59 +0000 |
commit | cf3d6906df7ffb4efa5398832e44ab31fe3b2721 (patch) | |
tree | 0ed55ed0a315a27ccb42d3953ceaa9b02a868abd /tests/testsxx.cpp | |
parent | bbe317fb2bde1b2b88df66e5426c9ee78e40a0b6 (diff) | |
download | dimension-cf3d6906df7ffb4efa5398832e44ab31fe3b2721.tar.xz |
Don't take a transformation matrix in dmnsn_new_perspective_camera().
Diffstat (limited to 'tests/testsxx.cpp')
-rw-r--r-- | tests/testsxx.cpp | 3 |
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( |