2026-05-31 13:54:31 +02:00

6 lines
121 B
JavaScript

function velocityPerFrame(xps, frameDuration) {
return xps / (1000 / frameDuration);
}
export { velocityPerFrame };