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

◆ geti16All()

bool fl::WaveSimulation1D::geti16All ( size_t x,
int16_t * curr,
int16_t * prev,
int16_t * diff ) const

Definition at line 286 of file wave_simulation.cpp.

287 {
288 if (!has(x))
289 return false;
290 *curr = geti16(x);
291 *prev = geti16Previous(x);
292 *diff = *curr - *prev;
293 return true;
294}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:82
int16_t geti16(size_t x) const
bool has(size_t x) const
int16_t geti16Previous(size_t x) const

References geti16(), geti16Previous(), has(), and x.

+ Here is the call graph for this function: