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

114 {
115 if (!has(x, y))
116 return false;
117 *curr = geti16(x, y);
118 *prev = geti16Previous(x, y);
119 *diff = *curr - *prev;
120 return true;
121}
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: