MCPcopy Create free account
hub / github.com/OpenEnroth/OpenEnroth / GetLightLevelAtPoint

Function GetLightLevelAtPoint

src/Engine/Graphics/LightmapBuilder.cpp:107–181  ·  view source on GitHub ↗

* @offset 0x0043F5C8. * * @param uBaseLightLevel Starting dimming level at point (0-31). * @param uSectorID Sector ID if indoors or 0. * @param x, y, z Co-ords of point. * * @return Dimming level (0-31) with lights effect added. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

BuildAndApplyDecalsMethod · 0.85

Calls 1

int_get_vector_lengthFunction · 0.85

Tested by

no test coverage detected