# NNS_G3dGlbGetViewPort

## Syntax

      #include <nnsys/g3d/glbstate.h>

      void
      NNS_G3dGlbGetViewPort(
          int* px1,
          int* py1,
          int* px2,
          int* py2
      );

## Arguments

px1 | The pointer to the lower-left X coordinate
py1 | The pointer to the lower-left Y coordinate
px2 | The pointer to the upper-right X coordinate
py2 | The pointer to the upper-right Y coordinate

## Return Values

None.

## Description

Gets the viewport held in the G3D library.

## See Also

`NNS_G3dGlbSetViewPort`

## Revision History

2004/11/01 Initial version.

CONFIDENTIAL