summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/base/three_tube.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/base/three_tube.asy')
-rw-r--r--Build/source/utils/asymptote/base/three_tube.asy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/base/three_tube.asy b/Build/source/utils/asymptote/base/three_tube.asy
index 2eb5e4cf716..281eb0716da 100644
--- a/Build/source/utils/asymptote/base/three_tube.asy
+++ b/Build/source/utils/asymptote/base/three_tube.asy
@@ -296,7 +296,7 @@ struct tube
void operator init(path3 p, real width, render render=defaultrender,
void cylinder(transform3)=Null,
void sphere(transform3, bool half)=Null,
- void tube(path3, path3)=null) {
+ void pipe(path3, path3)=null) {
real r=0.5*width;
void generate(path3 p) {
@@ -380,7 +380,7 @@ struct tube
path3 Center=path3(pre,point,post,b,T.cyclic);
center=center&Center;
- if(tube != null) { // Compute path along tube
+ if(pipe != null) { // Compute path along tube
triple[] pre=new triple[n+1];
triple[] point=new triple[n+1];
triple[] post=new triple[n+1];
@@ -392,7 +392,7 @@ struct tube
point[i+1]=P[3][0];
}
post[n]=S.s[S.index[n-1][0]].P[3][0];
- tube(Center,path3(pre,point,post,b,T.cyclic));
+ pipe(Center,path3(pre,point,post,b,T.cyclic));
}
}
}