diff options
author | Karl Berry <karl@freefriends.org> | 2019-02-28 18:48:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-02-28 18:48:48 +0000 |
commit | 3a9439b815af6c2d41c60f6694d88f2852544442 (patch) | |
tree | 6cc1c05e02ef84a1aeb2448b30814d7fc360ed9e /Master/texmf-dist/asymptote/bsp.asy | |
parent | 61a286ce26800c5976ff5c8c8795dc7eea404fd2 (diff) |
asymptote 2.47 support files
git-svn-id: svn://tug.org/texlive/trunk@50168 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/bsp.asy')
-rw-r--r-- | Master/texmf-dist/asymptote/bsp.asy | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/asymptote/bsp.asy b/Master/texmf-dist/asymptote/bsp.asy index 2a4d93daa81..cf9d7e0781f 100644 --- a/Master/texmf-dist/asymptote/bsp.asy +++ b/Master/texmf-dist/asymptote/bsp.asy @@ -184,20 +184,20 @@ void add(picture pic=currentpicture, face[] faces, for(int i=0; i < n; ++i) Faces[i]=faces[i].copy(); - pic.nodes.push(new void (frame f, transform t, transform T, - pair m, pair M) { - // Fit all of the pictures so we know their exact sizes. - face[] faces=new face[n]; - for(int i=0; i < n; ++i) { - faces[i]=Faces[i].copy(); - face F=faces[i]; - F.t=t*T*F.pic.T; - F.fit=F.pic.fit(t,T*F.pic.T,m,M); - } + pic.add(new void (frame f, transform t, transform T, + pair m, pair M) { + // Fit all of the pictures so we know their exact sizes. + face[] faces=new face[n]; + for(int i=0; i < n; ++i) { + faces[i]=Faces[i].copy(); + face F=faces[i]; + F.t=t*T*F.pic.T; + F.fit=F.pic.fit(t,T*F.pic.T,m,M); + } - bsp bsp=bsp(faces,P); - if(bsp != null) bsp.add(f); - }); + bsp bsp=bsp(faces,P); + if(bsp != null) bsp.add(f); + }); for(int i=0; i < n; ++i) { picture F=Faces[i].pic; |