浏览代码

Clean up.

Mr.doob 8 年之前
父节点
当前提交
4cbc11091e
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/audio/AudioListener.js

+ 1 - 2
src/audio/AudioListener.js

@@ -113,8 +113,7 @@ AudioListener.prototype = Object.assign( Object.create( Object3D.prototype ), {
 				listener.upY.setValueAtTime( up.y, this.context.currentTime );
 				listener.upY.setValueAtTime( up.y, this.context.currentTime );
 				listener.upZ.setValueAtTime( up.z, this.context.currentTime );
 				listener.upZ.setValueAtTime( up.z, this.context.currentTime );
 
 
-			}
-			else {
+			} else {
 
 
 				listener.setPosition( position.x, position.y, position.z );
 				listener.setPosition( position.x, position.y, position.z );
 				listener.setOrientation( orientation.x, orientation.y, orientation.z, up.x, up.y, up.z );
 				listener.setOrientation( orientation.x, orientation.y, orientation.z, up.x, up.y, up.z );