summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/stereoscopic.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/stereoscopic.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/stereoscopic.asy11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/stereoscopic.asy b/Master/texmf-dist/doc/asymptote/examples/stereoscopic.asy
new file mode 100644
index 00000000000..639333ec476
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/stereoscopic.asy
@@ -0,0 +1,11 @@
+import three;
+
+currentprojection=perspective(50*dir(70,15));
+
+picture pic;
+unitsize(pic,1cm);
+
+draw(pic,xscale3(10)*unitcube,yellow,blue);
+
+addStereoViews(pic);
+