XP system
This commit is contained in:
@ -53,7 +53,6 @@ function geomInterpolate(
|
||||
if (x >= highIn) { return lowOut; }
|
||||
|
||||
const proportion = 1.0 - (x - lowIn) / (highIn - lowIn);
|
||||
console.log(`proportion: ${x} ${proportion}`)
|
||||
return lowOut * Math.pow(highOut / lowOut, proportion)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user