Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RV_Poly Struct Reference

polygon definition. More...

#include <rvtypes.h>

List of all members.

Public Attributes

rvushort type
rvshort texture
rvushort vertidx [4]
RVColor color [4]
RV_UV texcoord [4]


Detailed Description

polygon definition.

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

class is 'Polygon' (polygon.h)


Member Data Documentation

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

rvshort RV_Poly::texture
 

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

For intermediate files: also -2=invisible

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

rvushort RV_Poly::vertidx[4]
 

index of vertex in the mesh's list


The documentation for this struct was generated from the following file:
Generated at Fri Jul 26 09:34:00 2002 for rvtmod/rvglue by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000