clip3d - Clips the polygon given in vtx using fixed point math. Allegro game programming library.
Contents
Description
Fixed point version of clip3d_f(). This function should be used with caution, due to the limited
precision of fixed point arithmetic and high chance of rounding errors: the floating point code is better
for most situations.
Name
clip3d - Clips the polygon given in vtx using fixed point math. Allegro game programming library.
Return Value
Returns the number of vertices after clipping is done.
See Also
polygon3d(3alleg4), clip3d_f(3alleg4) Allegro version 4.4.3 clip3d(3alleg4)
Synopsis
#include<allegro.h>intclip3d(inttype,fixedmin_z,fixedmax_z,intvc,constV3D*vtx[],V3D*vout[],V3D*vtmp[],intout[]);
