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

Function UpdateFogFace

Descent3/render.cpp:1551–1555  ·  view source on GitHub ↗

Adds a specular face to draw after the mine has been drawn

Source from the content-addressed store, hash-verified

1549
1550// Adds a specular face to draw after the mine has been drawn
1551void UpdateFogFace(room *rp, face *fp) {
1552 if (Fog_disabled || !Detail_settings.Fog_enabled)
1553 return;
1554 Fog_faces[Num_fog_faces_to_render++] = fp - rp->faces;
1555}
1556
1557// Render a fog layer on top of a face
1558void RenderFogFaces(room *rp) {

Callers 1

RenderFaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected