Browse Source

formating

Alexander Rose 2 years ago
parent
commit
4b819ead1d

+ 11 - 11
src/mol-gl/shader/blend-back-dpoit.frag.ts

@@ -1,20 +1,20 @@
 /**
- * Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
+ * Copyright (c) 2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
  *
  * @author Gianluca Tomasello <giagitom@gmail.com>
  */
 
 export const blendBackDpoit_frag = `
-  precision highp float;
+    precision highp float;
 
-  uniform sampler2D tDpoitBackColor;
-  uniform vec2 uTexSize;
+    uniform sampler2D tDpoitBackColor;
+    uniform vec2 uTexSize;
 
-  void main() {
-      vec2 coords = gl_FragCoord.xy / uTexSize;
-      gl_FragColor = texture2D(tDpoitBackColor, coords);
-      if (gl_FragColor.a == 0.0) {
-          discard;
-      }
-  }
+    void main() {
+        vec2 coords = gl_FragCoord.xy / uTexSize;
+        gl_FragColor = texture2D(tDpoitBackColor, coords);
+        if (gl_FragColor.a == 0.0) {
+            discard;
+        }
+    }
 `;

+ 1 - 1
src/mol-gl/shader/chunks/dpoit-write.glsl.ts

@@ -1,5 +1,5 @@
 /**
- * Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
+ * Copyright (c) 2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
  *
  * @author Gianluca Tomasello <giagitom@gmail.com>
  */

+ 1 - 1
src/mol-gl/shader/evaluate-dpoit.frag.ts

@@ -1,5 +1,5 @@
 /**
- * Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
+ * Copyright (c) 2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
  *
  * @author Gianluca Tomasello <giagitom@gmail.com>
  */