summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/shellmethod.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-04 17:26:20 +0000
committerKarl Berry <karl@freefriends.org>2010-07-04 17:26:20 +0000
commit15807e15ade01ea275cb91ba5ea6b660b996406f (patch)
treed929429372f1984140fc0384c2fb73e4845a48a8 /Build/source/utils/asymptote/examples/shellmethod.asy
parentea6aa8ed9ddfe75f76b6bf23e5b8737230be98e7 (diff)
asy 2.00
git-svn-id: svn://tug.org/texlive/trunk@19227 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/examples/shellmethod.asy')
-rw-r--r--Build/source/utils/asymptote/examples/shellmethod.asy8
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/examples/shellmethod.asy b/Build/source/utils/asymptote/examples/shellmethod.asy
index c1c0155ae3a..c8e541f2a62 100644
--- a/Build/source/utils/asymptote/examples/shellmethod.asy
+++ b/Build/source/utils/asymptote/examples/shellmethod.asy
@@ -26,11 +26,13 @@ path p=graph(F,0,2,n,operator ..)--cycle;
surface s=surface(p);
path3 p3=path3(p);
+render render=render(compression=0,merge=true);
+
revolution a=revolution(p3,Y,0,alpha);
-draw(surface(a),color);
-draw(rotate(alpha,Y)*s,color);
+draw(surface(a),color,render);
+draw(rotate(alpha,Y)*s,color,render);
for(int i=0; i < n; ++i)
- draw(surface(blocks[i]),color+opacity(0.5),black);
+ draw(surface(blocks[i]),color+opacity(0.5),black,render);
draw(p3);
xaxis3(Label("$x$",1,align=2X),Arrow3);