FastLED 3.10.6
Loading...
Searching...
No Matches

◆ validChromaticity() [2/2]

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

Definition at line 281 of file options.h.

281 {
282 return xy[0] > 0.0f && xy[0] < 1.0f && xy[1] > 0.0f && xy[1] < 1.0f &&
283 xy[0] + xy[1] <= 1.0f;
284 }
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: