A bunch of perks

This commit is contained in:
Renan LE CARO 2025-03-19 21:58:08 +01:00
parent 5abbf5263e
commit dce41a43ec
9 changed files with 2125 additions and 1372 deletions

View file

@ -103,6 +103,10 @@ export function distanceBetween(
return Math.sqrt(distance2(a, b));
}
export function clamp(value, min, max){
return Math.max(min, Math.min(value, max))
}
export function defaultSounds() {
return {
aboutToPlaySound: {