浏览代码

formatting

Gregg Tavares 6 年之前
父节点
当前提交
fe0e5ca8e5
共有 1 个文件被更改,包括 2 次插入1 次删除
  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);
     };
   },