Ver Fonte

Fix variable name.

Change the variable name 'cube' to 'klein'.
Patrick Steppan há 7 anos atrás
pai
commit
7058bf8ea3
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      docs/api/geometries/ParametricBufferGeometry.html

+ 2 - 2
docs/api/geometries/ParametricBufferGeometry.html

@@ -37,8 +37,8 @@
 		<code>
 		var geometry = new THREE.ParametricBufferGeometry( THREE.ParametricGeometries.klein, 25, 25 );
 		var material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
-		var cube = new THREE.Mesh( geometry, material );
-		scene.add( cube );
+		var klein = new THREE.Mesh( geometry, material );
+		scene.add( klein );
 		</code>