MTX_RotAxis33


C Specification

#include <nitro/fx/fx_mtx33.h>

void MTX_RotAxis33(
          MtxFx33*  pDst,
    const VecFx32*  vec,
          fx32      sinVal,
          fx32      cosVal );

Description

This function sets the rotation matrix for *vec in *pDst. The vector must be normalized in advance.

Arguments

pDst Pointer to a 3x3 matrix
vec   Pointer to a vector
sinVal   Sine of the angle of rotation
cosVal   Cosine of the angle of rotation

Return Values

None.

See Also

MTX_RotX33, MTX_RotY33, MTX_RotZ33, MtxFx33, VecFx32

Revision History

10/19/2004 Corrected #include statement and argument.
01/19/2004 Initial version.