diff options
Diffstat (limited to 'Build/source/utils/asymptote/runarray.in')
-rw-r--r-- | Build/source/utils/asymptote/runarray.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/utils/asymptote/runarray.in b/Build/source/utils/asymptote/runarray.in index 501d36e609f..10469aac7ae 100644 --- a/Build/source/utils/asymptote/runarray.in +++ b/Build/source/utils/asymptote/runarray.in @@ -1915,9 +1915,9 @@ triple minbezier(triplearray2 *P, triple b) size_t N; real *A=copyTripleArray2Components(P,N); bound_double *B=bounddouble(N); - b=triple(B(A,::min,b.getx(),sqrtFuzz*norm(A,N),maxdepth), - B(A+N,::min,b.gety(),sqrtFuzz*norm(A+N,N),maxdepth), - B(A+2*N,::min,b.getz(),sqrtFuzz*norm(A+2*N,N),maxdepth)); + b=triple(B(A,::min,b.getx(),Fuzz*norm(A,N),maxdepth), + B(A+N,::min,b.gety(),Fuzz*norm(A+N,N),maxdepth), + B(A+2*N,::min,b.getz(),Fuzz*norm(A+2*N,N),maxdepth)); delete[] A; return b; } @@ -1927,9 +1927,9 @@ triple maxbezier(triplearray2 *P, triple b) size_t N; real *A=copyTripleArray2Components(P,N); bound_double *B=bounddouble(N); - b=triple(B(A,::max,b.getx(),sqrtFuzz*norm(A,N),maxdepth), - B(A+N,::max,b.gety(),sqrtFuzz*norm(A+N,N),maxdepth), - B(A+2*N,::max,b.getz(),sqrtFuzz*norm(A+2*N,N),maxdepth)); + b=triple(B(A,::max,b.getx(),Fuzz*norm(A,N),maxdepth), + B(A+N,::max,b.gety(),Fuzz*norm(A+N,N),maxdepth), + B(A+2*N,::max,b.getz(),Fuzz*norm(A+2*N,N),maxdepth)); delete[] A; return b; } @@ -1938,7 +1938,7 @@ pair minratio(triplearray2 *P, pair b) { size_t N; triple *A=copyTripleArray2C(P,N); - real fuzz=sqrtFuzz*norm(A,N); + real fuzz=Fuzz*norm(A,N); bound_triple *B=boundtriple(N); b=pair(B(A,::min,xratio,b.getx(),fuzz,maxdepth), B(A,::min,yratio,b.gety(),fuzz,maxdepth)); @@ -1951,7 +1951,7 @@ pair maxratio(triplearray2 *P, pair b) size_t N; triple *A=copyTripleArray2C(P,N); bound_triple *B=boundtriple(N); - real fuzz=sqrtFuzz*norm(A,N); + real fuzz=Fuzz*norm(A,N); b=pair(B(A,::max,xratio,b.getx(),fuzz,maxdepth), B(A,::max,yratio,b.gety(),fuzz,maxdepth)); delete[] A; |