static const Vector2D Zero
static const Vector2D One
static const Vector2D UnitX
static const Vector2D UnitY
float Length() const
Returns the length of the vector.
inline void Normalize()
Returns the vector normalized.
friend Vector2D Normalize(Vector2D temp)
Returns the vector normalized.
friend float Dot(Vector2D& left, Vector2D& right)
Returns the dot product of 2 vectors.
inline void Clamp(Vector2D& min, Vector2D& max)
Clamps the vector between a min and a max.
inline void Clamp(Vector2D& temp, Vector2D& min, Vector2D& max)
Clamps the vector between a min and a max.
inline float Distance(Vector2D& vec)
Returns the distance between 2 vectors.
inline bool Equals(Vector2D& right, float acceptance)
Returns if 2 vectors are equals, within an acceptance radius.
inline std::string ToString()
Returns the vector into a string to print it for debug
It tooks the form : (x, y)