#include <vector.h>
Public Member Functions | |
Vector2D | operator- () const |
Static Public Member Functions | |
static float | distance (const Vector2D &a, const Vector2D &b) |
static float | distanceSquared (const Vector2D &a, const Vector2D &b) |
static float physics::Vector2D::distance | ( | const Vector2D & | a, | |
const Vector2D & | b | |||
) | [inline, static] |
Calculate the distance between two vectors.
static float physics::Vector2D::distanceSquared | ( | const Vector2D & | a, | |
const Vector2D & | b | |||
) | [inline, static] |
Calculate the distance squared between two vectors.
Vector2D physics::Vector2D::operator- | ( | ) | const [inline] |
Unary negation