summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/projectrevolution.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/examples/projectrevolution.asy')
-rw-r--r--Build/source/utils/asymptote/examples/projectrevolution.asy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/examples/projectrevolution.asy b/Build/source/utils/asymptote/examples/projectrevolution.asy
index 25cbe6d4902..8bbe7f38c3d 100644
--- a/Build/source/utils/asymptote/examples/projectrevolution.asy
+++ b/Build/source/utils/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;