MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / InitExitance

Function InitExitance

editor/rad_init.cpp:207–213  ·  view source on GitHub ↗

Initializes the exitances for all surfaces

Source from the content-addressed store, hash-verified

205
206// Initializes the exitances for all surfaces
207void InitExitance() {
208 int i;
209
210 for (i = 0; i < rad_NumSurfaces; i++) {
211 SetExitanceForSurface(&rad_Surfaces[i]);
212 }
213}
214
215// Gets the spectral emittance for a surface
216void GetEmittance(rad_surface *surf, spectra *dest) { *dest = surf->emittance; }

Callers 1

InitRadiosityRunFunction · 0.85

Calls 1

SetExitanceForSurfaceFunction · 0.85

Tested by

no test coverage detected