summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/cylinder.asy
blob: 88ff1394bac7a45efd2dae823c1f05c40f705d6f (plain)
1
2
3
4
5
6
7
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);