summaryrefslogtreecommitdiff
path: root/graphics/asymptote/examples/pathintersectsurface.asy
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/examples/pathintersectsurface.asy')
-rw-r--r--graphics/asymptote/examples/pathintersectsurface.asy11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/asymptote/examples/pathintersectsurface.asy b/graphics/asymptote/examples/pathintersectsurface.asy
index 73a78460e0..ef8cf94b89 100644
--- a/graphics/asymptote/examples/pathintersectsurface.asy
+++ b/graphics/asymptote/examples/pathintersectsurface.asy
@@ -7,11 +7,12 @@ path3 g=randompath3(10);
draw(g,red);
-triple[][] P={
- {(0,0,0),(1,0,0),(1,0,0),(2,0,0)},
- {(0,4/3,0),(2/3,4/3,2),(4/3,4/3,2),(2,4/3,0)},
- {(0,2/3,0),(2/3,2/3,0),(4/3,2/3,0),(2,2/3,0)},
- {(0,2,0),(2/3,2,0),(4/3,2,0),(2,2,0)}};
+triple[][] P=
+ {
+ {(0,0,0),(1,0,0),(1,0,0),(2,0,0)},
+ {(0,4/3,0),(2/3,4/3,2),(4/3,4/3,2),(2,4/3,0)},
+ {(0,2/3,0),(2/3,2/3,0),(4/3,2/3,0),(2,2/3,0)},
+ {(0,2,0),(2/3,2,0),(4/3,2,0),(2,2,0)}};
surface s=surface(patch(P));
s.append(unitplane);