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 228 of file wave_simulation.cpp.

229 {
230 if (!has(x))
231 return false;
232 *curr = geti16(x);
233 *prev = geti16Previous(x);
234 *diff = *curr - *prev;
235 return true;
236}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
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: