lightinfo_t Struct Reference

lightinfo is a temporary bucket for lighting calculations More...

Collaboration diagram for lightinfo_t:
Collaboration graph
[legend]

Data Fields

vec_t facedist
vec3_t facenormal
int numsurfpt
vec3_tsurfpt
vec3_t modelorg
vec3_t texorg
vec3_t worldtotex [2]
vec3_t textoworld [2]
int texmins [2]
int texsize [2]
dBspSurface_tface

Detailed Description

lightinfo is a temporary bucket for lighting calculations

Definition at line 37 of file lightmap.c.


Field Documentation

Definition at line 38 of file lightmap.c.

Referenced by BuildFacelights(), and CalcLightinfoVectors().

Definition at line 39 of file lightmap.c.

Referenced by BuildFacelights(), and CalcLightinfoVectors().

for origined bmodels

Definition at line 44 of file lightmap.c.

Referenced by CalcLightinfoVectors().

Definition at line 41 of file lightmap.c.

Referenced by BuildFacelights(), and CalcLightinfoVectors().

Definition at line 42 of file lightmap.c.

Referenced by BuildFacelights(), CalcLightinfoVectors(), and CalcPoints().

Definition at line 50 of file lightmap.c.

Referenced by CalcLightinfoExtents(), and CalcPoints().

Definition at line 46 of file lightmap.c.

Referenced by CalcLightinfoVectors(), and CalcPoints().

Definition at line 50 of file lightmap.c.

Referenced by CalcLightinfoExtents(), CalcLightinfoVectors(), and CalcPoints().

world = texorg + s * textoworld[0]

Definition at line 48 of file lightmap.c.

Referenced by CalcLightinfoVectors(), and CalcPoints().

s = (world - texorg) . worldtotex[0]

Definition at line 47 of file lightmap.c.

Referenced by CalcLightinfoVectors().


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

Generated by  doxygen 1.6.2