Public Member Functions | |
Bounds2D (Eegeo::v2 min, Eegeo::v2 max) | |
bool | intersects (const Bounds2D &bounds) const |
bool | contains (float x, float y) const |
void | Encapsulate (const Bounds2D &other) |
void | addPoint (Eegeo::v2 point) |
void | GetClockwiseVertices (v4 *pVertices) const |
Eegeo::v2 | center () const |
v2 | Size () const |
void | Translate (const v2 &translation) |
Static Public Member Functions | |
static Bounds2D | Degenerate () |
static Bounds2D | Empty () |
Public Attributes | |
Eegeo::v2 | min |
Eegeo::v2 | max |