MCPcopy 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
249bool Color::isClear() const {
250 return m_data[3] == 0;
251}
252
253uint8_t Color::red() const {
254 return uint8_t(round(m_data[0] * 255));

Callers 1

lightSourcesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected