Explorar o código

remove superfluous check

Alexander Rose %!s(int64=2) %!d(string=hai) anos
pai
achega
923fbef0e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/mol-gl/shader/spheres.frag.ts

+ 1 - 1
src/mol-gl/shader/spheres.frag.ts

@@ -69,7 +69,7 @@ void main(void){
     if (fragmentDepth < 0.0) discard;
     if (fragmentDepth > 1.0) discard;
 
-    if (interior && fragmentDepth >= 0.0) {
+    if (interior) {
         fragmentDepth = 0.0 + (0.0000001 / vRadius);
     }