void InterpreterThread::stepUntilFinished() { FloatingPointGuard floatingPointGuard; while (canStep()) { stepInternal(); } }
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(); }