nn::math::QUATMakeClosest Function

Syntax

NN_MATH_INLINE QUAT * QUATMakeClosest(
     QUAT * pOut,
     const QUAT * q,
     const QUAT * qto
);

Parameters

Name Description
out pOut Resultant modified quaternion.
in q Quaternion.
in qto Quaternion to be close to.

Return Values

NONE

Description

Modifies q so it is on the same side of the hypersphere as qto.


CONFIDENTIAL