MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / emitParticles

Method emitParticles

SPlisHSPlasH/Simulation.cpp:665–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665void Simulation::emitParticles()
666{
667 START_TIMING("emitParticles");
668 for (unsigned int i = 0; i < numberOfFluidModels(); i++)
669 {
670 FluidModel *fm = getFluidModel(i);
671 fm->getEmitterSystem()->step();
672 }
673 STOP_TIMING_AVG
674}
675
676void Simulation::animateParticles()
677{

Callers

nothing calls this directly

Calls 2

getEmitterSystemMethod · 0.80
stepMethod · 0.45

Tested by

no test coverage detected