#include <nitro/fx/fx_mtx44.h>
void MTX_OrthoW( fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 * mtx );
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 eyepoint to the near clip plane |
f | Distance from eyepoint to the far clip plane |
scaleW | Fine adjustment parameter for the view volume |
mtx | The pointer to a 4x4 matrix. |
None.
This sets an orthogonal projection matrix to matrix *mtx
. It uses the Divider. The diagram shows the matrix that is set.
Note: When setting the matrix for an orthogonal projection, it will be necessary to select Z-buffering with the G3*_SwapBuffers
. The operation is not guaranteed if W-buffering is used, since the depth value is constant.
× scaleW
G3_OrthoW, MTX_Ortho, G3_Ortho
06/21/2004 Initial version