# NNS_G3dGlbPerspective

## Syntax

      #include <nnsys/g3d/glbstate.h>

      void
      NNS_G3dGlbPerspective(
          fx32 fovySin,
          fx32 fovyCos,
          fx32 aspect,
          fx32 n,
          fx32 f
      );

## Arguments

fovySin | Sine value of (the field-of-view angle in y-direction)/2
fovyCos | Cosine value of (the field-of-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 viewpoint to the `near` clip plane
f | Distance from viewpoint to the `far` clip plane

## Return Values

None.

## Description

This function sets a transparency projection matrix for the global state kept inside the G3D library.

## See Also

`NNS_G3dGlbPerspectiveW`, `NNS_G3dGlbOrtho`, `NNS_G3dGlbFrustum`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL