#include <nitro/fx/fx_mtx44.h>
void MTX_PerspectiveW(
fx32 fovySin,
fx32 fovyCos,
fx32 aspect,
fx32 n,
fx32 f,
fx32 scaleW,
MtxFx44* mtx );
This sets the projection matrix to *mtx. It uses the Divider. The matrix that is set is as shown below.
x scaleW
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 |
scaleW |
Fine adjustment parameter for the view volume |
mtx |
Pointer to the 4x4 matrix |
None.
MTX_Perspectve,G3_PerspectiveW, G3_Perspective
06/21/2004 Initial Version