fix: stats on 600 frames avg is too much

This commit is contained in:
2025-11-10 17:08:47 +01:00
parent f9c33b875c
commit 897bf46aa2

View File

@@ -4,7 +4,7 @@ const props = withDefaults(defineProps<{ x?: number; y?: number }>(), {
y: 0, y: 0,
}); });
const SAMPLES = 600; const SAMPLES = 60;
let average = { deltaTime: 0, realDeltaTime: 0 }; let average = { deltaTime: 0, realDeltaTime: 0 };
const lastFrames: (typeof average)[] = []; const lastFrames: (typeof average)[] = [];