Browse Source

Update Group.html

Change the example code to refer to the correct cube (B).
Neil Docherty 8 years ago
parent
commit
36db74927b
1 changed files with 1 additions and 1 deletions
  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 );
 		cubeA.position.set( 100, 100, 0 );
 
 
 		var cubeB = new THREE.Mesh( geometry, material );
 		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
 		//create a group and add the two cubes
 		//These cubes can now be rotated / scaled etc as a group
 		//These cubes can now be rotated / scaled etc as a group