Ver Fonte

Update README.md

Use `BoxBufferGeometry` instead of `BoxGeometry`.
Michael Herzog há 4 anos atrás
pai
commit
22f1bdfaed
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -39,7 +39,7 @@ function init() {
 
 
 	scene = new THREE.Scene();
 	scene = new THREE.Scene();
 
 
-	geometry = new THREE.BoxGeometry( 0.2, 0.2, 0.2 );
+	geometry = new THREE.BoxBufferGeometry( 0.2, 0.2, 0.2 );
 	material = new THREE.MeshNormalMaterial();
 	material = new THREE.MeshNormalMaterial();
 
 
 	mesh = new THREE.Mesh( geometry, material );
 	mesh = new THREE.Mesh( geometry, material );
@@ -62,7 +62,7 @@ function animation( time ) {
 }
 }
 ```
 ```
 
 
-If everything went well, you should see [this](https://jsfiddle.net/yf6nks2o/).
+If everything went well, you should see [this](https://jsfiddle.net/9v7eqwu1/).
 
 
 ### Cloning this repository ###
 ### Cloning this repository ###