summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/cylinder.asy
blob: d326ea579a2931fb24a443bd5fb6fb897078602d (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);
draw(r,blue);