In file include/csengine/polygon.h:

struct csPolygonLightInfo

Structure containing lighting information valid for all types of polygons

float cosinus_factor
This field describes how the light hitting this polygon is affected by the angle by which the beam hits the polygon
bool dyn_dirty
True if we have a dirty polygon due to dynamic lighting
csColor flat_color
Flat shading color
csLightPatch* lightpatches
List of light patches for this polygon

Documentation

Structure containing lighting information valid for all types of polygons
float cosinus_factor
This field describes how the light hitting this polygon is affected by the angle by which the beam hits the polygon. If this value is equal to -1 (default) then the global csPolyTexture::cfg_cosinus_factor will be used.

csColor flat_color
Flat shading color

csLightPatch* lightpatches
List of light patches for this polygon

bool dyn_dirty
True if we have a dirty polygon due to dynamic lighting

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de