light_s Struct Reference

a light source More...

Collaboration diagram for light_s:
Collaboration graph
[legend]

Data Fields

struct light_snext
emittype_t type
float intensity
vec3_t origin
vec3_t color
vec3_t normal
float stopdot

Detailed Description

a light source

Definition at line 272 of file lightmap.c.


Field Documentation

the color (RGB) of the light

Definition at line 278 of file lightmap.c.

Referenced by BuildLights(), and CalcTextureReflectivity().

brightness

Definition at line 276 of file lightmap.c.

Referenced by BuildLights(), and FinalLightFace().

next light in the chain

Definition at line 273 of file lightmap.c.

spotlight direction

Definition at line 279 of file lightmap.c.

Referenced by AddBrushBevels(), BaseWindingForNode(), BuildFacelights(), MakeHeadnodePortals(), MakeNodePortal(), and PlaneFromPoints().

the origin of the light

Definition at line 277 of file lightmap.c.

spotlights cone

Definition at line 280 of file lightmap.c.

light type

Definition at line 274 of file lightmap.c.


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2