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

Method cellAtIndex

source/base/StarCellularLightArray.hpp:283–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282template <typename LightTraits>
283auto CellularLightArray<LightTraits>::cellAtIndex(size_t index) const -> Cell const & {
284 starAssert(index < m_width * m_height);
285 return m_cells[index];
286}
287
288template <typename LightTraits>
289auto CellularLightArray<LightTraits>::cellAtIndex(size_t index) -> Cell & {

Callers 2

setCellIndexMethod · 0.80
setCellColumnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected