FastLED 3.9.15
Loading...
Searching...
No Matches

◆ geti16All()

bool fl::WaveSimulation2D::geti16All ( fl::size x,
fl::size y,
i16 * curr,
i16 * prev,
i16 * diff ) const

Definition at line 128 of file wave_simulation.cpp.hpp.

129 {
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}
i16 geti16(fl::size x, fl::size y) const
i16 geti16Previous(fl::size x, fl::size y) const
bool has(fl::size x, fl::size y) const

References geti16(), geti16Previous(), has(), fl::x, and fl::y.

+ Here is the call graph for this function: