NNS_G3dGlbOrtho

Syntax

#include <nnsys/g3d/glbstate.h>
void
NNS_G3dGlbOrtho(
    fx32 t,
    fx32 b,
    fx32 l,
    fx32 r,
    fx32 n,
    fx32 f
);

Arguments

t Y coordinate at the top of the near clipping plane
b Y coordinate at the bottom of the near clipping plane
l X coordinate at the left of the near clipping plane
r X coordinate at the right of the near clipping plane
n Distance from viewpoint to the near clipping plane
f Distance from viewpoint to the far clipping plane

Return Values

None.

Description

This function sets an orthographic projection matrix for the global state kept in the G3D library.

See Also

NNS_G3dGlbOrthoW, NNS_G3dGlbFrustum, NNS_G3dGlbPerspective

Revision History

2004/08/02 Initial version.


CONFIDENTIAL