|
| static float | Distance (const Vector2f &a, const Vector2f &b) |
| |
| static float | Clamp (const float x, const float min, const float max) |
| |
| static float | Magnitude (const Vector2f &v) |
| |
| static Vector2f | Normalize (const Vector2f &v) |
| |
| static Vector2f | Lerp (const Vector2f &start, const Vector2f &end, float percent) |
| |
| static Vector2f | ForwardVector (float degrees) |
| |
| static int | RectNearRect (const Rectf &a, const Rectf &b, int tolerance=0) |
| |
| static bool | CheckCollision (const Rectf &a, const Rectf &b) |
| |
| static bool | CheckCollision (const Vector2f &p, const Rectf &r) |
| |
| static Vector2f | ToSceneSpace (const std::weak_ptr< Camera > cam, const Vector2f &v) |
| |
| static Rectf | ToSceneSpace (const std::weak_ptr< Camera > cam, const Rectf &r) |
| |
| static Vector2f | FromSceneSpace (const std::weak_ptr< Camera > cam, const Vector2f &v) |
| |
| static Rectf | FromSceneSpace (const std::weak_ptr< Camera > cam, const Rectf &r) |
| |
A math utility function class.
A math utility function class