Closed pakastin closed 11 years ago
The fix:
var sides = [
{
url: 'textures/cube/Bridge2/posx.jpg',
position: new THREE.Vector3( -512, 0, 0 ),
rotation: new THREE.Euler( 0, Math.PI / 2, 0 )
},
... etc.
Then:
object.position.copy( side.position );
object.rotation.copy( side.rotation );
Ah. Good catch @WestLangley. I was supposed to take a look at what was wrong with that example today but I already was thinking that the problem was in a totally different place.
Ooh. I like your way even better, @mrdoob. :-)
;)
Wow, that was fast - thank you so much! :+1:
This is not working anymore with r59: http://threejs.org/examples/css3d_panorama.html