added download 2

This commit is contained in:
2026-03-07 13:18:15 +03:30
parent c3389fa077
commit 2e4389e311
4996 changed files with 7076 additions and 489681 deletions
-9
View File
@@ -1,9 +0,0 @@
const defaultTimestep = (1 / 60) * 1000;
const getCurrentTime = typeof performance !== "undefined"
? () => performance.now()
: () => Date.now();
const onNextFrame = typeof window !== "undefined"
? (callback) => window.requestAnimationFrame(callback)
: (callback) => setTimeout(() => callback(getCurrentTime()), defaultTimestep);
export { defaultTimestep, onNextFrame };