From 25a817331f96d73a121aafe0472f2ea6490b1c7b Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 6 Aug 2019 12:10:23 +0100 Subject: [PATCH] Increase the range when normalising the distance tot he gateway --- common/Normalisers.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Normalisers.mjs b/common/Normalisers.mjs index 59dfac4..ab39a36 100644 --- a/common/Normalisers.mjs +++ b/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); }