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

Function CloseRadiosityRun

editor/rad_init.cpp:397–404  ·  view source on GitHub ↗

Shuts down the radiosity stuff, freeing memory, etc

Source from the content-addressed store, hash-verified

395
396// Shuts down the radiosity stuff, freeing memory, etc
397void CloseRadiosityRun() {
398
399 NormalizeExitance();
400 if (Shoot_method == SM_HEMICUBE) {
401 mem_free(rad_FormFactors);
402 CloseHemicube();
403 }
404}
405void Calculate() {
406
407 if (Shoot_method == SM_HEMICUBE)

Callers 1

DoRadiosityRunFunction · 0.85

Calls 2

NormalizeExitanceFunction · 0.85
CloseHemicubeFunction · 0.85

Tested by

no test coverage detected