summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/threeviews.asy
blob: 39f9ed4464ea014bf5aac96b49d4560a2bf19918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import three;

picture pic;
size(pic,200);
currentlight.viewport=false;
settings.render=4;

draw(pic,scale3(0.5)*unitsphere,green);
draw(pic,Label("$x$",1),O--X);
draw(pic,Label("$y$",1),O--Y);
draw(pic,Label("$z$",1),O--Z);

addViews(pic);