forked from Makuna/NeoPixelBus
Topology, Curves, Gamma, and Samples
Topology, Tiles, and Mosaic layout Animation Curves Color Gamma correct change timescale dynamically on NeoPixelAnimator bilinear color blend methods new samples to support new features
This commit is contained in:
@@ -67,7 +67,7 @@ HsbColor::HsbColor(const RgbColor& color)
|
||||
B = v;
|
||||
}
|
||||
|
||||
HsbColor HsbColor::LinearBlend(HsbColor left, HsbColor right, float progress)
|
||||
HsbColor HsbColor::LinearBlend(const HsbColor& left, const HsbColor& right, float progress)
|
||||
{
|
||||
return HsbColor(left.H + ((right.H - left.H) * progress),
|
||||
left.S + ((right.S - left.S) * progress),
|
||||
|
||||
Reference in New Issue
Block a user