void InterpreterThread::stepUntilFinished() {
     FloatingPointGuard floatingPointGuard;
     while (canStep()) {
         stepInternal();
     }
 }
Exemple #2
0
void ParticleEmitter::step(ParticleData& particles, PxReal dt, const PxVec3& externalAcceleration, PxReal maxParticleVelocity)
{
	initStep(particles, dt);
	stepInternal(particles, dt, externalAcceleration, maxParticleVelocity);
	finalizeStep();
}
 void InterpreterThread::step() {
     FloatingPointGuard floatingPointGuard;
     if (!canStep())
         throw std::domain_error("Can't step");
     stepInternal();
 }