# MTX_Perspective

## C Specification

      #include <nitro/fx/fx_mtx44.h>

      void MTX_Perspective(
      fx32 fovySin,
      fx32 fovyCos,
      fx32 aspect,
      fx32 n,
      fx32 f,
      MtxFx44 * mtx
      );

## Arguments

fovySin | Sine value of the field-of-view angle (view angle) in y-direction/2
fovyCos | Cosine value of the field-of-view angle (view angle) in y-direction/2
aspect | Ratio of width of view field to height of view field (aspect ratio: width/height of the field of view)
n | Distance from eyepoint to the `near` clip plane
f | Distance from eyepoint to the `far` clip plane
mtx | The pointer to a 4x4 matrix.

## Return Values

None.

## Description

*This function sets the projection matrix to *mtx. It uses the Divider. The diagram shows the matrix that is set.

## See Also

`G3_Perspective, MTX_Frustum, MTX_Ortho`

## Revision History

04/27/2004 Initial version

CONFIDENTIAL