nn::math::QUATNormalize Function

Syntax

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

Arguments

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 quaternion to normalize.

Return Values

Returns pOut.

Description

Normalizes a quaternion.


CONFIDENTIAL