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

◆ geti16All()

bool fl::WaveSimulation2D::geti16All ( fl::size x,
fl::size y,
i16 * curr,
i16 * prev,
i16 * diff ) const

Definition at line 120 of file wave_simulation.cpp.

121 {
122 if (!has(x, y))
123 return false;
124 *curr = geti16(x, y);
125 *prev = geti16Previous(x, y);
126 *diff = *curr - *prev;
127 return true;
128}
int y
Definition simple.h:93
int x
Definition simple.h:92
i16 geti16(fl::size x, fl::size y) const
i16 geti16Previous(fl::size x, fl::size y) const
bool has(fl::size x, fl::size y) const

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

+ Here is the call graph for this function: