summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/projectrevolution.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-08 18:41:28 +0000
committerKarl Berry <karl@freefriends.org>2013-04-08 18:41:28 +0000
commita3358f7394e3adabeff44a4858bab8f13cbe1180 (patch)
tree014354d566c06a47c483b7231af921247180f770 /Master/texmf-dist/doc/asymptote/examples/projectrevolution.asy
parent11bcd1a52098dab6ac5baa790409a2261a31755f (diff)
asymptote 2.21
git-svn-id: svn://tug.org/texlive/trunk@29753 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/projectrevolution.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/projectrevolution.asy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/projectrevolution.asy b/Master/texmf-dist/doc/asymptote/examples/projectrevolution.asy
index 25cbe6d4902..8bbe7f38c3d 100644
--- a/Master/texmf-dist/doc/asymptote/examples/projectrevolution.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/projectrevolution.asy
@@ -5,8 +5,8 @@ currentprojection=orthographic(20,0,3);
size(400,300,IgnoreAspect);
-revolution r=revolution(new real(real x) {return sin(x)*exp(-x/2);},
- 0,2pi,operator ..,Z);
+revolution r=revolution(graph(new triple(real x) {
+ return (x,0,sin(x)*exp(-x/2));},0,2pi,operator ..),axis=Z);
surface s=surface(r);
surface S=planeproject(shift(-Z)*unitsquare3)*s;