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

Method get

source/game/terrain/StarCacheSelector.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20float CacheSelector::get(int x, int y) const {
21 return m_cache.get(Vec2I(x, y), [this](Vec2I const& key) {
22 return m_source->get(key[0], key[1]);
23 });
24}
25
26}

Callers 1

CacheSelectorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected