Rect

Undocumented in source.

Members

Functions

add
void add(ivec2 point)

Adds a point to a rectangle. This results in the smallest rectangle that contains both the rectangle and the point.

area
int area()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(ivec2 point)
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
endPosition
ivec2 endPosition()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

position
ivec2 position;
Undocumented in source.
size
ivec2 size;
Undocumented in source.

Meta