FastLED 3.10.10
Loading...
Searching...
No Matches

◆ validChromaticity() [1/2]

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

Definition at line 297 of file options.h.

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

References fl::FL_NO_EXCEPT, and xy().

+ Here is the call graph for this function: