mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-18 17:18:08 +08:00
Upgrade version (#363)
This commit is contained in:

committed by
ArthurSonzogni

parent
1a3fcc1bd8
commit
548fa51b71
@@ -147,9 +147,9 @@ Color Color::HSV(uint8_t h, uint8_t s, uint8_t v) {
|
||||
|
||||
// static
|
||||
Color Color::Interpolate(float t, const Color& a, const Color& b) {
|
||||
float red;
|
||||
float green;
|
||||
float blue;
|
||||
float red = 0.f;
|
||||
float green = 0.f;
|
||||
float blue = 0.f;
|
||||
switch (a.type_) {
|
||||
case ColorType::Palette1: {
|
||||
if (t < 0.5)
|
||||
|
Reference in New Issue
Block a user