DOKK / manpages / debian 11 / allegro4-doc / POLYTYPE_FLAT.3alleg4.en
POLYTYPE_FLAT(3alleg4) Allegro manual POLYTYPE_FLAT(3alleg4)

POLYTYPE_FLAT - Polygon rendering mode type Allegro game programming library.

#include <allegro.h>

#define POLYTYPE_FLAT

A simple flat shaded polygon, taking the color from the `c' value of the first vertex. This polygon type is affected by the drawing_mode() function, so it can be used to render XOR or translucent polygons.

polygon3d(3alleg4), drawing_mode(3alleg4), ex3d(3alleg4), excamera(3alleg4)

version 4.4.3 Allegro