Merge pull request #44149 from madmiraal/rename-tangent-orthogonal
Rename Vector2.tangent() to Vector2.orthogonal()
This commit is contained in:
commit
058f3fe069
21 changed files with 42 additions and 42 deletions
|
|
@ -134,7 +134,7 @@ struct Vector2 {
|
|||
}
|
||||
|
||||
Vector2 rotated(real_t p_by) const;
|
||||
Vector2 tangent() const {
|
||||
Vector2 orthogonal() const {
|
||||
return Vector2(y, -x);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue