|
| void | Conj () |
| | Conjugate this quaternion in place.
|
| void | Conj () |
| | Conjugate this quaternion in place.
|
| void | EulerZYX (float theta_x, float theta_y, float theta_z) |
| | Build a quaternion from Euler angles in ZYX order, with angles in degrees.
|
| void | EulerZYX (float theta_x, float theta_y, float theta_z) |
| | Build a quaternion from Euler angles in ZYX order, with angles in degrees.
|
| void | Inverse () |
| | Invert this quaternion in place.
|
| void | Inverse () |
| | Invert this quaternion in place.
|
| void | InverseNormal () |
| | Invert a unit quaternion by conjugating it.
|
| void | InverseNormal () |
| | Invert a unit quaternion by conjugating it.
|
| float | Norm () const |
| | Compute the norm.
|
| float | Norm () const |
| | Compute the norm.
|
| float | Norm2 () const |
| | Compute the squared norm.
|
| float | Norm2 () const |
| | Compute the squared norm.
|
| void | Normalize () |
| | Normalize this quaternion in place, or reset it to identity if it is too small.
|
| void | Normalize () |
| | Normalize this quaternion in place, or reset it to identity if it is too small.
|
| constexpr QuatType | operator* (const QuatType &q) const |
| | Multiply two quaternions.
|
| constexpr QuatType | operator* (const QuatType &q) const |
| | Multiply two quaternions.
|
| QuatType & | operator*= (const QuatType &q) |
| | Multiply this quaternion by another quaternion in place.
|
| QuatType & | operator*= (const QuatType &q) |
| | Multiply this quaternion by another quaternion in place.
|
| constexpr QuatType | operator+ (const QuatType &q) const |
| | Add two quaternions component-wise.
|
| constexpr QuatType | operator+ (const QuatType &q) const |
| | Add two quaternions component-wise.
|
| constexpr QuatType | operator- (const QuatType &q) const |
| | Subtract two quaternions component-wise.
|
| constexpr QuatType | operator- (const QuatType &q) const |
| | Subtract two quaternions component-wise.
|
| void | QuatToVec3D (float *theta_degrees, vec3D &axis) const |
| | Convert this quaternion to axis-angle form.
|
| void | QuatToVec3D (float *theta_degrees, vec3D &axis) const |
| | Convert this quaternion to axis-angle form.
|
| constexpr | QuatType () |
| | Construct the identity quaternion.
|
| constexpr | QuatType () |
| | Construct the identity quaternion.
|
| constexpr | QuatType (float x_value, float y_value, float z_value, float w_value) |
| | Construct from explicit quaternion components.
|
| constexpr | QuatType (float x_value, float y_value, float z_value, float w_value) |
| | Construct from explicit quaternion components.
|
| void | Scale (float f) |
| | Scale all quaternion components in place.
|
| void | Scale (float f) |
| | Scale all quaternion components in place.
|
| QuatType | TripleProduct (const QuatType &p1, const QuatType &p2) const |
| | Return the quaternion product (*this * p1) * p2.
|
| QuatType | TripleProduct (const QuatType &p1, const QuatType &p2) const |
| | Return the quaternion product (*this * p1) * p2.
|
| void | vec3DthetaQuat (float theta_degrees, const vec3D &axis) |
| | Build a quaternion from an axis and angle in degrees.
|
| void | vec3DthetaQuat (float theta_degrees, const vec3D &axis) |
| | Build a quaternion from an axis and angle in degrees.
|
| void | vec4DthetaQuat (float theta_degrees, const vec4D &axis) |
| | Build a quaternion from a 4D axis vector and angle in degrees.
|
| void | vec4DthetaQuat (float theta_degrees, const vec4D &axis) |
| | Build a quaternion from a 4D axis vector and angle in degrees.
|
Quaternion used for 3D rotations.
Definition at line 1048 of file mxvk_math.h.