SYNOPSIS

#include <allegro.h>

#define POLYTYPE_FLAT

DESCRIPTION

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.

RELATED TO POLYTYPE_FLAT…

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