# NNS_G3dGlbSetViewPort

## Syntax

      #include <nnsys/g3d/glbstate.h>

      void
      NNS_G3dGlbSetViewPort(
          int x1,
          int y1,
          int x2,
          int y2
      );

## Arguments

`x1` | Lower left x-coordinate
`y1` | Lower left y-coordinate
x2 | Upper right x-coordinate
y2 | Upper right y-coordinate

## Return Values

None.

## Description

This function sets the viewport to the global state. This state is held inside the G3D library. The coordinate values for viewport settings are 0 - 255 for the x-coordinate and 0 - 191 for the y-coordinate.

## See Also

`NNS_G3dGlbGetViewPort`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL