|
Vector2 | mGetClosestPointOnLine (Vector2 &a, Vector2 &b, Vector2 &point) |
| Returns a point on the given line AB that is closest to 'point'. More...
|
|
bool | mPointInRectangle (const Vector2 &point, const Vector2 &rectMin, const Vector2 &rectMax) |
| Calculate point in rectangle. More...
|
|
bool | mLineRectangleIntersect (const Vector2 &startPoint, const Vector2 &endPoint, const Vector2 &rectMin, const Vector2 &rectMax, F32 *pTime=NULL) |
| Calculate line/rectangle intersection. More...
|
|
F32 | mGetRandomF (F32 from, F32 to) |
| Random Float Range. More...
|
|
F32 | mGetRandomF (void) |
| Random Float. More...
|
|
S32 | mGetRandomI (const S32 from, const S32 to) |
| Random Integer Range. More...
|
|
S32 | mGetRandomI (void) |
| Random Integer. More...
|
|
void | mCalculateAABB (const b2Vec2 *const pAABBVertices, const b2Transform &xf, b2AABB *pAABB) |
|
void | mCalculateOOBB (const b2Vec2 *const pAABBVertices, const b2Transform &xf, b2Vec2 *pOOBBVertices) |
| Calculate an OOBB. More...
|
|
void | mCalculateInverseOOBB (const b2Vec2 *const pAABBVertices, const b2Transform &xf, b2Vec2 *pOOBBVertices) |
| Calculate an OOBB. More...
|
|
b2AABB | mRectFtoAABB (const RectF &rect) |
| Convert RectF to AABB. More...
|
|
void | mAABBtoOOBB (const b2AABB &aabb, b2Vec2 *pOOBBVertices) |
| Convert AABB to OOBB. More...
|
|
void | mOOBBtoAABB (b2Vec2 *pOOBBVertices, b2AABB &aabb) |
| Convert OOBB to AABB. More...
|
|
void | mRotateAABB (const b2AABB &aabb, const F32 &angle, b2AABB &transformedAABB) |
| Rotate an AABB. More...
|
|