summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/vertexshading.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-01 23:10:25 +0000
committerKarl Berry <karl@freefriends.org>2020-03-01 23:10:25 +0000
commit81abf43d2b32106102462c3fd1b6c52c0b74f6b7 (patch)
tree8ff3cf992c81a46d17219ac528c3cb6fe7467402 /Master/texmf-dist/doc/asymptote/examples/vertexshading.asy
parent668f13d96ea148cade89c8813883c8b5a90cb55e (diff)
asymptote 2.62 support files
git-svn-id: svn://tug.org/texlive/trunk@53988 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/vertexshading.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/vertexshading.asy5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/vertexshading.asy b/Master/texmf-dist/doc/asymptote/examples/vertexshading.asy
index a5555d66f70..fd5e9b2df84 100644
--- a/Master/texmf-dist/doc/asymptote/examples/vertexshading.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/vertexshading.asy
@@ -4,9 +4,12 @@ size(200);
currentprojection=perspective(4,5,5);
+//draw(shift(2Z)*surface(O--X--Y--cycle),blue);
+
draw(surface(unitcircle3,new pen[] {red,green,blue,black}));
draw(surface(shift(Z)*unitsquare3,
- new pen[] {red,green+opacity(0.5),blue,black}));
+ new pen[] {red,green+opacity(0.5),blue,black}),
+ prc() ? nolight : currentlight);
draw(surface(shift(X)*((0,0,0)..controls (1,0,0) and (2,0,0)..(3,0,0)..
controls (2.5,sqrt(3)/2,0) and (2,sqrt(3),0)..
(1.5,3*sqrt(3)/2,0)..