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

◆ geti16All()

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

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

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

References 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: