A rotation, as a unit quaternion.
More...
#include <gui_core/gui_math3d.h>
|
| static quat | AxisAngle (float3 axis, float radians) |
| | radians round axis (any length but zero), counterclockwise looking down it.
|
|
| float | x = 0.0f |
| float | y = 0.0f |
| float | z = 0.0f |
| float | w = 1.0f |
A rotation, as a unit quaternion.
◆ operator==()
| bool tachyon::quat::operator== |
( |
const quat & | | ) |
const |
|
default |
◆ AxisAngle()
| quat tachyon::quat::AxisAngle |
( |
float3 | axis, |
|
|
float | radians ) |
|
inlinestatic |
radians round axis (any length but zero), counterclockwise looking down it.
◆ operator*()
| quat tachyon::quat::operator* |
( |
const quat & | b | ) |
const |
|
inline |
This rotation after b: rotating by the product is rotating by b, then this.
◆ Rotate()
◆ Normalized()
| quat tachyon::quat::Normalized |
( |
| ) |
const |
|
inline |
At length 1; a zero quaternion becomes no rotation.
| float tachyon::quat::x = 0.0f |
| float tachyon::quat::y = 0.0f |
| float tachyon::quat::z = 0.0f |
| float tachyon::quat::w = 1.0f |
The documentation for this struct was generated from the following file: