1clip3d(3) Allegro manual clip3d(3)
2
3
4
6 clip3d - Clips the polygon given in vtx using fixed point math. Allegro
7 game programming library.
8
10 #include <allegro.h>
11
12
13 int clip3d(int type, fixed min_z, fixed max_z, int vc, const V3D
14 *vtx[], V3D *vout[], V3D *vtmp[], int out[]);
15
17 Fixed point version of clip3d_f(). This function should be used with
18 caution, due to the limited precision of fixed point arithmetic and
19 high chance of rounding errors: the floating point code is better for
20 most situations.
21
23 Returns the number of vertices after clipping is done.
24
25
27 polygon3d(3), clip3d_f(3)
28
29
30
31Allegro version 4.4.3 clip3d(3)