added RectI::overlap_rect

This commit is contained in:
Noel Berry
2021-04-03 22:24:51 -07:00
parent 14a53c0f3a
commit aa6efb23b1
2 changed files with 22 additions and 0 deletions

View File

@ -31,6 +31,8 @@ namespace Blah
Point bottom_right() const;
bool overlaps(const RectI& other) const;
RectI overlap_rect(const Rect& against) const;
bool contains(const Point& pt) const;
bool contains(const Vec2& pt) const;