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

Method clear

src/fl/math/grid.h:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 }
31
32 void clear() {
33 for (u32 i = 0; i < mWidth * mHeight; ++i) {
34 mData[i] = T();
35 }
36 }
37
38 vec2<T> minMax() const {
39 T minValue = mData[0];

Callers 13

simplifyInternalMethod · 0.45
simplifyMethod · 0.45
resetMethod · 0.45
resetMethod · 0.45
resetFunction · 0.45
resetMethod · 0.45
resetMethod · 0.45
resetFunction · 0.45
resetFunction · 0.45
resetFunction · 0.45
resetMethod · 0.45
resetMethod · 0.45

Calls 1

TEnum · 0.85

Tested by 1

resetMethod · 0.36