From e5d8e2b42857b6a3d2b9ece21cc72793cee3e94b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Kapu=C5=9Bci=C5=84ski?= Date: Tue, 4 Jan 2022 21:45:10 +0100 Subject: [PATCH] Fixed compilation error --- src/math/func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/func.h b/src/math/func.h index d584864d..a3417330 100644 --- a/src/math/func.h +++ b/src/math/func.h @@ -270,7 +270,7 @@ inline float Bounce(float progress, float middle = 0.3f, float bounce = 0.4f) //! Convenience function for calculating angle (in radians) between two vectors inline float Angle(const glm::vec3& a, const glm::vec3& b) { - return std::acosf(glm::dot(a, b) / (glm::length(a) * glm::length(b))); + return acosf(glm::dot(a, b) / (glm::length(a) * glm::length(b))); } inline std::string ToString(const glm::vec3& vector)