summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/saddle.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/saddle.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/saddle.asy7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/saddle.asy b/Master/texmf-dist/doc/asymptote/examples/saddle.asy
new file mode 100644
index 00000000000..0180bf125a6
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/saddle.asy
@@ -0,0 +1,7 @@
+import three;
+
+size(100,0);
+path3 g=(1,0,0)..(0,1,1)..(-1,0,0)..(0,-1,1)..cycle;
+draw(g);
+draw(((-1,-1,0)--(1,-1,0)--(1,1,0)--(-1,1,0)--cycle));
+dot(g,red);