#include <OVR_Math.h>
Public Member Functions | |
void | AxisAngle (Axis A, T angle, RotateDirection d, HandedSystem s) |
Quat | Conj () const |
T | Distance (const Quat &q) const |
T | DistanceSq (const Quat &q) const |
void | GetAxisAngle (Vector3< T > *axis, T *angle) const |
template<Axis A1, Axis A2, Axis A3, RotateDirection D, HandedSystem S> | |
void | GetEulerAngles (T *a, T *b, T *c) |
template<Axis A1, Axis A2, Axis A3, RotateDirection D> | |
void | GetEulerAngles (T *a, T *b, T *c) |
template<Axis A1, Axis A2, Axis A3> | |
void | GetEulerAngles (T *a, T *b, T *c) |
template<Axis A1, Axis A2, RotateDirection D, HandedSystem S> | |
void | GetEulerAnglesABA (T *a, T *b, T *c) |
Vector3< T > | Imag () const |
void | Invert () const |
Quat | Inverted () const |
bool | IsNormalized () const |
T | Length () const |
T | LengthSq () const |
void | Normalize () |
Quat | Normalized () const |
operator Matrix4f () const | |
bool | operator!= (const Quat &b) const |
Quat | operator* (T s) const |
Quat | operator* (const Quat &b) const |
Quat & | operator*= (T s) |
Quat | operator+ (const Quat &b) const |
Quat & | operator+= (const Quat &b) |
Quat | operator- (const Quat &b) const |
Quat & | operator-= (const Quat &b) |
Quat | operator/ (T s) const |
Quat & | operator/= (T s) |
bool | operator== (const Quat &b) const |
Quat | PowNormalized (T p) const |
Quat () | |
Quat (T x_, T y_, T z_, T w_) | |
Quat (const Vector3< T > &axis, T angle) | |
Vector3< T > | Rotate (const Vector3< T > &v) const |
Public Attributes | |
T | w |
T | x |
T | y |
T | z |
Definition at line 756 of file OVR_Math.h.
Definition at line 762 of file OVR_Math.h.
Definition at line 763 of file OVR_Math.h.
Definition at line 767 of file OVR_Math.h.
void OVR::Quat< T >::AxisAngle | ( | Axis | A, |
T | angle, | ||
RotateDirection | d, | ||
HandedSystem | s | ||
) | [inline] |
Definition at line 779 of file OVR_Math.h.
Definition at line 847 of file OVR_Math.h.
Definition at line 828 of file OVR_Math.h.
T OVR::Quat< T >::DistanceSq | ( | const Quat< T > & | q | ) | const [inline] |
Definition at line 834 of file OVR_Math.h.
void OVR::Quat< T >::GetAxisAngle | ( | Vector3< T > * | axis, |
T * | angle | ||
) | const [inline] |
Definition at line 793 of file OVR_Math.h.
void OVR::Quat< T >::GetEulerAngles | ( | T * | a, |
T * | b, | ||
T * | c | ||
) | [inline] |
Definition at line 910 of file OVR_Math.h.
void OVR::Quat< T >::GetEulerAngles | ( | T * | a, |
T * | b, | ||
T * | c | ||
) | [inline] |
Definition at line 954 of file OVR_Math.h.
void OVR::Quat< T >::GetEulerAngles | ( | T * | a, |
T * | b, | ||
T * | c | ||
) | [inline] |
Definition at line 958 of file OVR_Math.h.
void OVR::Quat< T >::GetEulerAnglesABA | ( | T * | a, |
T * | b, | ||
T * | c | ||
) | [inline] |
Definition at line 971 of file OVR_Math.h.
Definition at line 821 of file OVR_Math.h.
Definition at line 882 of file OVR_Math.h.
Definition at line 876 of file OVR_Math.h.
bool OVR::Quat< T >::IsNormalized | ( | ) | const [inline] |
Definition at line 842 of file OVR_Math.h.
Definition at line 824 of file OVR_Math.h.
Definition at line 826 of file OVR_Math.h.
Definition at line 843 of file OVR_Math.h.
Quat OVR::Quat< T >::Normalized | ( | ) | const [inline] |
Definition at line 844 of file OVR_Math.h.
Definition at line 888 of file OVR_Math.h.
Definition at line 808 of file OVR_Math.h.
Definition at line 815 of file OVR_Math.h.
Definition at line 852 of file OVR_Math.h.
Definition at line 816 of file OVR_Math.h.
Definition at line 810 of file OVR_Math.h.
Definition at line 811 of file OVR_Math.h.
Definition at line 812 of file OVR_Math.h.
Definition at line 813 of file OVR_Math.h.
Definition at line 817 of file OVR_Math.h.
Definition at line 818 of file OVR_Math.h.
Definition at line 807 of file OVR_Math.h.
Quat OVR::Quat< T >::PowNormalized | ( | T | p | ) | const [inline] |
Definition at line 859 of file OVR_Math.h.
Definition at line 869 of file OVR_Math.h.
Definition at line 760 of file OVR_Math.h.
Definition at line 760 of file OVR_Math.h.
Definition at line 760 of file OVR_Math.h.
Definition at line 760 of file OVR_Math.h.