Переглянути джерело

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();
 		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 } );
 		material = new THREE.MeshBasicMaterial( { color: 0xff0000, wireframe: true } );
 
 
 		mesh = new THREE.Mesh( geometry, material );
 		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>
 </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 ###
 ### Change log ###