Fixed compilation error

dev
Tomasz Kapuściński 2022-01-04 21:45:10 +01:00
parent 0bba168f94
commit e5d8e2b428
1 changed files with 1 additions and 1 deletions

View File

@ -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)