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

96 {
97 if (!has(x, y))
98 return false;
99 *curr = geti16(x, y);
100 *prev = geti16Previous(x, y);
101 *diff = *curr - *prev;
102 return true;
103}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:81
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: