summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/torus.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/torus.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/torus.asy7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf/doc/asymptote/examples/torus.asy b/Master/texmf/doc/asymptote/examples/torus.asy
new file mode 100644
index 00000000000..33d6e6ddb1a
--- /dev/null
+++ b/Master/texmf/doc/asymptote/examples/torus.asy
@@ -0,0 +1,7 @@
+size(200);
+import solids;
+
+currentprojection=perspective(5,4,4);
+
+revolution torus=revolution(shift(3X)*Circle(O,1,Y,32),Z,90,345);
+draw(surface(torus),green);