From 81806bf47c2bfe22dcd0108c280bf1bc775dd917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Sun, 15 Sep 2013 14:07:22 +0000 Subject: [PATCH] testsuite : fixed camera.cpp build --- test/unit/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/camera.cpp b/test/unit/camera.cpp index 24f9e28f..aba8ab9c 100644 --- a/test/unit/camera.cpp +++ b/test/unit/camera.cpp @@ -177,7 +177,7 @@ LOLUNIT_FIXTURE(CameraTest) LOLUNIT_ASSERT(is_shifted == tc.IsShifted()); is_shifted = true; - refmx = mat4::shifted_perspective(fov, screen_size, screen_ratio, far - near); + refmx = mat4::shifted_perspective(fov, screen_size, screen_ratio, near, far); tc.UseShift(is_shifted); TEST_MATRIX(refmx, tc.GetProjection());