Ejemplo n.º 1
0
 // Constructor
 public FixedTimeStepSystem(float fixedTimeStep, int maxSteps, SingleStep singleStep, PostStepping postStepping)
 {
     fixedTimestepAccumulator      = 0;
     fixedTimestepAccumulatorRatio = 0;
     this.fixedTimeStep            = fixedTimeStep;
     this.maxSteps     = maxSteps;
     this.singleStep   = singleStep;
     this.postStepping = postStepping;
 }
Ejemplo n.º 2
0
 // Constructor
 public FixedTimeStepSystem(float fixedTimeStep, int maxSteps, SingleStep singleStep, PostStepping postStepping)
 {
     fixedTimestepAccumulator = 0;
     fixedTimestepAccumulatorRatio = 0;
     this.fixedTimeStep = fixedTimeStep;
     this.maxSteps = maxSteps;
     this.singleStep = singleStep;
     this.postStepping = postStepping;
 }