Increase the range when normalising the distance tot he gateway
This commit is contained in:
parent
5e78f5c788
commit
25a817331f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ function unnormalise_lng(nlng) {
|
||||||
|
|
||||||
function normalise_gateway_distance(distance) {
|
function normalise_gateway_distance(distance) {
|
||||||
return clamp(normalise(distance,
|
return clamp(normalise(distance,
|
||||||
{ min: 0, max: 20000 },
|
{ min: 0, max: 75000 },
|
||||||
{ min: 0, max: 1 }
|
{ min: 0, max: 1 }
|
||||||
), 0, 1);
|
), 0, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue