nn::math::MTX34RotAxisRad_ Function

Syntax

NN_FORCE_INLINE MTX34 * MTX34RotAxisRad_(
     MTX34 * pOut,
     const VEC3 * pAxis,
     f32 fRad
);

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

Return Values

Returns pOut.

Description

Creates a rotation matrix for rotating around the specified axis.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL