mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
back: fix #23
This commit is contained in:
@@ -10,4 +10,4 @@
|
||||
*/
|
||||
export function map(value, oldMin, oldMax, newMin, newMax) {
|
||||
return ((value - oldMin) / (oldMax - oldMin)) * (newMax - newMin) + newMin;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user