summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/arrows3.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/arrows3.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/arrows3.asy19
1 files changed, 18 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/arrows3.asy b/Master/texmf-dist/doc/asymptote/examples/arrows3.asy
index 06b986ef5fe..b71c08406aa 100644
--- a/Master/texmf-dist/doc/asymptote/examples/arrows3.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/arrows3.asy
@@ -11,12 +11,29 @@ currentlight=light(gray(0.5),specularfactor=3,
defaultpen(0.75mm);
path3 g=arc(O,1,90,-60,90,60);
-transform3 t=shift(invert(3S,O));
draw(g,blue,Arrows3(TeXHead3),currentlight);
draw(scale3(3)*g,green,ArcArrows3(HookHead3),currentlight);
draw(scale3(6)*g,red,Arrows3(DefaultHead3),currentlight);
+transform3 t=shift(invert(3S,O));
+
draw(t*g,blue,Arrows3(TeXHead2),currentlight);
draw(t*scale3(3)*g,green,ArcArrows3(HookHead2,NoFill),currentlight);
draw(t*scale3(6)*g,red,Arrows3(DefaultHead2(normal=Z)),currentlight);
+
+transform3 t=shift(invert(6S,O));
+
+draw(t*g,blue,Arrow3(TeXHead3,position=Relative(0.5)),currentlight);
+draw(t*scale3(3)*g,purple,Arrow3(HookHead3,position=Relative(0.5)),
+ currentlight);
+draw(t*scale3(6)*g,red,Arrow3(DefaultHead3,position=Relative(0.5)),
+ currentlight);
+
+transform3 t=shift(invert(9S,O));
+
+draw(t*g,blue,Arrow3(TeXHead2,position=Relative(0.5)),currentlight);
+draw(t*scale3(3)*g,green,Arrow3(HookHead2,position=Relative(0.5),NoFill),
+ currentlight);
+draw(t*scale3(6)*g,red,Arrow3(DefaultHead2(normal=Z),position=Relative(0.5)),
+ currentlight);