polygon definition. More...
A three- or four-sided, flat polygon with a texture.
class is 'Polygon' (polygon.h)
bitfield:
POLY_IS_QUAD : four sided
POLY_IS_DOUBLE : double-sided
POLY_IS_TRANS : is transparent
POLY_TRANS_1_1 : if set, additive transparency, else: uses alpha channel
POLY_PRM_DISABLE_ENV : for a .prm polygon: disable env mapping
POLY_W_ENABLE_ENV : for a .w polygon: enable env mapping
0=a.bmp, 1=b.bmp,..., -1=Solid colored,
For intermediate files: also -2=invisible
index of vertex in the mesh's list
color definition for the points. for a textured polygon: shading for a not textured polygon: color
texture coordinates