Browse Source

Math: this shouldn't have been here.

Fixes test failures on *all* platforms. Ha!
pull/166/head
Vladimír Vondruš 10 years ago
parent
commit
288a1f265c
  1. 1
      src/Magnum/Math/Test/Matrix4Test.cpp

1
src/Magnum/Math/Test/Matrix4Test.cpp

@ -562,7 +562,6 @@ void Matrix4Test::transformProjection() {
Matrix4 a = Matrix4::perspectiveProjection({2.0f, 2.0f}, 1.0f, 100.0f);
Vector3 v{0.0f, 0.0f, -100.0f};
CORRADE_COMPARE(a.transformVector(v), Vector3(0.0f, 0.0f, 0.0f));
CORRADE_COMPARE(a.transformPoint(v), Vector3(0.0f, 0.0f, 1.0f));
}

Loading…
Cancel
Save