Gregg Tavares 6 lat temu
rodzic
commit
9e68a027e0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      threejs/threejs-game-load-models.html

+ 1 - 1
threejs/threejs-game-load-models.html

@@ -130,7 +130,7 @@ function main() {
   };
   {
     const gltfLoader = new THREE.GLTFLoader(manager);
-    Object.value(models).forEach((model) => {
+    Object.values(models).forEach((model) => {
       gltfLoader.load(model.url, (gltf) => {
         model.gltf = gltf;
       });