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

Method addLightSources

source/game/StarEntityRendering.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void RenderCallback::addLightSources(List<LightSource> lightSources, Vec2F translate) {
17 for (auto& lightSource : lightSources) {
18 lightSource.translate(translate);
19 addLightSource(std::move(lightSource));
20 }
21}
22
23void RenderCallback::addParticles(List<Particle> particles, Vec2F translate) {
24 for (auto& particle : particles) {

Callers 7

renderLightSourcesMethod · 0.80
renderLightSourcesMethod · 0.80
renderLightSourcesMethod · 0.80
renderLightSourcesMethod · 0.80
renderLightSourcesMethod · 0.80
renderLightsMethod · 0.80
renderLightSourcesMethod · 0.80

Calls 1

translateMethod · 0.45

Tested by

no test coverage detected