Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ jsonFromVec3F
Function
jsonFromVec3F
source/core/StarJsonExtra.cpp:88–90 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
86
}
87
88
Json jsonFromVec3F(Vec3F const& v) {
89
return JsonArray{v[0], v[1], v[2]};
90
}
91
92
Vec3I jsonToVec3I(Json const& v) {
93
if (v.type() != Json::Type::Array || v.size() != 3)
Callers
1
jsonFromMat3F
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected