// 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; }
// 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; }