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

Function getSuperSample

examples/Wave2d/Wave2d.h:63–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62
63fl::SuperSample getSuperSample() {
64 switch (int(superSample)) {
65 case 0:
66 return fl::SuperSample::SUPER_SAMPLE_NONE;
67 case 1:
68 return fl::SuperSample::SUPER_SAMPLE_2X;
69 case 2:
70 return fl::SuperSample::SUPER_SAMPLE_4X;
71 case 3:
72 return fl::SuperSample::SUPER_SAMPLE_8X;
73 default:
74 return fl::SuperSample::SUPER_SAMPLE_NONE;
75 }
76}
77
78void triggerRipple(fl::WaveSimulation2D &waveSim) {
79 int x = random(WIDTH);

Callers 1

loopFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected