summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/workcone.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/workcone.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/workcone.asy6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/workcone.asy b/Master/texmf-dist/doc/asymptote/examples/workcone.asy
index 5d102d86214..594758bba64 100644
--- a/Master/texmf-dist/doc/asymptote/examples/workcone.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/workcone.asy
@@ -18,9 +18,11 @@ real x2=r*s2/h;
render render=render(compression=0,merge=true);
-path3 p=(0,0,0)--(x,0,s);
+draw(scale(x1,x1,-s1)*shift(-Z)*unitcone,lightblue+opacity(0.5),render);
+
+path3 p=(x2,0,s2)--(x,0,s+0.005);
revolution a=revolution(p,Z);
-draw(surface(a,4),lightblue+opacity(0.5),render);
+draw(surface(a),lightblue+opacity(0.5),render);
path3 q=(x,0,s)--(r,0,h);
revolution b=revolution(q,Z);