summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/variant/rect2.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/godot_cpp/variant/rect2.hpp')
-rw-r--r--include/godot_cpp/variant/rect2.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/variant/rect2.hpp b/include/godot_cpp/variant/rect2.hpp
index e643035..31c81aa 100644
--- a/include/godot_cpp/variant/rect2.hpp
+++ b/include/godot_cpp/variant/rect2.hpp
@@ -146,7 +146,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;