diff options
Diffstat (limited to 'Build/source/utils/asymptote/examples/torus.asy')
-rw-r--r-- | Build/source/utils/asymptote/examples/torus.asy | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/examples/torus.asy b/Build/source/utils/asymptote/examples/torus.asy new file mode 100644 index 00000000000..33d6e6ddb1a --- /dev/null +++ b/Build/source/utils/asymptote/examples/torus.asy @@ -0,0 +1,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); |