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

Function lmi_w

Descent3/lightmap_info.cpp:175–182  ·  view source on GitHub ↗

Gets the width of this lightmap_info handle

Source from the content-addressed store, hash-verified

173
174// Gets the width of this lightmap_info handle
175int lmi_w(int handle) {
176 if (!LightmapInfo[handle].used) {
177 Int3(); // Get Jason
178 return 0;
179 }
180
181 return (LightmapInfo[handle].width);
182}
183
184// Gets the height of this lightmap_info handle
185int lmi_h(int handle) {

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