nn::math::MTX34ToQUAT Function

Syntax

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

Arguments

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