Explorar o código

test ios fix2

Gregg Tavares %!s(int64=6) %!d(string=hai) anos
pai
achega
9e68a027e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
       });