MTX_RotAxis44


C Specification

#include <nitro/fx/fx_mtx44.h>

void MTX_RotAxis44(
          MtxFx44*  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 4x4 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_RotX44, MTX_RotY44, MTX_RotZ44, MtxFx44, VecFx32

Revision History

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