Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ isClear
Method
isClear
source/core/StarColor.cpp:249–251 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
247
}
248
249
bool Color::isClear() const {
250
return m_data[3] == 0;
251
}
252
253
uint8_t Color::red() const {
254
return uint8_t(round(m_data[0] * 255));
Callers
1
lightSources
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected