Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ Drawable
Method
Drawable
source/game/StarDrawable.cpp:108–109 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
106
}
107
108
Drawable::Drawable()
109
: color(Color::White), fullbright(false) {}
110
111
Drawable::Drawable(Json const& json) {
112
if (auto line = json.opt(
"line"
)) {
Callers
nothing calls this directly
Calls
15
jsonToLine2F
Function · 0.85
jsonToPolyF
Function · 0.85
identity
Class · 0.85
jsonToMat3F
Function · 0.85
singleton
Class · 0.85
getFloat
Method · 0.80
getBool
Method · 0.80
imageMetadataDatabase
Method · 0.80
optFloat
Method · 0.80
opt
Method · 0.45
toString
Method · 0.45
imageSize
Method · 0.45
Tested by
no test coverage detected