MCPcopy Create free account
hub / github.com/FastLED/FastLED / max3f

Function max3f

src/fl/gfx/rgbw_colorimetric.cpp.hpp:250–252  ·  view source on GitHub ↗

Small leaf helpers used by the solvers below. They are kept local to this translation unit so the public header stays focused on reusable math helpers and type declarations.

Source from the content-addressed store, hash-verified

248// translation unit so the public header stays focused on reusable math helpers
249// and type declarations.
250static float max3f(float a, float b, float c) FL_NOEXCEPT {
251 return fl::max(fl::max(a, b), c);
252}
253
254static void zero4(float out[4]) FL_NOEXCEPT {
255 out[0] = out[1] = out[2] = out[3] = 0.0f;

Callers 5

solve_strict_subgamutFunction · 0.85
solve_wx_lp_legacyFunction · 0.85
solve_wx_overdriveFunction · 0.85

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected