Browse Source

TransformNode as spatial sound source fix [lint]

Poolminer 5 năm trước cách đây
mục cha
commit
5e2baeefc3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Audio/sound.ts

+ 1 - 1
src/Audio/sound.ts

@@ -942,7 +942,7 @@ export class Sound {
             this.setPosition(TmpVectors.Matrix[0].getTranslation());
         }
         else {
-            if(!(<any>node).getBoundingInfo){
+            if (!(<any>node).getBoundingInfo) {
                 this.setPosition(node.position);
             } else {
                 let mesh = node as AbstractMesh;