nn::math::QUATInverse Function

Syntax

NN_FORCE_INLINE QUAT * QUATInverse(
     QUAT * pOut,
     const QUAT *__restrict q
);

Parameters

Name Description
out pOut Pointer to the buffer that receives the result of the calculation. It is not a problem if this points to the same quaternion as q.
in q Pointer to the left-hand value.

Return Values

Returns pOut.

Description

Calculates the inverse of a quaternion.


CONFIDENTIAL