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

Function lmi_h

Descent3/lightmap_info.cpp:185–192  ·  view source on GitHub ↗

Gets the height of this lightmap_info handle

Source from the content-addressed store, hash-verified

183
184// Gets the height of this lightmap_info handle
185int lmi_h(int handle) {
186 if (!LightmapInfo[handle].used) {
187 Int3(); // Get Jason
188 return 0;
189 }
190
191 return (LightmapInfo[handle].height);
192}
193
194// TODO: MTS: unused?
195// Softens the edges of lightmaps so there are fewer artifaces

Callers 12

ComputeObjectSurfaceResFunction · 0.85
ComputeSurfaceResFunction · 0.85
BlendLightingEdgesFunction · 0.85
ApplyLightingToSubmodelFunction · 0.85
ApplyLightingToRoomsFunction · 0.85
DestroyLightFunction · 0.85
WriteLightmapChunkFunction · 0.85
ShadeLightmapInfoEdgesFunction · 0.85
BlurLightmapInfosFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected