summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/BezierTriangle.asy
blob: 2942dbf042fe63baa04220cdd759d7dcbc14592b (plain)
1
2
3
4
5
6
7
8
9
10
import three;
currentprojection=perspective(-2,5,1);

size(10cm);

surface s=surface((0,0,0)--(3,0,0)--(1.5,3*sqrt(3)/2,0)--cycle,
                  new triple[] {(1.5,sqrt(3)/2,2)});

draw(s,red);