           float v = a_texcoord.y;
           vec2 o1 = vec2( +t1.y, -t1.x);
           vec2 o2 = vec2( +t2.y, -t2.x);
-                             
+                     
           // This is a join
           // ----------------------------------------------------------------
           if( t1 != t2 ) {

          }        
          // Bevel join
          else if ( type == 2 ) {
              if( (dx < segment.x) ||  (dx > segment.y) )
                  d = max(d, min(abs(miter.x),abs(miter.y)));
          }        
          // Miter limit
          if( (dx < segment.x) ||  (dx > segment.y) ) {
              d = max(d, min(abs(miter.x),abs(miter.y)) - miter_limit*linewidth/2.0 );
          }        
          return d;
      }
      

          {
              v_miter.y = 1e10;
          }
          
          v_texcoord = vec2( u, v*w );
          
          // Calculate position in device coordinates. Note that we 
