Skip to content

et_conjugateQuaternion

DeveloperGY edited this page Apr 13, 2023 · 6 revisions

Signature

et_Quat et_conjugateQuaternion(et_Quat q);

Parameters

et_Quat q: The quaternion to calculate the conjugate of

Return Value

et_Quat: The conjugate of the specified quaternion

Description

Calculates and returns the conjugate of the specified quaternion.

Uses

The conjugate of a quaternion can be used to find the inverse of the original quaternion, which is used in rotating a pure quaternions.

Example

et_Quat q = et_genQuaternion(0, 1, 0, 0);
et_Quat r = et_conjugateQuaternion(q);

Clone this wiki locally