#include <rvtypes.h>
Public Attributes | |
rvushort | type |
rvshort | texture |
rvushort | vertidx [4] |
RVColor | color [4] |
RV_UV | texcoord [4] |
A three- or four-sided, flat polygon with a texture.
class is 'Polygon' (polygon.h)
|
color definition for the points. for a textured polygon: shading for a not textured polygon: color |
|
texture coordinates |
|
0=a.bmp, 1=b.bmp,..., -1=Solid colored, For intermediate files: also -2=invisible |
|
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 |
|
index of vertex in the mesh's list |