FastLED 3.10.8
Loading...
Searching...
No Matches

◆ validPrimaries()

static bool fl::ChannelOptions::validPrimaries ( const RgbPrimaries & primaries)
inlinestaticprivate

Definition at line 299 of file options.h.

299 {
300 return validChromaticity(primaries.red) && validChromaticity(primaries.green) &&
301 validChromaticity(primaries.blue) && validChromaticity(primaries.white);
302 }
static bool validChromaticity(const float xy[2]) FL_NO_EXCEPT
Definition options.h:291

References fl::FL_NO_EXCEPT, and validChromaticity().

Referenced by setColorProfile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: