fix: stats on 600 frames avg is too much

This commit is contained in:
2025-11-10 17:08:47 +01:00
parent bb27e9aa9e
commit edc44a47a5

View File

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