mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-24 12:25:56 +10:00
Synced with mrdoob's branch.
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user