class csLightPatch A light patch
| | GetLight () Get the light that this light patch belongs too |
| | GetNextLight () Get the next light patch as seen from the standpoint of the light |
| | GetNextPoly () Get next light patch as seen from the standpoint of the polygon |
| | GetPolygon () Get the polygon that this light patch belongs too |
| | Initialize (int n) Make room for the specified number of vertices and initialize to start a new light patch |
| | RemovePatch () Remove this light patch (unlink from all lists) |
| | light Light that this light patch originates from. |
| | max_vertices Maximum number of vertices. |
| | num_vertices Current number of vertices. |
| | polygon Polygon that this light patch is for. |
| | shadows List of shadow frustrums. |
| | vertices Vertices. |
| | csLightPatch () Create an empty light patch (infinite frustrum) |
| | ~csLightPatch () Unlink this light patch from the polygon and the light and then destroy |
A light patch. This is a 3D polygon which fits on a world level 3D polygon and defines where the light hits the polygon. There is a list of light patches in every polygon (all dynamic lights hitting a polygon will give rise to a seperate light patch) and there is a list of light patches in every dynamic light (representing all polygons that are hit by that particular light).
int num_vertices
int max_vertices
csPolygon3D* polygon
csDynLight* light
csFrustrumList shadows
csLightPatch()
~csLightPatch()
void Initialize(int n)
void RemovePatch()
csPolygon3D* GetPolygon()
csDynLight* GetLight()
csLightPatch* GetNextPoly()
csLightPatch* GetNextLight()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de