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

111 {
112 if (!has(x, y))
113 return false;
114 *curr = geti16(x, y);
115 *prev = geti16Previous(x, y);
116 *diff = *curr - *prev;
117 return true;
118}
int y
Definition Audio.ino:72
int x
Definition Audio.ino:71
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: