From d12ad5b986bb4e3dafe9db5ca6a8e8f1cadcffd4 Mon Sep 17 00:00:00 2001 From: Delta911Turbo Date: Mon, 12 Feb 2024 00:54:56 -0600 Subject: [PATCH] Update script.js --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index d414601..f860f6f 100644 --- a/script.js +++ b/script.js @@ -32,7 +32,7 @@ loaderScript.onload = () => { // Load 3D model const modelPath = './3dmodels/HoleHead.glb'; - function loadModel(modelPath) { + function loadModel(path) { return new Promise((resolve, reject) => { fetch(modelPath) .then(response => response.arrayBuffer())