Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ blue
Method
blue
source/core/StarColor.cpp:261–263 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
259
}
260
261
uint8_t Color::blue() const {
262
return uint8_t(round(m_data[2] * 255));
263
}
264
265
uint8_t Color::alpha() const {
266
return uint8_t(m_data[3] * 255);
Callers
3
from
Method · 0.80
jsonFromColor
Function · 0.80
TEST
Function · 0.80
Calls
1
round
Function · 0.85
Tested by
1
TEST
Function · 0.64