MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / green

Method green

source/core/StarColor.cpp:257–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257uint8_t Color::green() const {
258 return uint8_t(round(m_data[1] * 255));
259}
260
261uint8_t Color::blue() const {
262 return uint8_t(round(m_data[2] * 255));

Callers 3

fromMethod · 0.80
jsonFromColorFunction · 0.80
TESTFunction · 0.80

Calls 1

roundFunction · 0.85

Tested by 1

TESTFunction · 0.64