summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/cylinder.asy
blob: c574f577bbd3b03e86275eba9803b6ffcc2476c2 (plain)
1
2
3
4
5
6
7
import solids;

size(0,100);

revolution r=cylinder(O,1,1.5,Y+Z);
draw(surface(r),green);
draw(r,blue);