diff options
author | Karl Berry <karl@freefriends.org> | 2010-07-05 00:24:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-07-05 00:24:45 +0000 |
commit | 1fff2e715d8cf25331a3aab6d1324328cbdcf557 (patch) | |
tree | 50cc2d03dbc732b8bf70e46310a43e4bd53d55d6 /Master/texmf/doc/asymptote/examples/shellmethod.asy | |
parent | a06e5c017823a9a6673af33599d3f9fe34b1b7e8 (diff) |
asymptote 2.00
git-svn-id: svn://tug.org/texlive/trunk@19235 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/shellmethod.asy')
-rw-r--r-- | Master/texmf/doc/asymptote/examples/shellmethod.asy | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf/doc/asymptote/examples/shellmethod.asy b/Master/texmf/doc/asymptote/examples/shellmethod.asy index c1c0155ae3a..c8e541f2a62 100644 --- a/Master/texmf/doc/asymptote/examples/shellmethod.asy +++ b/Master/texmf/doc/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); |