Constructor from hsv8 - converts HSV color to RGB
| 22 | |
| 23 | /// Constructor from hsv8 - converts HSV color to RGB |
| 24 | CRGB::CRGB(const hsv8& rhs) { |
| 25 | CHSV hsv_color(rhs.h, rhs.s, rhs.v); |
| 26 | CRGB rgb_result; |
| 27 | hsv2rgb_rainbow(hsv_color, rgb_result); |
| 28 | r = rgb_result.r; |
| 29 | g = rgb_result.g; |
| 30 | b = rgb_result.b; |
| 31 | } |
| 32 | |
| 33 | /// Assignment operator from hsv8 - converts HSV color to RGB |
| 34 | CRGB& CRGB::operator=(const hsv8& rhs) FL_NOEXCEPT { |
nothing calls this directly
no test coverage detected