Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
delta911turbo committed Feb 12, 2024
1 parent e674abe commit d12ad5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit d12ad5b

Please sign in to comment.