CSEngine
|
Public Member Functions | |
QuaternionT (T x, T y, T z, T w) | |
void | Set (T x, T y, T z, T w) |
QuaternionT< T > | Clone () const |
QuaternionT< T > | Lerp (float t, const QuaternionT< T > &q) const |
QuaternionT< T > | Slerp (float t, const QuaternionT< T > &q) const |
QuaternionT< T > | Rotated (const QuaternionT< T > &b) const |
QuaternionT< T > | Multiplied (const QuaternionT< T > &q2) const |
QuaternionT< T > | Scaled (T scale) const |
T | Dot (const QuaternionT< T > &q) const |
Matrix3< T > | ToMatrix3 () const |
Matrix4< T > | ToMatrix4 () const |
Vector4< T > | ToVector () const |
Vector3< T > | ToEulerAngle () const |
QuaternionT< T > | operator- (const QuaternionT< T > &q) const |
QuaternionT< T > | operator+ (const QuaternionT< T > &q) const |
bool | operator== (const QuaternionT< T > &q) const |
bool | operator!= (const QuaternionT< T > &q) const |
void | Normalize () |
void | Rotate (const QuaternionT< T > &q) |
void | Conjugate () |
Static Public Member Functions | |
static QuaternionT< T > | CreateFromVectors (const Vector3< T > &v0, const Vector3< T > &v1) |
static QuaternionT< T > | AngleAxis (const Vector3< T > &axis, float radians) |
static QuaternionT< T > | ToQuaternion (const Matrix4< T > &matrix) |
Public Attributes | |
T | x |
T | y |
T | z |
T | w |
Definition at line 8 of file Quaternion.h.
|
inline |
Definition at line 64 of file Quaternion.h.
|
inline |
Definition at line 68 of file Quaternion.h.
|
inlinestatic |
Definition at line 354 of file Quaternion.h.
QuaternionT< T > CSE::QuaternionT< T >::Clone | ( | ) | const |
Definition at line 80 of file Quaternion.h.
|
inline |
Definition at line 398 of file Quaternion.h.
|
inlinestatic |
Definition at line 337 of file Quaternion.h.
|
inline |
Definition at line 192 of file Quaternion.h.
|
inline |
Definition at line 85 of file Quaternion.h.
|
inline |
Definition at line 153 of file Quaternion.h.
|
inline |
Definition at line 379 of file Quaternion.h.
bool CSE::QuaternionT< T >::operator!= | ( | const QuaternionT< T > & | q | ) | const |
Definition at line 330 of file Quaternion.h.
QuaternionT< T > CSE::QuaternionT< T >::operator+ | ( | const QuaternionT< T > & | q | ) | const |
Definition at line 320 of file Quaternion.h.
QuaternionT< T > CSE::QuaternionT< T >::operator- | ( | const QuaternionT< T > & | q | ) | const |
Definition at line 315 of file Quaternion.h.
bool CSE::QuaternionT< T >::operator== | ( | const QuaternionT< T > & | q | ) | const |
Definition at line 325 of file Quaternion.h.
|
inline |
Definition at line 384 of file Quaternion.h.
|
inline |
Definition at line 142 of file Quaternion.h.
|
inline |
Definition at line 187 of file Quaternion.h.
void CSE::QuaternionT< T >::Set | ( | T | x, |
T | y, | ||
T | z, | ||
T | w | ||
) |
Definition at line 72 of file Quaternion.h.
|
inline |
Definition at line 107 of file Quaternion.h.
|
inline |
Definition at line 261 of file Quaternion.h.
|
inline |
Definition at line 197 of file Quaternion.h.
|
inline |
Definition at line 225 of file Quaternion.h.
|
static |
Definition at line 411 of file Quaternion.h.
|
inline |
Definition at line 256 of file Quaternion.h.
T CSE::QuaternionT< T >::w |
Definition at line 12 of file Quaternion.h.
T CSE::QuaternionT< T >::x |
Definition at line 9 of file Quaternion.h.
T CSE::QuaternionT< T >::y |
Definition at line 10 of file Quaternion.h.
T CSE::QuaternionT< T >::z |
Definition at line 11 of file Quaternion.h.