Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csPolygonLightInfo Struct Reference

Structure containing lighting information valid for all types of polygons. More...

#include <polygon.h>

List of all members.

Public Attributes

float cosinus_factor
 This field describes how the light hitting this polygon is affected by the angle by which the beam hits the polygon. More...

csLightPatch* lightpatches
 List of light patches for this polygon.

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


Detailed Description

Structure containing lighting information valid for all types of polygons.


Member Data Documentation

float csPolygonLightInfo::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.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000