浏览代码

Linter fixes.

Filip Witosz 6 年之前
父节点
当前提交
f4a089417d
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/Audio/audioSceneComponent.ts

+ 1 - 2
src/Audio/audioSceneComponent.ts

@@ -198,7 +198,6 @@ Object.defineProperty(Scene.prototype, "audioListenerPositionProvider", {
             compo = new AudioSceneComponent(this);
             this._addComponent(compo);
         }
-        
 
         if (typeof value !== 'function') {
             throw new Error('The value passed to [Scene.audioListenerPositionProvider] must be a function that returns a Vector3');
@@ -448,7 +447,7 @@ export class AudioSceneComponent implements ISceneSerializableComponent {
                 audioEngine.audioContext.listener.setPosition(position.x, position.y, position.z);
             } else {
                 var listeningCamera: Nullable<Camera>;
-                
+
                 if (scene.activeCameras.length > 0) {
                     listeningCamera = scene.activeCameras[0];
                 } else {