1
0
Fork 0

Spectre/Math: rename all vector length() and normalize() functions to len() and normal()

This commit is contained in:
Henrik Hautakoski 2023-04-30 23:07:25 +02:00
parent 4a6a20342d
commit 43354fc9b4
7 changed files with 17 additions and 17 deletions

View file

@ -30,9 +30,9 @@ struct Vector2
// Named operations.
// -----------------
inline float length() const;
inline float len() const;
inline Vector2<T>& normalize();
inline Vector2<T>& normal();
// Dot product
inline T dot(const Vector2<T>& vec) const;