diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-14 23:55:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-14 23:55:19 +0000 |
commit | da1f4b4b53c65c7dc07081018a7f7c2fa991978f (patch) | |
tree | f5fb25e25602c508ab97092d59963a28d9c4efb8 /Master/texmf/doc/asymptote/examples/washer.asy | |
parent | 68651406885f7b6aa9838a395237fd51a127e99f (diff) |
asymptote 1.98
git-svn-id: svn://tug.org/texlive/trunk@18984 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/washer.asy')
-rw-r--r-- | Master/texmf/doc/asymptote/examples/washer.asy | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf/doc/asymptote/examples/washer.asy b/Master/texmf/doc/asymptote/examples/washer.asy index 083039e55a3..457ae69fb83 100644 --- a/Master/texmf/doc/asymptote/examples/washer.asy +++ b/Master/texmf/doc/asymptote/examples/washer.asy @@ -5,8 +5,9 @@ path3[] p=reverse(unitcircle3)^^scale3(0.5)*unitcircle3; path[] g=reverse(unitcircle)^^scale(0.5)*unitcircle; triple H=-0.4Z; -draw(surface(p,planar=true)); -draw(surface(shift(H)*p,planar=true)); +render render=render(merge=true); +draw(surface(p,planar=true),render); +draw(surface(shift(H)*p,planar=true),render); material m=material(lightgray,shininess=1.0); for(path pp : g) draw(extrude(pp,H),m); |