MTX34RotAxisDegPartially

nn::math::MTX34RotAxisDegPartially Function

Syntax

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

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 fDeg Amount of rotation, expressed in units where one complete revolution is defined as 360.0.

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