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