Synced with mrdoob's branch.

This commit is contained in:
alteredq
2011-03-06 08:51:52 +01:00
3 changed files with 146 additions and 3 deletions
+2 -2
View File
@@ -57,11 +57,11 @@ THREE.Object3D.prototype = {
},
*/
lookAt : function ( target ) {
lookAt : function ( vector ) {
// TODO: Add hierarchy support.
this.matrix.lookAt( this.position, target, this.up );
this.matrix.lookAt( this.position, vector, this.up );
if ( this.rotationAutoUpdate ) {