Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ jsonFromRectI
Function
jsonFromRectI
source/core/StarJsonExtra.cpp:185–187 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
183
}
184
185
Json jsonFromRectI(RectI const& rect) {
186
return JsonArray{rect.xMin(), rect.yMin(), rect.xMax(), rect.yMax()};
187
}
188
189
RectU jsonToRectU(Json const& v) {
190
if (v.type() != Json::Type::Array)
Callers
2
TMXObject
Method · 0.85
store
Method · 0.85
Calls
4
xMin
Method · 0.80
yMin
Method · 0.80
xMax
Method · 0.80
yMax
Method · 0.80
Tested by
no test coverage detected