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

Method geti16All

src/fl/math/wave/wave_simulation.cpp.hpp:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128bool WaveSimulation2D::geti16All(fl::size x, fl::size y, i16 *curr,
129 i16 *prev, i16 *diff) const {
130 if (!has(x, y))
131 return false;
132 *curr = geti16(x, y);
133 *prev = geti16Previous(x, y);
134 *diff = *curr - *prev;
135 return true;
136}
137
138i8 WaveSimulation2D::geti8(fl::size x, fl::size y) const {
139 return static_cast<i8>(geti16(x, y) >> 8);

Callers

nothing calls this directly

Calls 1

hasFunction · 0.85

Tested by

no test coverage detected