Class hierarchy   Compound list   File list   Compound Members   File Members  

RV_Poly Struct Reference

polygon definition. More...

Public Members


Detailed Description

polygon definition.

A three- or four-sided, flat polygon with a texture.

class is 'Polygon' (polygon.h)


Member Data Documentation

rvushort RV_Poly::type

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

rvshort RV_Poly::texture

0=a.bmp, 1=b.bmp,..., -1=Solid colored,

For intermediate files: also -2=invisible

rvushort RV_Poly::vertidx[4]

index of vertex in the mesh's list

RVColor RV_Poly::color[4]

color definition for the points. for a textured polygon: shading for a not textured polygon: color

RV_UV RV_Poly::texcoord[4]

texture coordinates


The documentation for this struct was generated from the following file:
Generated at Wed May 31 21:08:20 2000 for Rvtmod/rvglue by doxygen  written by Dimitri van Heesch, © 1997-1998