clear method

void clear()

Removes all live particles.

Implementation

void clear() => _length = 0;