reset method

void reset()

Removes every live particle and rewinds the clock (the seed stream and fractional spawn accumulator reset, so a restart replays identically).

Implementation

void reset() {
  storage.clear();
  spawner.reset();
  _accumulator = 0.0;
  _systemTime = 0.0;
}