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

Method SumBrightness

examples/LuminescentGrand/shared/Painter.cpp:248–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 float fade_factor; // 0->1.0
247
248 float SumBrightness() const {
249 float out = 0;
250 out += n_fill;
251 out += (fade_factor * n_fade0);
252 out += (fade_factor * n_fade1);
253 return out;
254 }
255 };
256
257 // Generator for the DrawPoints struct above.

Callers 1

PaintVuMidNotesFadeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected