MTX_FrustumW


C Specification

#include <nitro/fx/fx_mtx44.h>

void MTX_FrustumW(
    fx32        t,
    fx32        b,
    fx32        l,
    fx32        r,
    fx32        n,
    fx32        f,
    fx32        scaleW,
    MtxFx44*    mtx );

Description

This function sets a frustum matrix to *mtx. It uses the Divider. The following diagram shows the matrix that is set.

x scaleW

Arguments

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 The distance from the eyepoint to the near clipping plane
f The distance from the eyepoint to the far clipping plane
scaleW Fine adjustment parameter for the view volume
mtx Pointer to a 4x4 matrix

Return Values

None.

See Also

G3_FrustumW, MTX_Frustum, G3_Frustum

Revision History

06/21/2004 First version