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