|
Vector3 | kanzi::calculateEulerAngles (const Quaternion &quaternion) |
| Calculates Euler angles from a quaternion.
|
|
Quaternion | kanzi::componentWiseMultiply (const Quaternion &q1, const Quaternion &q2) |
| Multiplies quaternion components component-wise and returns the resulting quaternion.
|
|
float | kanzi::dotProduct (const Quaternion &q1, const Quaternion &q2) |
| Calculates the dot product of two quaternions.
|
|
Quaternion | kanzi::inverse (const Quaternion &q) |
| Returns an inverse quaternion for a quaternion.
|
|
Quaternion | kanzi::matrix4x4ToQuaternion (const Matrix4x4 &matrix) |
| Creates a quaternion from Matrix4x4.
|
|
bool | kanzi::operator!= (const Quaternion &q1, const Quaternion &q2) |
| Inequality comparison operator, compares if two quaternions are exactly not equal.
|
|
Quaternion | kanzi::operator* (const Quaternion &q1, const Quaternion &q2) |
| Multiplies two quaternions.
|
|
bool | kanzi::operator== (const Quaternion &q1, const Quaternion &q2) |
| Equality comparison operator, compares if two quaternions are exactly equal.
|
|
Quaternion | kanzi::quaternionSlerp (const Quaternion &q1, const Quaternion &q2, float interpolationTime) |
| Applies spherical linear interpolation (slerp) to two quaternions using the shortest path.
|
|
Quaternion | kanzi::quaternionSlerpLongerPath (const Quaternion &q1, const Quaternion &q2, float interpolationTime) |
| Applies spherical linear interpolation (slerp) to two quaternion using the longer path.
|
|
Matrix4x4 | kanzi::quaternionToMatrix4x4 (const Quaternion &quaternion) |
| Converts a quaternion rotation to a 4x4 rotation matrix.
|
|
Vector3 | kanzi::rotateVector (const Quaternion &quaternion, Vector3 vector) |
| Applies quaternion rotation to a vector.
|
|