Merge pull request #44149 from madmiraal/rename-tangent-orthogonal

Rename Vector2.tangent() to Vector2.orthogonal()
This commit is contained in:
Rémi Verschelde
2020-12-28 16:00:12 +01:00
committed by GitHub
21 changed files with 42 additions and 42 deletions

View File

@@ -134,7 +134,7 @@ struct Vector2 {
}
Vector2 rotated(real_t p_by) const;
Vector2 tangent() const {
Vector2 orthogonal() const {
return Vector2(y, -x);
}