diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-28 13:38:01 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-28 13:38:01 +0100 |
commit | 491ded18983a4ae963ce9c29e8df5d5680873ccb (patch) | |
tree | bee3b564700934929e13c9d254bf41e5c5b7e0f8 /core/math | |
parent | 0bc36c8954328a36295d50dc5f7722c9463f6f5c (diff) |
Minor typo and docs URL fixes
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/rect2.h | 2 | ||||
-rw-r--r-- | core/math/rect2i.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/math/rect2.h b/core/math/rect2.h index 5ae88ae166..6ccb76cd10 100644 --- a/core/math/rect2.h +++ b/core/math/rect2.h @@ -144,7 +144,7 @@ struct _NO_DISCARD_ Rect2 { return size.x > 0.0f && size.y > 0.0f; } - // Returns the instersection between two Rect2s or an empty Rect2 if there is no intersection + // Returns the intersection between two Rect2s or an empty Rect2 if there is no intersection. inline Rect2 intersection(const Rect2 &p_rect) const { Rect2 new_rect = p_rect; diff --git a/core/math/rect2i.h b/core/math/rect2i.h index 0529e9c867..205b2c7198 100644 --- a/core/math/rect2i.h +++ b/core/math/rect2i.h @@ -87,7 +87,7 @@ struct _NO_DISCARD_ Rect2i { return size.x > 0 && size.y > 0; } - // Returns the instersection between two Rect2is or an empty Rect2i if there is no intersection + // Returns the intersection between two Rect2is or an empty Rect2i if there is no intersection. inline Rect2i intersection(const Rect2i &p_rect) const { Rect2i new_rect = p_rect; |