#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 in y-direction)/2 |
fovyCos | Cosine value of (the field-of-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 viewpoint to the near clip plane |
f | Distance from viewpoint to the far clip plane |
None.
This function sets a transparency projection matrix for the global state kept inside the G3D library.
NNS_G3dGlbPerspectiveW
, NNS_G3dGlbOrtho
, NNS_G3dGlbFrustum
2004/08/02 Initial version.
CONFIDENTIAL