A component that stores the orientation of an entity.
|
| Orientation (Math::quat const &q) |
|
| quat () |
| default constructor
|
|
| quat (quat const &)=default |
| default copy constructor
|
|
| quat (scalar x, scalar y, scalar z, scalar w) |
| construct from components
|
|
| quat (const vec4 &rhs) |
| construct from vec4
|
|
| quat (const __m128 &rhs) |
| construct from __m128
|
|
void | operator= (const __m128 &rhs) |
| assign __m128
|
|
bool | operator== (const quat &rhs) const |
| equality operator
|
|
bool | operator!= (const quat &rhs) const |
| inequality operator
|
|
void | load (const scalar *ptr) |
| load content from 16-byte-aligned memory
|
|
void | loadu (const scalar *ptr) |
| load content from unaligned memory
|
|
void | store (scalar *ptr) const |
| write content to 16-byte-aligned memory through the write cache
|
|
void | storeu (scalar *ptr) const |
| write content to unaligned memory through the write cache
|
|
void | stream (scalar *ptr) const |
| stream content to 16-byte-aligned memory circumventing the write-cache
|
|
vec3 | x_axis () const |
| get the x axis of the cartesian coordinate system that this quaternion represents
|
|
vec3 | y_axis () const |
| get the y axis of the cartesian coordinate system that this quaternion represents
|
|
vec3 | z_axis () const |
| get the z axis of the cartesian coordinate system that this quaternion represents
|
|
void | set (scalar x, scalar y, scalar z, scalar w) |
| set content
|
|
void | set (vec4 const &f4) |
| set from vec4
|
|