FastLED 3.10.6
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 405 of file wave.h.

405 {
406 // Called automatically in draw. Only invoke this if you want extra
407 // simulation updates.
408 // Update the wave simulation.
409 mWaveSim.update();
410 }
WaveSimulation2D mWaveSim
Definition wave.h:416

References mWaveSim.