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

◆ geti16All()

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

Definition at line 112 of file wave_simulation.cpp.

113 {
114 if (!has(x, y))
115 return false;
116 *curr = geti16(x, y);
117 *prev = geti16Previous(x, y);
118 *diff = *curr - *prev;
119 return true;
120}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:82
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:83
int16_t geti16(size_t x, size_t y) const
bool has(size_t x, size_t y) const
int16_t geti16Previous(size_t x, size_t y) const

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

+ Here is the call graph for this function: