Spectre/Math: rename all vector length() and normalize() functions to len() and normal()
This commit is contained in:
parent
4a6a20342d
commit
43354fc9b4
7 changed files with 17 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue