Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
195
inline unsigned WorldGeometry::index(int x) const {
196
return (unsigned)xwrap(x);
197
}
198
199
inline Vec2U WorldGeometry::index(Vec2I const& i) const {
200
return Vec2U(xwrap(i[0]), i[1]);
Callers
2
search
Method · 0.45
ParametricTable
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected