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

Method hueShift

source/core/StarColor.cpp:416–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416void Color::hueShift(float h) {
417 setHue(pfmod(hue() + h, 1.0f));
418}
419
420void Color::fade(float value) {
421 m_data *= (1.0f - value);

Callers 3

renderMethod · 0.80
particleForPlantPartMethod · 0.80
renderMethod · 0.80

Calls 1

pfmodFunction · 0.85

Tested by

no test coverage detected