FastLED 3.10.8
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 129 of file wave_simulation.cpp.hpp.

130 {
131 if (!has(x, y))
132 return false;
133 *curr = geti16(x, y);
134 *prev = geti16Previous(x, y);
135 *diff = *curr - *prev;
136 return true;
137}
bool has(fl::size x, fl::size y) const FL_NO_EXCEPT
i16 geti16(fl::size x, fl::size y) const FL_NO_EXCEPT
i16 geti16Previous(fl::size x, fl::size y) const FL_NO_EXCEPT

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

+ Here is the call graph for this function: