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

◆ update()

void fl::WaveFx::update ( )
inline

Manually advance wave simulation by one step.

Advances the wave physics simulation by one timestep. Only needed if auto-update is disabled or you want extra simulation steps between frames.

Definition at line 365 of file wave.h.

365 {
366 // Called automatically in draw. Only invoke this if you want extra
367 // simulation updates.
368 // Update the wave simulation.
369 mWaveSim.update();
370 }
WaveSimulation2D mWaveSim
Definition wave.h:376

References mWaveSim.