diff options
Diffstat (limited to 'Master/texmf-dist/asymptote/three_surface.asy')
-rw-r--r-- | Master/texmf-dist/asymptote/three_surface.asy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/three_surface.asy b/Master/texmf-dist/asymptote/three_surface.asy index 7d64ad22d72..77bdc6a998a 100644 --- a/Master/texmf-dist/asymptote/three_surface.asy +++ b/Master/texmf-dist/asymptote/three_surface.asy @@ -546,7 +546,7 @@ path[] regularize(path p, bool checkboundary=true) path g=subpath(p,t,t+length(p)); int L=length(g); pair z=point(g,0); - real[] T=intersections(g,z,z+I*dir); + real[] T=intersections(g,z,z+I*abs(z)*dir); for(int i=0; i < T.length; ++i) { real cut=T[i]; if(cut > sqrtEpsilon && cut < L-sqrtEpsilon) { |