summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/cylinder.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/cylinder.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/cylinder.asy7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf/doc/asymptote/examples/cylinder.asy b/Master/texmf/doc/asymptote/examples/cylinder.asy
new file mode 100644
index 00000000000..c574f577bbd
--- /dev/null
+++ b/Master/texmf/doc/asymptote/examples/cylinder.asy
@@ -0,0 +1,7 @@
+import solids;
+
+size(0,100);
+
+revolution r=cylinder(O,1,1.5,Y+Z);
+draw(surface(r),green);
+draw(r,blue);