summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/hyperboloidsilhouette.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/examples/hyperboloidsilhouette.asy')
-rw-r--r--Build/source/utils/asymptote/examples/hyperboloidsilhouette.asy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/examples/hyperboloidsilhouette.asy b/Build/source/utils/asymptote/examples/hyperboloidsilhouette.asy
index 1187208a670..1bb265de622 100644
--- a/Build/source/utils/asymptote/examples/hyperboloidsilhouette.asy
+++ b/Build/source/utils/asymptote/examples/hyperboloidsilhouette.asy
@@ -4,6 +4,6 @@ settings.render=0;
settings.prc=false;
currentprojection=perspective(4,4,3);
-revolution hyperboloid=revolution(new real(real x) {return sqrt(1+x*x);},
- -2,2,20,operator..,X);
+revolution hyperboloid=revolution(graph(new triple(real z) {
+ return (sqrt(1+z*z),0,z);},-2,2,20,operator ..),axis=Z);
draw(hyperboloid.silhouette(64),blue);