125 typedef Vector2D<float> Vector2Df;
134 template<
typename T> Vector2D<T>
operator+(
const Vector2D<T> &vectorA,
const Vector2D<T> &vectorB);
143 template<
typename T> Vector2D<T>
operator-(
const Vector2D<T> &vectorA,
const Vector2D<T> &vectorB);
153 template<
typename T> Vector2D<T>
operator-(
const Vector2D<T> &vectorA);
163 template<
typename T> Vector2D<T>
operator/(
const Vector2D<T> &vector,
float coeff);
173 template<
typename T> Vector2D<T>
operator*(
const Vector2D<T> &vector,
float coeff);
183 template<
typename T> Vector2D<T>
operator*(
float coeff,
const Vector2D<T> &vector);
namespace of the flair Framework
Definition: Ahrs.h:19
void RotateDeg(float value)
Rotation.
void Normalize(void)
Normalize.
Class defining a 2D vector.
Definition: Vector2D.h:24
T x
x
Definition: Vector2D.h:109
void Rotate(float value)
Rotation.
float GetNorm(void) const
Norm.
T y
y
Definition: Vector2D.h:114
void Saturate(Vector2D< T > min, Vector2D< T > max)
Saturate.
Vector2D< T > operator/(const Vector2D< T > &vector, float coeff)
Divid.
Quaternion operator*(Quaternion const &quaternionA, Quaternion const &quaterniontB)
Multiply.
Quaternion operator-(Quaternion const &quaternionA, Quaternion const &quaterniontB)
Substract.
Vector2D(T x=0, T y=0)
Constructor.
Quaternion operator+(Quaternion const &quaterniontA, Quaternion const &quaterniontB)
Add.