Add is_finite method for checking built-in types
This commit is contained in:
parent
18177828ad
commit
5da515773d
46 changed files with 504 additions and 12 deletions
|
|
@ -207,6 +207,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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue