Sfoglia il codice sorgente

testsuite : fixed camera.cpp build

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 11 anni fa
parent
commit
81806bf47c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      test/unit/camera.cpp

+ 1
- 1
test/unit/camera.cpp Vedi File

@@ -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());


Caricamento…
Annulla
Salva