Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ light
Method
light
src/world/render_world.cpp:3062–3065 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3060
}
3061
3062
LightId RenderWorld::LightManager::light(UnitId unit)
3063
{
3064
return make_instance(hash_map::get(_map, unit, UINT32_MAX));
3065
}
3066
3067
void RenderWorld::LightManager::destroy()
3068
{
Callers
2
light_instance
Method · 0.80
update_transforms
Method · 0.80
Calls
2
get
Function · 0.85
make_instance
Function · 0.70
Tested by
no test coverage detected