diff --git a/core/src/gui/widgets/waterfall.cpp b/core/src/gui/widgets/waterfall.cpp index e7abbc71..c1334faf 100644 --- a/core/src/gui/widgets/waterfall.cpp +++ b/core/src/gui/widgets/waterfall.cpp @@ -7,7 +7,6 @@ #include #include #include -#include float DEFAULT_COLOR_MAP[][3] = { {0x00, 0x00, 0x20}, diff --git a/core/src/utils/color.h b/core/src/utils/color.h index 4bb52e53..450dbaa7 100644 --- a/core/src/utils/color.h +++ b/core/src/utils/color.h @@ -41,10 +41,4 @@ namespace color { g += m; b += m; } - - inline void interpRGB(float ar, float ag, float ab, float br, float bg, float bb, float& or, float& og, float& ob, float ratio) { - or = ar + (br - ar) * ratio; - og = ag + (bg - ag) * ratio; - ob = ab + (bb - ab) * ratio; - } } \ No newline at end of file