Increase the range when normalising the distance tot he gateway

master
Starbeamrainbowlabs 4 years ago
parent 5e78f5c788
commit 25a817331f
  1. 2
      common/Normalisers.mjs

@ -32,7 +32,7 @@ function unnormalise_lng(nlng) {
function normalise_gateway_distance(distance) {
return clamp(normalise(distance,
{ min: 0, max: 20000 },
{ min: 0, max: 75000 },
{ min: 0, max: 1 }
), 0, 1);
}

Loading…
Cancel
Save