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

Function getShape

examples/Downscale/Downscale.h:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52fl::TimeWarp time_warp;
53
54fl::XYPathPtr getShape(int which) {
55 int len = shapes.size();
56 which = which % len;
57 if (which < 0) {
58 which += len;
59 }
60 return shapes[which];
61}
62
63//////////////////// UI Section /////////////////////////////
64fl::UITitle title("XYPath Demo");

Callers 1

loopFunction · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected