Class Vector2
Defined in File Vector.h
Class Documentation
-
class Vector2
Represents a 2 dimensional vector.
Public Functions
-
inline Vector2(float X, float Y)
Constructs a Vector2 with the given x, y values.
- Parameters
X – float
Y – float
-
Vector2 operator+(const Vector2 &Other) const
Member by member addition with another Vector2.
- Parameters
Vector2 – Other
-
Vector2 operator-(const Vector2 &Other) const
Subtracts another Vector2 from this one.
- Parameters
Vector2 – Other
-
Vector2 operator*(const Vector2 &Other) const
Member by member multiplication with another Vector2.
- Parameters
Vector2 – Other
-
inline Vector2(float X, float Y)