]> git.localhorst.tv Git - blank.git/blobdiff - tst/geometry/IntersectionTest.cpp
glm backwards compatibility
[blank.git] / tst / geometry / IntersectionTest.cpp
index 521647e5115b9a3e23aeb168fa1fb81eb2dfb9ea..1b618383fef1bf948d76da6b9d551056f7e3f144 100644 (file)
@@ -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