Merge branch 'EmmeKappaErre-FixMinorBug'

This commit is contained in:
Daniel Chappuis 2018-08-15 10:23:52 +02:00
commit 83e164743b

View File

@ -188,7 +188,7 @@ inline void Vector2::setAllValues(decimal newX, decimal newY) {
// Return the length of the vector // Return the length of the vector
inline decimal Vector2::length() const { inline decimal Vector2::length() const {
return sqrt(x*x + y*y); return std::sqrt(x*x + y*y);
} }
// Return the square of the length of the vector // Return the square of the length of the vector