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

◆ validChromaticity() [2/2]

static bool fl::ChannelOptions::validChromaticity ( const float xy[2])
inlinestaticprivate

Definition at line 291 of file options.h.

291 {
292 return xy[0] > 0.0f && xy[0] < 1.0f && xy[1] > 0.0f && xy[1] < 1.0f &&
293 xy[0] + xy[1] <= 1.0f;
294 }
unsigned int xy(unsigned int x, unsigned int y)

References fl::FL_NO_EXCEPT, and xy().

Referenced by setColorProfile(), setTargetWhite(), and validPrimaries().

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