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
|
|
@ -42,12 +42,12 @@ void Transform::reset()
|
|||
|
||||
Vector2f Transform::getUpVector() const
|
||||
{
|
||||
return Vector2f(m_matrix.e[4], m_matrix.e[5]).normalize();
|
||||
return Vector2f(m_matrix.e[4], m_matrix.e[5]).normal();
|
||||
}
|
||||
|
||||
Vector2f Transform::getRightVector() const
|
||||
{
|
||||
return Vector2f(m_matrix.e[0], m_matrix.e[1]).normalize();
|
||||
return Vector2f(m_matrix.e[0], m_matrix.e[1]).normal();
|
||||
}
|
||||
|
||||
Transform& Transform::translate(float x, float y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue