Browse Source

formatting

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