Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ setGreen
Method
setGreen
source/core/StarColor.cpp:289–291 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
287
}
288
289
void Color::setGreen(uint8_t g) {
290
m_data[1] = g / 255.0f;
291
}
292
293
void Color::setBlue(uint8_t b) {
294
m_data[2] = b / 255.0f;
Callers
3
fromUint32
Method · 0.80
to
Method · 0.80
jsonToColor
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected