#include <quat.h>
|
| WWINLINE | Quaternion (void) |
| |
| WWINLINE | Quaternion (bool init) |
| |
| WWINLINE | Quaternion (float a, float b, float c, float d) |
| |
| WWINLINE | Quaternion (const Vector3 &axis, float angle) |
| |
| WWINLINE Quaternion & | operator= (const Quaternion &source) |
| |
| WWINLINE void | Set (float a=0.0, float b=0.0, float c=0.0, float d=1.0) |
| |
| WWINLINE void | Make_Identity (void) |
| |
| WWINLINE void | Scale (float s) |
| |
| WWINLINE float & | operator[] (int i) |
| |
| WWINLINE const float & | operator[] (int i) const |
| |
| WWINLINE Quaternion | operator- () const |
| |
| WWINLINE Quaternion | operator+ () const |
| |
| Quaternion & | Make_Closest (const Quaternion &qto) |
| |
| WWINLINE float | Length2 (void) const |
| |
| WWINLINE float | Length (void) const |
| |
| void | Normalize (void) |
| |
| void | Rotate_X (float theta) |
| |
| void | Rotate_Y (float theta) |
| |
| void | Rotate_Z (float theta) |
| |
| void | Randomize (void) |
| |
| WWINLINE Vector3 | Rotate_Vector (const Vector3 &v) const |
| |
| WWINLINE void | Rotate_Vector (const Vector3 &v, Vector3 *set_result) const |
| |
| bool | Is_Valid (void) const |
| |
| | Quaternion (void) |
| |
| | Quaternion (bool init) |
| |
| | Quaternion (float a, float b, float c, float d) |
| |
| | Quaternion (const Vector3 &axis, float angle) |
| |
| Quaternion & | operator= (const Quaternion &source) |
| |
| void | Set (float a=0.0, float b=0.0, float c=0.0, float d=1.0) |
| |
| void | Make_Identity (void) |
| |
| void | Scale (float s) |
| |
| float & | operator[] (int i) |
| |
| const float & | operator[] (int i) const |
| |
| Quaternion | operator- () const |
| |
| Quaternion | operator+ () const |
| |
| Quaternion & | Make_Closest (const Quaternion &qto) |
| |
| float | Length2 (void) const |
| |
| float | Length (void) const |
| |
| void | Normalize (void) |
| |
| void | Rotate_X (float theta) |
| |
| void | Rotate_Y (float theta) |
| |
| void | Rotate_Z (float theta) |
| |
| void | Randomize (void) |
| |
| Vector3 | Rotate_Vector (const Vector3 &v) const |
| |
| void | Rotate_Vector (const Vector3 &v, Vector3 *set_result) const |
| |
| bool | Is_Valid (void) const |
| |
|
| float | X |
| |
| float | Y |
| |
| float | Z |
| |
| float | W |
| |
Definition at line 52 of file quat.h.
◆ Quaternion() [1/8]
| WWINLINE Quaternion::Quaternion |
( |
void | | ) |
|
|
inline |
◆ Quaternion() [2/8]
◆ Quaternion() [3/8]
| WWINLINE Quaternion::Quaternion |
( |
float | a, |
|
|
float | b, |
|
|
float | c, |
|
|
float | d ) |
|
inlineexplicit |
◆ Quaternion() [4/8]
| Quaternion::Quaternion |
( |
const Vector3 & | axis, |
|
|
float | angle ) |
|
explicit |
◆ Quaternion() [5/8]
| Quaternion::Quaternion |
( |
void | | ) |
|
|
inline |
◆ Quaternion() [6/8]
| Quaternion::Quaternion |
( |
bool | init | ) |
|
|
inlineexplicit |
◆ Quaternion() [7/8]
| Quaternion::Quaternion |
( |
float | a, |
|
|
float | b, |
|
|
float | c, |
|
|
float | d ) |
|
inlineexplicit |
◆ Quaternion() [8/8]
| Quaternion::Quaternion |
( |
const Vector3 & | axis, |
|
|
float | angle ) |
|
explicit |
◆ Is_Valid() [1/2]
| bool Quaternion::Is_Valid |
( |
void | | ) |
const |
|
inline |
◆ Is_Valid() [2/2]
| bool Quaternion::Is_Valid |
( |
void | | ) |
const |
◆ Length() [1/2]
| WWINLINE float Quaternion::Length |
( |
void | | ) |
const |
|
inline |
◆ Length() [2/2]
| float Quaternion::Length |
( |
void | | ) |
const |
|
inline |
◆ Length2() [1/2]
| WWINLINE float Quaternion::Length2 |
( |
void | | ) |
const |
|
inline |
◆ Length2() [2/2]
| float Quaternion::Length2 |
( |
void | | ) |
const |
|
inline |
◆ Make_Closest() [1/2]
◆ Make_Closest() [2/2]
◆ Make_Identity() [1/2]
| WWINLINE void Quaternion::Make_Identity |
( |
void | | ) |
|
|
inline |
◆ Make_Identity() [2/2]
| void Quaternion::Make_Identity |
( |
void | | ) |
|
|
inline |
◆ Normalize() [1/2]
| void Quaternion::Normalize |
( |
void | | ) |
|
◆ Normalize() [2/2]
| void Quaternion::Normalize |
( |
void | | ) |
|
◆ operator+() [1/2]
◆ operator+() [2/2]
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator[]() [1/4]
| WWINLINE float & Quaternion::operator[] |
( |
int | i | ) |
|
|
inline |
◆ operator[]() [2/4]
| float & Quaternion::operator[] |
( |
int | i | ) |
|
|
inline |
◆ operator[]() [3/4]
| WWINLINE const float & Quaternion::operator[] |
( |
int | i | ) |
const |
|
inline |
◆ operator[]() [4/4]
| const float & Quaternion::operator[] |
( |
int | i | ) |
const |
|
inline |
◆ Randomize() [1/2]
| void Quaternion::Randomize |
( |
void | | ) |
|
◆ Randomize() [2/2]
| void Quaternion::Randomize |
( |
void | | ) |
|
◆ Rotate_Vector() [1/4]
◆ Rotate_Vector() [2/4]
◆ Rotate_Vector() [3/4]
| void Quaternion::Rotate_Vector |
( |
const Vector3 & | v, |
|
|
Vector3 * | set_result ) const |
|
inline |
◆ Rotate_Vector() [4/4]
| void Quaternion::Rotate_Vector |
( |
const Vector3 & | v, |
|
|
Vector3 * | set_result ) const |
◆ Rotate_X() [1/2]
| void Quaternion::Rotate_X |
( |
float | theta | ) |
|
◆ Rotate_X() [2/2]
| void Quaternion::Rotate_X |
( |
float | theta | ) |
|
◆ Rotate_Y() [1/2]
| void Quaternion::Rotate_Y |
( |
float | theta | ) |
|
◆ Rotate_Y() [2/2]
| void Quaternion::Rotate_Y |
( |
float | theta | ) |
|
◆ Rotate_Z() [1/2]
| void Quaternion::Rotate_Z |
( |
float | theta | ) |
|
◆ Rotate_Z() [2/2]
| void Quaternion::Rotate_Z |
( |
float | theta | ) |
|
◆ Scale() [1/2]
| WWINLINE void Quaternion::Scale |
( |
float | s | ) |
|
|
inline |
◆ Scale() [2/2]
| void Quaternion::Scale |
( |
float | s | ) |
|
|
inline |
◆ Set() [1/2]
| WWINLINE void Quaternion::Set |
( |
float | a = 0.0, |
|
|
float | b = 0.0, |
|
|
float | c = 0.0, |
|
|
float | d = 1.0 ) |
|
inline |
◆ Set() [2/2]
| void Quaternion::Set |
( |
float | a = 0.0, |
|
|
float | b = 0.0, |
|
|
float | c = 0.0, |
|
|
float | d = 1.0 ) |
|
inline |
The documentation for this class was generated from the following files: