Query: clip3d
OS: centos
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
clip3d(3alleg4) Allegro manual clip3d(3alleg4)NAMEclip3d - Clips the polygon given in vtx using fixed point math. Allegro game programming library.SYNOPSIS#include <allegro.h> int clip3d(int type, fixed min_z, fixed max_z, int vc, const V3D *vtx[], V3D *vout[], V3D *vtmp[], int out[]);DESCRIPTIONFixed 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.RETURN VALUEReturns the number of vertices after clipping is done.SEE ALSOpolygon3d(3alleg4), clip3d_f(3alleg4) Allegro version 4.4.2 clip3d(3alleg4)