提交 75de3f18 编写于 作者: M Mr.doob

Updated README with BoxGeometry.

上级 6ff842c0
......@@ -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 ###
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册