From 9c92c38977919e9b87e52d128ac5fdd4238c3e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n?= <58742147+dip000@users.noreply.github.com> Date: Fri, 18 Feb 2022 18:29:09 -0600 Subject: [PATCH] Fully uploadable Has no input to upload --- MapBuilderForWeb/BuilderCalculations.js | 17 ++++++- MapBuilderForWeb/MapBuilder.js | 60 ++++++++++++++++++------- MapBuilderForWeb/MapBuilderForWeb.html | 5 ++- MapBuilderForWeb/MultimapMechanics.js | 33 +++++++++++--- 4 files changed, 89 insertions(+), 26 deletions(-) diff --git a/MapBuilderForWeb/BuilderCalculations.js b/MapBuilderForWeb/BuilderCalculations.js index c485aac..e8bda2b 100644 --- a/MapBuilderForWeb/BuilderCalculations.js +++ b/MapBuilderForWeb/BuilderCalculations.js @@ -152,7 +152,22 @@ return minValue; } - + + function GetMinValues(coordenates){ + let minValue = {x:999, y:999}; + + for( let i=0; i