Night Byte
|
#include <Vector2.hpp>
Public Member Functions | |
Vector2 (float x, float y) | |
Vector2 | operator+ (const Vector2 &other) const |
Vector2 | operator- (const Vector2 &other) const |
Vector2 | operator* (float scale) const |
Vector2 | operator* (const Vector2 &other) |
bool | operator== (const Vector2 &other) |
bool | operator< (const Vector2 &other) const |
Public Attributes | |
float | x = 0 |
float | y = 0 |
Helper class that holds a x and y float value, useful for 2d positions and forces.