MTX34RotXYZTranslateFIdx

nn::math::MTX34RotXYZTranslateFIdx Function

Syntax

NN_MATH_INLINE MTX34 * MTX34RotXYZTranslateFIdx(
     MTX34 * pOut,
     f32 fIdxX,
     f32 fIdxY,
     f32 fIdxZ,
     const VEC3 * pT
);

Parameters

Name Description
out pOut Pointer to the buffer that receives the result of the calculation.
in fIdxX Angle around the X-axis in units for which one complete revolution is defined as equal to 256.0 units.
in fIdxY Angle around the Y-axis in units for which one complete revolution is defined as equal to 256.0 units.
in fIdxZ Angle around the Z-axis in units for which one complete revolution is defined as equal to 256.0 units.
in pT Pointer to the vector that stores the amount of translation along the direction of each axis.

Return Values

Returns pOut.

Description

Produces a matrix that is the result of premultiplying a rotation matrix by a translation matrix.


CONFIDENTIAL