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

Method calculationRegion

source/base/StarCellularLighting.cpp:102–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102RectI CellularLightingCalculator::calculationRegion() const {
103 return m_calculationRegion;
104}
105
106void CellularLightingCalculator::addSpreadLight(Vec2F const& position, Vec3F const& light) {
107 Vec2F arrayPosition = position - Vec2F(m_calculationRegion.min());

Callers 3

lightingTileGatherMethod · 0.80
lightingCalcMethod · 0.80
lightLevelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected