diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-31 00:02:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-31 00:02:26 +0000 |
commit | 19fc9fd9a26973d87fad437ce549ffaba479df54 (patch) | |
tree | f40a9d2592b3cf827970c8bf54a1eebf9cc8f9c0 /Build/source/utils/asymptote/examples/hyperboloid.asy | |
parent | 24b3bac312553b2cc61e94fda581aba311967f5c (diff) |
asy 2.16 sources
git-svn-id: svn://tug.org/texlive/trunk@26734 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/examples/hyperboloid.asy')
-rw-r--r-- | Build/source/utils/asymptote/examples/hyperboloid.asy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/examples/hyperboloid.asy b/Build/source/utils/asymptote/examples/hyperboloid.asy index 0cf6da08c40..22f3b3d80b0 100644 --- a/Build/source/utils/asymptote/examples/hyperboloid.asy +++ b/Build/source/utils/asymptote/examples/hyperboloid.asy @@ -2,7 +2,7 @@ size(200); import solids; 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(surface(hyperboloid),green,render(compression=Low,merge=true)); draw(hyperboloid,6,blue,longitudinalpen=nullpen); |