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

Method setRectangularGrid

src/fl/math/xymap.cpp.hpp:110–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void XYMap::setRectangularGrid() {
111 type = kLineByLine;
112 xyFunction = nullptr;
113 mLookUpTable.reset();
114}
115
116u16 XYMap::mapToIndex(const u16 &x, const u16 &y) const {
117 u16 index;

Callers 1

ScaleUpMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected