From b5d4757580fd1039d09585ec80e5c4440e6c1a75 Mon Sep 17 00:00:00 2001 From: Sergey Krivohatskiy Date: Tue, 23 Mar 2021 15:22:16 +0300 Subject: [PATCH] compilation fix Signed-off-by: Sergey Krivohatskiy --- test/gtx/gtx_matrix_interpolation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/gtx/gtx_matrix_interpolation.cpp b/test/gtx/gtx_matrix_interpolation.cpp index 4ff1de8a..108f02e9 100644 --- a/test/gtx/gtx_matrix_interpolation.cpp +++ b/test/gtx/gtx_matrix_interpolation.cpp @@ -5,6 +5,7 @@ #include #include +#include static int test_axisAngle() @@ -40,7 +41,7 @@ static int test_axisAngle() template int testForAxisAngle(glm::vec<3, T, glm::defaultp> const axisTrue, T const angleTrue) { - T const eps = sqrt(std::numeric_limits::epsilon()); + T const eps = std::sqrt(std::numeric_limits::epsilon()); glm::mat<4, 4, T, glm::defaultp> const matTrue = glm::axisAngleMatrix(axisTrue, angleTrue);