Contents

GLKQuaternionConjugate(_:)

Returns the conjugate of a quaternion.

Declaration

func GLKQuaternionConjugate(_ quaternion: GLKQuaternion) -> GLKQuaternion

Parameters

  • quaternion:

    A quaternion.

Return Value

A new quaternion that is the conjugate of the source quaternion.

Discussion

The conjugate of a quaternion has the same scalar value, but the signs of the vector components are flipped.

See Also

Performing Mathematical Operations on Quaternions