diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/asymptote-manual-zh/src/cube.asy')
-rw-r--r-- | Master/texmf-dist/doc/support/asymptote-manual-zh/src/cube.asy | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/asymptote-manual-zh/src/cube.asy b/Master/texmf-dist/doc/support/asymptote-manual-zh/src/cube.asy new file mode 100644 index 00000000000..436e1e2729f --- /dev/null +++ b/Master/texmf-dist/doc/support/asymptote-manual-zh/src/cube.asy @@ -0,0 +1,16 @@ +import three; +dotgranularity=0; // Render dots as spheres. + +currentprojection=orthographic(5,4,2,center=true); + +size(5cm); +size3(3cm,5cm,8cm); + +draw(unitbox); + +dot(unitbox,red); + +label("$O$",(0,0,0),NW); +label("(1,0,0)",(1,0,0),S); +label("(0,1,0)",(0,1,0),E); +label("(0,0,1)",(0,0,1),Z); |