nn::math::MTX34RotAxisDeg Function

Syntax

MTX34 * MTX34RotAxisDeg(
     MTX34 * pOut,
     const VEC3 * pAxis,
     f32 fDeg
);

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 fDeg Amount of rotation in units for which one complete revolution is defined as equal to 360.0 units.

Return Values

Returns pOut.

Description

Creates a rotation matrix for rotating around the specified axis.


CONFIDENTIAL