mrdoob/three.js — comment on commit 9809101319612e9e0abc9f13e7b42c22cd569e24
File:  line 0
By mrdoob:

More or less... this is what I've tried:

```javascript
geometry = new THREE.CubeGeometry( 200, 200, 200, 1, 1, 1 );

cube = new THREE.Mesh( geometry, new THREE.MeshBasicMaterial( { color: 0xff0000, wireframe: true } ) );
cube.position.y = 150;
cube.rotation.y = - 2;
cube.scale.x = 2;
scene.add( cube );

cube2 = new THREE.Mesh( geometry, new THREE.MeshBasicMaterial( { color: 0x0000ff, wireframe: true } ) );
cube2.position.z = 150;
cube2.rotation.x = 2;
```

Then this

```javascript
cube.add( cube2 );
```

and this

```javascript
cube.updateMatrix();
cube2.updateMatrix();
cube2.applyMatrix( cube.matrix );
scene.add( cube2 );
```

should produce the same.

Position and scale works fine, rotation isn't perfect.