Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
416
void Color::hueShift(float h) {
417
setHue(pfmod(hue() + h, 1.0f));
418
}
419
420
void Color::fade(float value) {
421
m_data *= (1.0f - value);
Callers
3
render
Method · 0.80
particleForPlantPart
Method · 0.80
render
Method · 0.80
Calls
1
pfmod
Function · 0.85
Tested by
no test coverage detected