Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ sprite
Method
sprite
src/world/render_world.cpp:2449–2452 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2447
}
2448
2449
SpriteId RenderWorld::SpriteManager::sprite(UnitId unit)
2450
{
2451
return make_instance(hash_map::get(_map, unit, UINT32_MAX));
2452
}
2453
2454
void RenderWorld::SpriteManager::destroy()
2455
{
Callers
2
sprite_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