summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/variant/rect2.hpp
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2024-06-25 09:42:55 -0500
committerGitHub <noreply@github.com>2024-06-25 09:42:55 -0500
commit7d7799b56ed7dfdae1454f246a98cf35601cc053 (patch)
tree5f6385831fb7de70386c761907d9f4eb023155f6 /include/godot_cpp/variant/rect2.hpp
parent90c6ea2a126a4238d87b3f9472ca16cf84e76102 (diff)
parente0d363aad8e2204fe8ca4b6937ef2ad74a7b293b (diff)
downloadredot-cpp-7d7799b56ed7dfdae1454f246a98cf35601cc053.tar.gz
Merge pull request #1504 from Repiteo/pre-commit-hooks
Replace legacy hooks with `pre-commit` Python tool
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;