|
FastLED 3.10.6
|
| void fl::anonymous_namespace{gamut_map.cpp.hpp}::clampGamutDrives | ( | i32(&) | drives[3] | ) |
Clamp drives into [0, 1].
The accepted candidate is already in range up to the rounding of the last inverse transform, which can leave a drive a few ULP outside. Clamping makes the postcondition exact rather than nearly true.
Definition at line 91 of file gamut_map.cpp.hpp.
References clampGamutDrives(), fl::FL_NO_EXCEPT, and kGamutFullDrive.
Referenced by clampGamutDrives().
Here is the call graph for this function:
Here is the caller graph for this function: