Browse Source

test ios fix2

Gregg Tavares 6 years ago
parent
commit
9e68a027e0
1 changed files with 1 additions and 1 deletions
  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;
       });