Parcourir la source

TransformNode as spatial sound source fix [lint]

Poolminer il y a 5 ans
Parent
commit
5e2baeefc3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;