MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / renderLightSources

Method renderLightSources

source/game/StarVehicle.cpp:350–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350void Vehicle::renderLightSources(RenderCallback* renderer) {
351 renderer->addLightSources(m_networkedAnimator.lightSources(position()));
352 renderer->addLightSources(m_scriptedAnimator.lightSources());
353}
354
355List<LightSource> Vehicle::lightSources() const {
356 auto lightSources = m_networkedAnimator.lightSources(position());

Callers

nothing calls this directly

Calls 2

addLightSourcesMethod · 0.80
lightSourcesMethod · 0.45

Tested by

no test coverage detected