Minor fixes
This commit is contained in:
parent
68b24effde
commit
ebabaf6ee5
6 changed files with 21 additions and 21 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue