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

4 lines
176 B
JavaScript

export function velocityPerSecond(velocity, frameDuration) {
return frameDuration ? velocity * (1000 / frameDuration) : 0;
}
//# sourceMappingURL=velocity-per-second.js.map