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