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

Method borderCells

source/base/StarCellularLightArray.hpp:219–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217
218template <typename LightTraits>
219size_t CellularLightArray<LightTraits>::borderCells() const {
220 return (size_t)ceil(max(0.0f, max(m_spreadMaxAir, m_pointMaxAir)));
221}
222
223template <typename LightTraits>
224void CellularLightArray<LightTraits>::begin(size_t newWidth, size_t newHeight) {

Callers 1

beginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected