Преглед изворни кода

#3277 Rolling back a single line constructor for glowEffect

pixelscommander пре 7 година
родитељ
комит
ec038700b4
1 измењених фајлова са 1 додато и 10 уклоњено
  1. 1 10
      src/Layer/babylon.highlightlayer.ts

+ 1 - 10
src/Layer/babylon.highlightlayer.ts

@@ -4,16 +4,7 @@
      * It enforces keeping the most luminous color in the color channel.
      */
     class GlowBlurPostProcess extends PostProcess {
-        constructor(
-            name: string,
-            public direction: Vector2,
-            public kernel: number,
-            options: number | PostProcessOptions,
-            camera: Nullable<Camera>,
-            samplingMode: number = Texture.BILINEAR_SAMPLINGMODE,
-            engine?: Engine,
-            reusable?: boolean,
-        ) {
+        constructor(name: string, public direction: Vector2, public kernel: number, options: number | PostProcessOptions, camera: Nullable<Camera>, samplingMode: number = Texture.BILINEAR_SAMPLINGMODE, engine?: Engine, reusable?: boolean) {
             super(name, "glowBlurPostProcess", ["screenSize", "direction", "blurWidth"], null, options, camera, samplingMode, engine, reusable);
             
             this.onApplyObservable.add((effect: Effect) => {