18#ifndef INCLUDED_QUATERNION
19#define INCLUDED_QUATERNION
Definition: Matrix3D.h:34
Definition: Quaternion.h:26
void FromEulerAngles(float x, float y, float z)
Definition: Quaternion.cpp:98
void Normalize()
Definition: Quaternion.cpp:290
float Dot(const CQuaternion &quat) const
Definition: Quaternion.cpp:89
void ToAxisAngle(CVector3D &axis, float &angle)
Definition: Quaternion.cpp:275
CQuaternion & operator+=(const CQuaternion &quat)
Definition: Quaternion.cpp:46
CQuaternion GetInverse() const
Definition: Quaternion.cpp:310
CVector3D m_V
Definition: Quaternion.h:28
CVector3D Rotate(const CVector3D &vec) const
Definition: Quaternion.cpp:302
float m_W
Definition: Quaternion.h:29
void Nlerp(const CQuaternion &from, const CQuaternion &to, float ratio)
Definition: Quaternion.cpp:250
CVector3D ToEulerAngles()
Definition: Quaternion.cpp:124
void Slerp(const CQuaternion &from, const CQuaternion &to, float ratio)
Definition: Quaternion.cpp:200
CQuaternion operator+(const CQuaternion &quat) const
Definition: Quaternion.cpp:38
CMatrix3D ToMatrix() const
Definition: Quaternion.cpp:154
CQuaternion & operator*=(const CQuaternion &quat)
Definition: Quaternion.cpp:74
CQuaternion operator*(const CQuaternion &quat) const
Definition: Quaternion.cpp:66
CQuaternion & operator-=(const CQuaternion &quat)
Definition: Quaternion.cpp:60
void FromAxisAngle(const CVector3D &axis, float angle)
Definition: Quaternion.cpp:262
CQuaternion operator-(const CQuaternion &quat) const
Definition: Quaternion.cpp:52
CQuaternion()
Definition: Quaternion.cpp:28
Definition: Vector3D.h:31
Definition: mongoose.cpp:428