26 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
36 double hh, p,
q, t, ff;
44 return DrawColor24Bit{(Ice::Byte)(r * 255), (Ice::Byte)(g * 255), (Ice::Byte)(b * 255)};
54 p = in.v * (1.0 - in.s);
55 q = in.v * (1.0 - (in.s * ff));
56 t = in.v * (1.0 - (in.s * (1.0 - ff)));
94 return DrawColor24Bit{(Ice::Byte)(r * 255), (Ice::Byte)(g * 255), (Ice::Byte)(b * 255)};
100 double r = 0.00392156862 * in.r;
101 double g = 0.00392156862 * in.g;
102 double b = 0.00392156862 * in.b;
122 out.s = (delta /
max);
134 out.h = (g - b) / delta;
138 out.h = 2.0 + (b - r) / delta;
142 out.h = 4.0 + (r - g) / delta;
165 return HsvColor{((1.0f - percentage) * 240.f), 1.0f, 1.0f};
178 return DrawColor{0.0039215686f * color.r,
179 0.0039215686f * color.g,
180 0.0039215686f * color.b,