protected void emitWithBurstCheck ( float [ ] particlePositions , float [ ] particleVelocities , float [ ] particleTimeStamps ) { if ( burstMode ) { if ( executeOnce ) { emit ( particlePositions , particleVelocities , particleTimeStamps ) ; executeOnce = false ; } } else { emit ( particlePositions , particleVelocities , particleTimeStamps ) ; } }
If the burst mode is on emit the particles only once .