Gregg Tavares hace 6 años
padre
commit
fe0e5ca8e5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      threejs/lessons/threejs-multiple-scenes.md

+ 2 - 1
threejs/lessons/threejs-multiple-scenes.md

@@ -397,7 +397,8 @@ const sceneInitFunctionsByName = {
     scene.add(mesh);
     return (time, rect) => {
       mesh.rotation.y = time * .1;
-      camera.aspect = rect.width / rect.height;      camera.updateProjectionMatrix();
+      camera.aspect = rect.width / rect.height;
+      camera.updateProjectionMatrix();
       renderer.render(scene, camera);
     };
   },