diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-06 18:16:06 +0000 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-06 18:16:06 +0000 |
commit | a24c38d1a814f5bc4979b99d6652f4bf2f2982c7 (patch) | |
tree | 3635c158604917758f663f14f2220ef1a19dfcbb /core/math/rect2.h | |
parent | d834789f475d431b10dcaef8804cd75dcd8b47dd (diff) | |
download | redot-engine-a24c38d1a814f5bc4979b99d6652f4bf2f2982c7.tar.gz |
Rename Vector2.tangent() to Vector2.orthogonal()
Diffstat (limited to 'core/math/rect2.h')
-rw-r--r-- | core/math/rect2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/rect2.h b/core/math/rect2.h index b1fe865ba5..ca8993d969 100644 --- a/core/math/rect2.h +++ b/core/math/rect2.h @@ -272,7 +272,7 @@ struct Rect2 { } //check inside - Vector2 tg = r.tangent(); + Vector2 tg = r.orthogonal(); float s = tg.dot(center) - tg.dot(a); if (s < 0.0) { side_plus++; |