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

◆ setf()

void fl::WaveSimulation1D::setf ( size_t x,
float value )

Definition at line 272 of file wave_simulation.cpp.

272 {
273 if (!has(x))
274 return;
275 for (uint32_t i = 0; i < multiplier; ++i) {
276 sim->set(x * multiplier + i, value);
277 }
278}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
bool has(size_t x) const
fl::scoped_ptr< WaveSimulation1D_Real > sim

References has(), multiplier, sim, and x.

+ Here is the call graph for this function: