Hue Blend Direction support

This commit is contained in:
Makuna
2016-03-28 12:21:11 -07:00
parent 2c07835340
commit d351014ac8
9 changed files with 143 additions and 19 deletions
-7
View File
@@ -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));
}