MCPcopy Create free account
hub / github.com/FastLED/FastLED / update

Method update

src/fl/fx/2d/wave.h:365–370  ·  view source on GitHub ↗

@brief 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.

Source from the content-addressed store, hash-verified

363 /// Only needed if auto-update is disabled or you want extra
364 /// simulation steps between frames.
365 void update() {
366 // Called automatically in draw. Only invoke this if you want extra
367 // simulation updates.
368 // Update the wave simulation.
369 mWaveSim.update();
370 }
371
372 /// @brief Get effect name
373 /// @return "WaveFx"

Callers 2

drawMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected