瀏覽代碼

Updated README with BoxGeometry.

Mr.doob 11 年之前
父節點
當前提交
75de3f1803
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -35,7 +35,7 @@ This code creates a scene, then creates a camera, adds the camera and cube to th
 
 		scene = new THREE.Scene();
 
-		geometry = new THREE.CubeGeometry( 200, 200, 200 );
+		geometry = new THREE.BoxGeometry( 200, 200, 200 );
 		material = new THREE.MeshBasicMaterial( { color: 0xff0000, wireframe: true } );
 
 		mesh = new THREE.Mesh( geometry, material );
@@ -62,7 +62,7 @@ This code creates a scene, then creates a camera, adds the camera and cube to th
 
 </script>
 ```
-If everything went well you should see [this](http://jsfiddle.net/HptjJ/).
+If everything went well you should see [this](http://jsfiddle.net/Gy4w7/).
 
 ### Change log ###