# NNS_G3dGlbFlushVP

## C Specification

      #include <nnsys/g3d/glbstate.h>

      void NNS_G3dGlbFlushVP( void );

## Arguments

None.

## Return Values

None.

## Description

Sends the entire global state kept in the G3D library to the geometry engine. The global state includes the following information (if available):

- The projective transformation matrix
- The camera matrix
- The modeling matrix
- The view port
- The light direction and color
- The default material color

Regarding matrices, the matrix composed of the projective transformation matrix and camera matrix is set to the current projection matrix. The modeling matrix is set to the current position coordinate matrix and directional vector matrix. After sending the global state to the geometry engine, the matrix mode becomes `POSITION/VECTOR`.

## See Also

`NNS_G3dGlbFlushP, NNS_G3dGlbFlushWVP`

## Revision History

09/16/2004 Initial version.