nn::math::MTX34ToQUAT Function

Syntax

NN_FORCE_INLINE QUAT * MTX34ToQUAT(
     QUAT * pOut,
     const MTX34 * pMtx
);

Parameters

Name Description
out pOut Pointer to the buffer that receives the result of the calculation.
in pMtx Pointer to the rotation matrix from which to create the quaternion.

Return Values

Returns pOut.

Description

Creates a quaternion from a rotation matrix.


CONFIDENTIAL