NNS_G3dGlbPerspective

C Specification

#include <nnsys/g3d/glbstate.h>
void
NNS_G3dGlbPerspective(
    fx32 fovySin,
    fx32 fovyCos,
    fx32 aspect,
    fx32 n,
    fx32 f
);

Arguments

fovySin Sine value of the field-of-view angle (view angle) in y-direction/2
fovyCos Cosine value of the field-of-view angle (view angle) in y-direction/2
aspect Ratio of width of view field to height of view field (aspect ratio: width/height of the field of view)
n Distance from eyepoint to the near clip plane
f Distance from eyepoint to the far clip plane

Return Values

None.

Description

This function sets the transparency projection matrix to the global state. This state is held inside the G3D library.

See Also

NNS_G3dGlbPerspectiveW, NNS_G3dGlbOrtho, NNS_G3dGlbFrustum

Revision History

2004/08/02 Initial version.


CONFIDENTIAL