forked from Makuna/NeoPixelBus
Hue Blend Direction support
This commit is contained in:
@@ -66,10 +66,3 @@ HsbColor::HsbColor(const RgbColor& color)
|
||||
S = s;
|
||||
B = v;
|
||||
}
|
||||
|
||||
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),
|
||||
left.B + ((right.B - left.B) * progress));
|
||||
}
|
||||
Reference in New Issue
Block a user