quad3d - Man Page

Draws a 3d quad onto the specified bitmap. Allegro game programming library.


#include <allegro.h>

void quad3d(BITMAP *bmp, int type, BITMAP *tex, V3D *v1, *v2, *v3, *v4);

void quad3d_f(BITMAP *bmp, int type, BITMAP *tex, V3D_f *v1, *v2, *v3, *v4);


Draw 3d quads, using either fixed or floating point vertex structures.  These are equivalent to calling polygon3d(bmp, type, tex, 4, v[]) or polygon3d_f(bmp, type, tex, 4, v[]).

Read the beginning of chapter "Polygon rendering" for a list of rendering types you can use with this function.

See Also

polygon3d(3), triangle3d(3), ex3d(3)

Referenced By

ex3d(3), exzbuf(3), polygon3d(3), triangle3d(3).

The man page quad3d_f(3) is an alias of quad3d(3).

version 4.4.3 Allegro manual