Closed jcmoyer closed 10 years ago
IMPORTANT: #10 should be addressed before work begins on this issue.
List of proposed features:
contains
rectangle
inflate
intersect
offset
union
__tostring
__eq
The listed features are all implemented and in master now.
IMPORTANT: #10 should be addressed before work begins on this issue.
List of proposed features:
contains
for otherrectangle
tablesinflate
to make the rectangle larger by expanding from the centerintersect
to compute the rectangle formed by the intersection of two rectanglesoffset
to move the rectangle by some vectorunion
to compute the rectangle that bounds two smaller rectangles__tostring
,__eq