MTX34RotAxisRadPartially

nn::math::MTX34RotAxisRadPartially Function

Syntax

NN_FORCE_INLINE MTX34 * MTX34RotAxisRadPartially(
     MTX34 * 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

Updates only the rotation-related elements in the specified matrix for rotation about the specified axis.

This function does not update the translation elements (the 4th column) in the matrix specified by pOut .

Revision History

2011/12/14
Initial version.

CONFIDENTIAL