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

Method uniqueLocation

source/game/StarWorldGeneration.cpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40Vec2I LiquidWorld::uniqueLocation(Vec2I const& location) const {
41 return m_worldServer->geometry().xwrap(location);
42}
43
44float LiquidWorld::drainLevel(Vec2I const& location) const {
45 if (location[1] > m_worldServer->worldTemplate()->undergroundLevel()) {

Callers

nothing calls this directly

Calls 2

xwrapMethod · 0.45
geometryMethod · 0.45

Tested by

no test coverage detected