nn::math::QUATSub Function

Syntax

NN_MATH_INLINE QUAT * QUATSub(
     QUAT * pOut,
     const QUAT * q1,
     const QUAT * q2
);

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 q1 and/or q2.
in q1 Pointer to the left-hand value.
in q2 Pointer to the right-hand value.

Return Values

Returns pOut.

Description

Calculates the result of quaternion subtraction.


CONFIDENTIAL