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

◆ validChromaticity() [1/2]

static bool fl::ChannelOptions::validChromaticity ( Chromaticity xy)
inlinestaticprivate

Definition at line 295 of file options.h.

295 {
296 return xy.x > 0.0f && xy.x < 1.0f && xy.y > 0.0f && xy.y < 1.0f &&
297 xy.x + xy.y <= 1.0f;
298 }
unsigned int xy(unsigned int x, unsigned int y)

References fl::FL_NO_EXCEPT, and xy().

+ Here is the call graph for this function: