diff --git a/glm/core/func_common.inl b/glm/core/func_common.inl index 8ab0aadc..10f2a4e2 100644 --- a/glm/core/func_common.inl +++ b/glm/core/func_common.inl @@ -26,6 +26,7 @@ /// @author Christophe Riccio /////////////////////////////////////////////////////////////////////////////////// +#include "func_vector_relational.hpp" #include "type_vec2.hpp" #include "type_vec3.hpp" #include "type_vec4.hpp" diff --git a/glm/core/func_geometric.inl b/glm/core/func_geometric.inl index 2832e7c8..b082dc2d 100644 --- a/glm/core/func_geometric.inl +++ b/glm/core/func_geometric.inl @@ -26,6 +26,7 @@ /// @author Christophe Riccio /////////////////////////////////////////////////////////////////////////////////// +#include "func_common.hpp" #include "type_vec2.hpp" #include "type_vec4.hpp" #include "type_float.hpp" @@ -308,7 +309,7 @@ namespace glm if(k < T(0)) return vecType(0); else - return eta * I - (eta * dotValue + sqrt(k)) * N; + return eta * I - (eta * dotValue + std::sqrt(k)) * N; } }//namespace glm diff --git a/test/core/core_setup_message.cpp b/test/core/core_setup_message.cpp index 12b1bfc9..20fe8dfe 100644 --- a/test/core/core_setup_message.cpp +++ b/test/core/core_setup_message.cpp @@ -36,9 +36,6 @@ int test_compiler() case GLM_COMPILER_VC12: std::cout << "GLM_COMPILER_VC12" << std::endl; break; - case GLM_COMPILER_VC2013: - std::cout << "GLM_COMPILER_VC2013" << std::endl; - break; default: std::cout << "Visual C++ version not detected" << std::endl; Error += 1;