Scroll to navigation

POLYTYPE_FLAT(3alleg4) Allegro manual POLYTYPE_FLAT(3alleg4)

NAME

POLYTYPE_FLAT - Polygon rendering mode type Allegro game programming library.

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.

SEE ALSO

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

version 4.4.3 Allegro