summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/contour3.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-07 16:52:56 +0000
committerKarl Berry <karl@freefriends.org>2016-04-07 16:52:56 +0000
commite1e1d6fa3224440612d3ad6595c413f88d552702 (patch)
treeeaa3301c9fecd1d01baa642b2e483fee4430bcee /Master/texmf-dist/asymptote/contour3.asy
parent0eefec13710bb4d6aff6838a6efc463912506ee9 (diff)
asymptote 2.37
git-svn-id: svn://tug.org/texlive/trunk@40303 c570f23f-e606-0410-a88d-b1316a301751
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;
}