summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/base/three_surface.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-15 22:10:16 +0000
committerKarl Berry <karl@freefriends.org>2021-03-15 22:10:16 +0000
commit6b4bf931afd667843688a868d05d5d9f4f7b5e01 (patch)
tree7cd2ae8df5a9cf955484311e75289458a5cf139c /Build/source/utils/asymptote/base/three_surface.asy
parentf9bc5a2505306058168a7241dc997652bafbbfb7 (diff)
asy 2.70 sources
git-svn-id: svn://tug.org/texlive/trunk@58400 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/base/three_surface.asy')
-rw-r--r--Build/source/utils/asymptote/base/three_surface.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/base/three_surface.asy b/Build/source/utils/asymptote/base/three_surface.asy
index 7d64ad22d72..77bdc6a998a 100644
--- a/Build/source/utils/asymptote/base/three_surface.asy
+++ b/Build/source/utils/asymptote/base/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) {