$search
#include <tgMathlib.h>
Public Member Functions | |
| operator const float * () const | |
| operator float * () | |
| quat | operator* (const quat &q) const |
| float | operator[] (int i) const |
| float & | operator[] (int i) |
| quat (const mat3 &m) | |
| quat (float x, float y, float z, float angle) | |
| quat (const vec3 &dir, float angle) | |
| quat () | |
| void | set (float x, float y, float z, float angle) |
| void | set (const vec3 &dir, float angle) |
| void | slerp (const quat &q0, const quat &q1, float t) |
| mat3 | to_matrix () const |
Public Attributes | |
| union { | |
| struct { | |
| float w | |
| float x | |
| float y | |
| float z | |
| } | |
| float q [4] | |
| }; | |
Definition at line 862 of file tgMathlib.h.
| quat::quat | ( | ) | [inline] |
Definition at line 864 of file tgMathlib.h.
| quat::quat | ( | const vec3 & | dir, | |
| float | angle | |||
| ) | [inline] |
Definition at line 865 of file tgMathlib.h.
| quat::quat | ( | float | x, | |
| float | y, | |||
| float | z, | |||
| float | angle | |||
| ) | [inline] |
Definition at line 868 of file tgMathlib.h.
| quat::quat | ( | const mat3 & | m | ) | [inline] |
Definition at line 871 of file tgMathlib.h.
| quat::operator const float * | ( | ) | const [inline] |
Definition at line 897 of file tgMathlib.h.
| quat::operator float * | ( | ) | [inline] |
Definition at line 896 of file tgMathlib.h.
Definition at line 902 of file tgMathlib.h.
| float quat::operator[] | ( | int | i | ) | const [inline] |
Definition at line 900 of file tgMathlib.h.
| float& quat::operator[] | ( | int | i | ) | [inline] |
Definition at line 899 of file tgMathlib.h.
| void quat::set | ( | float | x, | |
| float | y, | |||
| float | z, | |||
| float | angle | |||
| ) | [inline] |
Definition at line 925 of file tgMathlib.h.
| void quat::set | ( | const vec3 & | dir, | |
| float | angle | |||
| ) | [inline] |
Definition at line 911 of file tgMathlib.h.
Definition at line 929 of file tgMathlib.h.
| mat3 quat::to_matrix | ( | ) | const [inline] |
Definition at line 959 of file tgMathlib.h.
| union { ... } |
| float quat::q[4] |
Definition at line 983 of file tgMathlib.h.
| float quat::w |
Definition at line 981 of file tgMathlib.h.
| float quat::x |
Definition at line 981 of file tgMathlib.h.
| float quat::y |
Definition at line 981 of file tgMathlib.h.
| float quat::z |
Definition at line 981 of file tgMathlib.h.