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

Method index

source/base/StarWorldGeometry.hpp:195–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195inline unsigned WorldGeometry::index(int x) const {
196 return (unsigned)xwrap(x);
197}
198
199inline Vec2U WorldGeometry::index(Vec2I const& i) const {
200 return Vec2U(xwrap(i[0]), i[1]);

Callers 2

searchMethod · 0.45
ParametricTableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected