X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=tst%2Fgeometry%2FIntersectionTest.cpp;h=1b618383fef1bf948d76da6b9d551056f7e3f144;hb=dcd54cacda98c2c0f7cf0c7a9131fb858d8ee10a;hp=521647e5115b9a3e23aeb168fa1fb81eb2dfb9ea;hpb=efc3c1ba52cbe0fc9a4010c37c2d7c7020a0b481;p=blank.git diff --git a/tst/geometry/IntersectionTest.cpp b/tst/geometry/IntersectionTest.cpp index 521647e..1b61838 100644 --- a/tst/geometry/IntersectionTest.cpp +++ b/tst/geometry/IntersectionTest.cpp @@ -165,7 +165,7 @@ void IntersectionTest::testBoxBoxIntersection() { ); CPPUNIT_ASSERT_EQUAL_MESSAGE( "bad intersection normal (with rotation)", - glm::vec3(1, 0, 0), abs(normal) // normal can be in + or - x, therefore abs() + glm::vec3(1, 0, 0), glm::abs(normal) // normal can be in + or - x, therefore abs() ); Mb = glm::translate(glm::vec3(3, 0, 0)); // 3 to the right