#include <nnsys/g3d/glbstate.h>
void
NNS_G3dGlbPerspective(
fx32 fovySin,
fx32 fovyCos,
fx32 aspect,
fx32 n,
fx32 f
);
| 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 |
None.
This function sets the transparency projection matrix to the global state. This state is held inside the G3D library.
NNS_G3dGlbPerspectiveW, NNS_G3dGlbOrtho, NNS_G3dGlbFrustum
08/02/2004 Initial version.
CONFIDENTIAL