FreeBSD Manual Pages
triangle3d(3) Allegro manual triangle3d(3) NAME triangle3d, triangle3d_f - Draws a 3d triangle onto the specified bit- map. Allegro game programming library. SYNOPSIS #include <allegro.h> void triangle3d(BITMAP *bmp, int type, BITMAP *tex, V3D *v1, *v2, *v3); void triangle3d_f(BITMAP *bmp, int type, BITMAP *tex, V3D_f *v1, *v2, *v3); DESCRIPTION Draw 3d triangles, using either fixed or floating point vertex struc- tures. Unlike quad3d[_f](), triangle3d[_f]() functions are not wrap- pers of polygon3d[_f](). The triangle3d[_f]() functions use their own routines taking into account the constantness of the gradients. There- fore triangle3d[_f](bmp, type, tex, v1, v2, v3) is faster than poly- gon3d[_f](bmp, type, tex, 3, v[]). Read the beginning of chapter "Polygon rendering" for a list of render- ing types you can use with this function. SEE ALSO polygon3d(3), quad3d(3), triangle(3) Allegro version 4.4.3 triangle3d(3)
NAME | SYNOPSIS | DESCRIPTION | SEE ALSO
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=triangle3d&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>