nn::math::MTX44RotAxisRad Function

Syntax

NN_MATH_INLINE MTX44 * MTX44RotAxisRad(
     MTX44 * pOut,
     const VEC3 * pAxis,
     f32 fRad
);

Parameters

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 fRad Amount of rotation in radians.

Return Values

Returns pOut.

Description

Creates a rotation matrix for rotating around the specified axis.


CONFIDENTIAL