.\" Generated by the Allegro makedoc utility .TH clip3d_f 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME clip3d_f \- Clips the polygon given in vtx using floating point math, Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int clip3d_f(int type, float min_z, float max_z, int vc, .B const V3D_f *vtx[], V3D_f *vout[], V3D_f *vtmp[], int out[]); .SH DESCRIPTION Clips the polygon given in `vtx'. The number of vertices is `vc', the result goes in `vout', and `vtmp' and `out' are needed for internal purposes. The pointers in `vtx', `vout' and `vtmp' must point to valid V3D_f structures. As additional vertices may appear in the process of clipping, so the size of `vout', `vtmp' and `out' should be at least vc * (1.5 ^ n), where `n' is the number of clipping planes (5 or 6), and `^' denotes "to the power of". The frustum (viewing volume) is defined by -z