Public Member Functions | |
Vector2 (float x, float y) | |
float | length () const |
Vector2 & | operator= (const Vector2 &other) |
Vector2 | operator+ (const Vector2 &other) const |
Vector2 | operator- (const Vector2 &other) const |
Vector2 | operator* (const float scalar) const |
Vector2 & | operator+= (const Vector2 &other) |
Public Attributes | |
float | x |
float | y |