diff options
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/vertexshading.asy')
-rw-r--r-- | Master/texmf/doc/asymptote/examples/vertexshading.asy | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf/doc/asymptote/examples/vertexshading.asy b/Master/texmf/doc/asymptote/examples/vertexshading.asy new file mode 100644 index 00000000000..284ca3230de --- /dev/null +++ b/Master/texmf/doc/asymptote/examples/vertexshading.asy @@ -0,0 +1,10 @@ +import three; +//settings.prc=false; + +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})); |