瀏覽代碼

testsuite : fixed camera.cpp build

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 11 年之前
父節點
當前提交
81806bf47c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      test/unit/camera.cpp

+ 1
- 1
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());


Loading…
取消
儲存