nn::math::MTX34RotAxisFIdx Function

Syntax

NN_MATH_INLINE MTX34 * MTX34RotAxisFIdx(
     MTX34 * pOut,
     const VEC3 * pAxis,
     f32 fIdx
);

Arguments

Name Description
out pOut Pointer to the buffer that receives the result of the calculation.
in pAxis Pointer to the vector that specifies the axis of rotation.
in fIdx Amount of rotation in units for which one complete revolution is defined as equal to 256.0 units.

Return Values

Returns pOut.

Description

Creates a rotation matrix for rotating around the specified axis.


CONFIDENTIAL