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.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/godot_cpp/variant/rect2.hpp b/include/godot_cpp/variant/rect2.hpp
index cfd24b2..c37134d 100644
--- a/include/godot_cpp/variant/rect2.hpp
+++ b/include/godot_cpp/variant/rect2.hpp
@@ -209,6 +209,7 @@ struct _NO_DISCARD_ Rect2 {
}
bool is_equal_approx(const Rect2 &p_rect) const;
+ bool is_finite() const;
bool operator==(const Rect2 &p_rect) const { return position == p_rect.position && size == p_rect.size; }
bool operator!=(const Rect2 &p_rect) const { return position != p_rect.position || size != p_rect.size; }