FastLED 3.10.8
Loading...
Searching...
No Matches

◆ geti16All()

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

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

333 {
334 if (!has(x))
335 return false;
336 *curr = geti16(x);
337 *prev = geti16Previous(x);
338 *diff = *curr - *prev;
339 return true;
340}
i16 geti16(fl::size x) const FL_NO_EXCEPT
i16 geti16Previous(fl::size x) const FL_NO_EXCEPT
bool has(fl::size x) const FL_NO_EXCEPT

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

Referenced by ~WaveSimulation1D().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: