summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/torus.asy
blob: 33d6e6ddb1a4eb6f05b3c93bf68fda1bd8af7e06 (plain)
1
2
3
4
5
6
7
size(200);
import solids;

currentprojection=perspective(5,4,4);

revolution torus=revolution(shift(3X)*Circle(O,1,Y,32),Z,90,345);
draw(surface(torus),green);