UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
light_s Struct Reference

a light source More...

#include <r_light.h>

Data Fields

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

Detailed Description

a light source

Definition at line 29 of file r_light.h.

Field Documentation

vec3_t light_s::color

the color (RGB) of the light

Definition at line 280 of file lightmap.cpp.

float light_s::intensity

brightness

Definition at line 278 of file lightmap.cpp.

Referenced by BuildLights(), FinalLightFace(), and GatherSampleLight().

struct light_s* light_s::next

next light in the chain

Definition at line 275 of file lightmap.cpp.

Referenced by BuildLights(), and GatherSampleLight().

vec3_t light_s::normal

spotlight direction

Definition at line 281 of file lightmap.cpp.

Referenced by AddBrushBevels(), BuildFacelights(), BuildLights(), GatherSampleLight(), and PlaneFromPoints().

float light_s::stopdot

spotlights cone

Definition at line 282 of file lightmap.cpp.

Referenced by BuildLights(), and GatherSampleLight().

emittype_t light_s::type

light type

Definition at line 276 of file lightmap.cpp.

Referenced by BuildLights(), and GatherSampleLight().


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