Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ renderLightSources
Method
renderLightSources
source/game/StarNpc.cpp:518–520 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
516
}
517
518
void Npc::renderLightSources(RenderCallback* renderCallback) {
519
renderCallback->addLightSources(lightSources());
520
}
521
522
void Npc::setPosition(Vec2F const& pos) {
523
m_movementController->setPosition(pos);
Callers
1
render
Method · 0.45
Calls
1
addLightSources
Method · 0.80
Tested by
no test coverage detected