From cf3d6906df7ffb4efa5398832e44ab31fe3b2721 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 16 Jul 2009 21:31:59 +0000 Subject: Don't take a transformation matrix in dmnsn_new_perspective_camera(). --- tests/testsxx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/testsxx.cpp') 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( -- cgit v1.2.3