Minor fixes

This commit is contained in:
Andras Schmelczer 2023-05-27 19:51:11 +01:00
parent 68b24effde
commit ebabaf6ee5
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
6 changed files with 21 additions and 21 deletions

View file

@ -2,7 +2,7 @@ import { clamp } from './clamp';
import { exponentialDecay } from './exponential-decay';
export class DeltaTimeCalculator {
private static FPS_EXPONENTIAL_DECAY_STRENGTH = 0.1;
private static FPS_EXPONENTIAL_DECAY_STRENGTH = 0.01;
private previousTime: DOMHighResTimeStamp | null = null;
private deltaTimeAccumulator: number | null = null;