Beispiel #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="InterpolationSystem"/> class.
 /// </summary>
 /// <param name="maxFps">The maximum FPS, for adjusting positions of newly tracked entities.</param>
 protected InterpolationSystem(float maxFps)
 {
     _frameTime     = new FloatSampling((int)(maxFps / 2));
     _inverseMaxFps = 1f / maxFps;
 }