Sfoglia il codice sorgente

Add missing whitespace

George Corney 5 anni fa
parent
commit
3cb60bf803
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Materials/imageProcessingConfiguration.ts

+ 1 - 1
src/Materials/imageProcessingConfiguration.ts

@@ -508,7 +508,7 @@ export class ImageProcessingConfiguration {
             var inverseHeight = 1 / effect.getEngine().getRenderHeight();
             effect.setFloat2("vInverseScreenSize", inverseWidth, inverseHeight);
 
-            let aspectRatio = overrideAspectRatio != null ? overrideAspectRatio : (inverseHeight/inverseWidth);
+            let aspectRatio = overrideAspectRatio != null ? overrideAspectRatio : (inverseHeight / inverseWidth);
 
             let vignetteScaleY = Math.tan(this.vignetteCameraFov * 0.5);
             let vignetteScaleX = vignetteScaleY * aspectRatio;