LibGfx: Add BoundingBox::has_no_points for none vs zero-area rect
This commit is contained in:
parent
59a860249b
commit
af3c72a92a
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ public:
|
|||
constexpr T y() const { return m_min_y; }
|
||||
constexpr T width() const { return m_max_x - m_min_x; }
|
||||
constexpr T height() const { return m_max_y - m_min_y; }
|
||||
constexpr bool has_no_points() const { return m_has_no_points; }
|
||||
|
||||
void add_point(Point<T> point)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue