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

Function zero4

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

Source from the content-addressed store, hash-verified

252}
253
254static void zero4(float out[4]) FL_NOEXCEPT {
255 out[0] = out[1] = out[2] = out[3] = 0.0f;
256}
257
258static void normalize4_if_needed(float out[4]) FL_NOEXCEPT {
259 const float m = fl::max(fl::max(out[0], out[1]), fl::max(out[2], out[3]));

Calls

no outgoing calls

Tested by

no test coverage detected