lookAt method

FirstPersonControls lookAt(
  1. dynamic x,
  2. dynamic y,
  3. dynamic z
)

Implementation

FirstPersonControls lookAt ( x, y, z ) {
	if ( x.isVector3 ) {
		target.copy( x );
	} else {
		target.set( x, y, z );
	}

	this.object.lookAt( target );
	setOrientation( this );
	return this;
}