![]() |
Angel
A 2D Game Prototyping Engine
|
Public Member Functions | |
| BoundingBox (const Vector2 &min, const Vector2 &max) | |
| Vector2 | Centroid () const |
| Vector2 | HalfLength () const |
| void | GetCorners (Vector2 corners[]) const |
| bool | Intersects (const BoundingBox &box) const |
| bool | Intersects (const Ray2 &ray, float &distanceAlongRay) const |
| bool | Intersects (const Vector2 &point, float radius) const |
| ContainmentType | Contains (const BoundingBox &box) const |
| bool | Contains (const Vector2 &point) const |
| void | RenderOutline () const |
| void | RenderBox () const |
Static Public Member Functions | |
| static BoundingBox | CreateMerged (const BoundingBox &original, const BoundingBox &additional) |
| static BoundingBox | CreateFromPoints (Vector2 points[], int count) |
Public Attributes | |
| Vector2 | Min |
| Vector2 | Max |
Definition at line 43 of file BoundingShapes.h.


1.7.5.1