MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / CollectLight

Function CollectLight

src/utils/vrad/vrad.cpp:1413–1475  ·  view source on GitHub ↗

============= CollectLight ============= */ patch's totallight += new light received to each patch patch's emitlight = addlight (newly received light from GatherLight) patch's addlight = 0 pull received light from children.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

BounceLightFunction · 0.85

Calls 8

VectorFillFunction · 0.85
VectorAddFunction · 0.50
VectorCopyFunction · 0.50
VectorScaleFunction · 0.50
VectorMAFunction · 0.50
SizeMethod · 0.45
ElementMethod · 0.45
InvalidIndexMethod · 0.45

Tested by

no test coverage detected