Function
gSPBranchLessZrg
Conditionally branches the display list (specifies minimum/maximum values of Z)
Syntax
#include <ultra64.h> /* gbi.h */
gSPBranchLessZrg(
Gfx *gdl,
Gfx *branchdl,
u32 vtx,
f32 zval,
f32 near,
f32 far,
s32 flag,
s32 zmin,
s32 zmax)
gsSPBranchLessZrg(
Gfx *branchdl,
u32 vtx,
f32 zval,
f32 near,
f32 far,
s32 flag,
s32 zmin,
s32 zmax)
Arguments
Description
This macro can specify the minimum/maximum values of Z (zmin/zmax) and conditionally branch the display list. Most applications use a Z value that is greater than 0 and less than G_MAXZ/2. This macro is used when this range needs to be changed. When no change is necessary, please use g*SPBranchLessZ. For details, see gSPBranchLessZ.
See Also
Revision History
02/01/99 Entirely revised.