summaryrefslogtreecommitdiff
path: root/core/math/rect2i.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/rect2i.h')
-rw-r--r--core/math/rect2i.h2
1 files changed, 1 insertions, 1 deletions
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;