Declara la API de EngineMath dentro del subsistema Utilities.
Vector2 operator+(const Vector2 &other) const
Adds another vector to this vector.
const float * data() const
Returns a pointer to the quaternion's data.
Vector2 normalize() const
Normalizes the vector.
float y
The y-coordinate of the vector.
Vector2 operator*(float scalar) const
Multiplies this vector by a scalar.
float magnitude() const
Calculates the magnitude (length) of the vector.
Vector2()
Default constructor.
float x
The x-coordinate of the vector.
Vector2 operator-(const Vector2 &other) const
Subtracts another vector from this vector.
Vector2(float x, float y)
Parameterized constructor.
float sqrt(float value)
Computes the square root using the Newton-Raphson method.