diff --git a/tests/math/test_Quaternion.cpp b/tests/math/test_Quaternion.cpp index 760d815..f527824 100644 --- a/tests/math/test_Quaternion.cpp +++ b/tests/math/test_Quaternion.cpp @@ -187,7 +187,7 @@ template inline void test_slerp() { typename T::Scalar two = 2; - REQUIRE(CmpT(slerp(.5f, T(1, 0, 0, 0), T(0, 1, 0, 0)), T(rsqrt(two), rsqrt(two), 0, 0))); + REQUIRE(CmpT(slerp(.5f, T(1, 0, 0, 0), T(0, 1, 0, 0)), T(rkcommon::math::rsqrt(two), rkcommon::math::rsqrt(two), 0, 0))); } TEST_CASE("Quaternion functions", "[quat]") diff --git a/tests/math/test_rkmath.cpp b/tests/math/test_rkmath.cpp index 7f66532..fd18df4 100644 --- a/tests/math/test_rkmath.cpp +++ b/tests/math/test_rkmath.cpp @@ -49,8 +49,8 @@ TEST_CASE("rkmath rcp_safe function", "[rkmath]") template inline void test_rsqrt() { - REQUIRE(CmpT(rsqrt(T(1)), T(1))); - REQUIRE(CmpT(rsqrt(T(4)), T(.5))); + REQUIRE(CmpT(rkcommon::math::rsqrt(T(1)), T(1))); + REQUIRE(CmpT(rkcommon::math::rsqrt(T(4)), T(.5))); } TEST_CASE("rkmath rsqrt function", "[rkmath]")