From 1ae2dd360924e0987c2110e9cb93092c980efa25 Mon Sep 17 00:00:00 2001 From: Michael Mainguy Date: Sat, 4 Nov 2023 12:00:11 -0500 Subject: [PATCH] Updated user function to new api. --- index.html | 28 +---- .../functions/users/{users.ts => users.mts} | 72 ++++++----- package-lock.json | 34 ++++- package.json | 2 +- src/app.ts | 118 +----------------- src/controllers/left.ts | 6 +- src/controllers/right.ts | 6 +- src/controllers/webController.ts | 5 +- .../functions/buildStandardMaterial.ts | 13 ++ src/menus/abstractMenu.ts | 6 +- src/menus/menuHandle.ts | 30 ----- src/objects/handle.ts | 39 ++++++ src/objects/{button.ts => roundButton.ts} | 2 +- src/toolbox/toolbox.ts | 7 +- src/util/customEnvironment.ts | 4 + src/util/functions/groundMeshObserver.ts | 45 +++++++ 16 files changed, 194 insertions(+), 223 deletions(-) rename netlify/functions/users/{users.ts => users.mts} (66%) create mode 100644 src/materials/functions/buildStandardMaterial.ts delete mode 100644 src/menus/menuHandle.ts create mode 100644 src/objects/handle.ts rename src/objects/{button.ts => roundButton.ts} (98%) create mode 100644 src/util/functions/groundMeshObserver.ts diff --git a/index.html b/index.html index 5be3598..d0b0e19 100644 --- a/index.html +++ b/index.html @@ -24,28 +24,8 @@ height: 100%; margin: 0px; padding: 0px; - } - .loader { - position: fixed; - left: 0px; - top: 0px; - width: 200px; - height: 200px; - display: flex; - justify-content: center; - align-content: center; - flex-direction: column; - z-index: -1; - /*noinspection CssUnknownTarget*/ - background: url("/spinner.gif"); - background-position: center; - background-repeat: no-repeat; - text-align: center; - - } - #questLaunch { position: fixed; top: 30px; @@ -69,7 +49,6 @@ background: #000; color: #fff; } - @@ -82,11 +61,11 @@ - -
Launch +