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