瀏覽代碼

fix indentation of code snippet on BoxGeometry page (#26156)

Omar Khalifa 2 年之前
父節點
當前提交
6bc217c259
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      docs/api/en/geometries/BoxGeometry.html

+ 4 - 4
docs/api/en/geometries/BoxGeometry.html

@@ -43,10 +43,10 @@
     <h2>Code Example</h2>
     <h2>Code Example</h2>
 
 
     <code>
     <code>
-    const geometry = new THREE.BoxGeometry( 1, 1, 1 ); 
-    const material = new THREE.MeshBasicMaterial( {color: 0x00ff00} ); 
-    const cube = new THREE.Mesh( geometry, material ); 
-    scene.add( cube );
+const geometry = new THREE.BoxGeometry( 1, 1, 1 ); 
+const material = new THREE.MeshBasicMaterial( {color: 0x00ff00} ); 
+const cube = new THREE.Mesh( geometry, material ); 
+scene.add( cube );
     </code>
     </code>
 
 
     <h2>Constructor</h2>
     <h2>Constructor</h2>