diff options
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/vertexshading.asy')
-rw-r--r-- | Master/texmf-dist/doc/asymptote/examples/vertexshading.asy | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/vertexshading.asy b/Master/texmf-dist/doc/asymptote/examples/vertexshading.asy new file mode 100644 index 00000000000..ea97b98daf3 --- /dev/null +++ b/Master/texmf-dist/doc/asymptote/examples/vertexshading.asy @@ -0,0 +1,9 @@ +import three; + +size(200); + +currentprojection=perspective(4,5,5); + +draw(surface(unitcircle3,new pen[] {red,green,blue,white})); +draw(surface(shift(Z)*unitsquare3, + new pen[] {red,green+opacity(0.5),blue,black})); |