#include <nnsys/g3d/glbstate.h>
void
NNS_G3dGlbSetViewPort(
int x1,
int y1,
int x2,
int y2
);
x1 |
Lower left x-coordinate |
y1 |
Lower left y-coordinate |
x2 | Upper right x-coordinate |
y2 | Upper right y-coordinate |
None.
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.
2004/08/02 Initial version.
CONFIDENTIAL