summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/contour3.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/asymptote/contour3.asy')
-rw-r--r--Master/texmf-dist/asymptote/contour3.asy4
1 files changed, 1 insertions, 3 deletions
diff --git a/Master/texmf-dist/asymptote/contour3.asy b/Master/texmf-dist/asymptote/contour3.asy
index 3d925be684e..4977a351bf2 100644
--- a/Master/texmf-dist/asymptote/contour3.asy
+++ b/Master/texmf-dist/asymptote/contour3.asy
@@ -473,9 +473,7 @@ surface surface(vertex[][] g)
surface s=surface(g.length);
for(int i=0; i < g.length; ++i) {
vertex[] cur=g[i];
- s.s[i]=patch(new triple[] {cur[0].v,cur[0].v,cur[1].v,cur[2].v},
- normals=new triple[] {cur[0].normal,cur[0].normal,
- cur[1].normal,cur[2].normal});
+ s.s[i]=patch(cur[0].v--cur[1].v--cur[2].v--cycle);
}
return s;
}