Explorar o código

Update Group.html

Change the example code to refer to the correct cube (B).
Neil Docherty %!s(int64=8) %!d(string=hai) anos
pai
achega
36db74927b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/api/objects/Group.html

+ 1 - 1
docs/api/objects/Group.html

@@ -28,7 +28,7 @@
 		cubeA.position.set( 100, 100, 0 );
 
 		var cubeB = new THREE.Mesh( geometry, material );
-		cubeA.position.set( -100, -100, 0 );
+		cubeB.position.set( -100, -100, 0 );
 
 		//create a group and add the two cubes
 		//These cubes can now be rotated / scaled etc as a group