From 5da515773d8edec988b7523ea97cdfd54c3fd16c Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Thu, 11 Aug 2022 16:12:27 +0800 Subject: Add `is_finite` method for checking built-in types --- core/math/plane.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/math/plane.h') diff --git a/core/math/plane.h b/core/math/plane.h index 73babfa496..77da59fb27 100644 --- a/core/math/plane.h +++ b/core/math/plane.h @@ -74,6 +74,7 @@ struct _NO_DISCARD_ Plane { Plane operator-() const { return Plane(-normal, -d); } bool is_equal_approx(const Plane &p_plane) const; bool is_equal_approx_any_side(const Plane &p_plane) const; + bool is_finite() const; _FORCE_INLINE_ bool operator==(const Plane &p_plane) const; _FORCE_INLINE_ bool operator!=(const Plane &p_plane) const; -- cgit v1.2.3