diff --git a/packages/geom-tessellate/src/inset.ts b/packages/geom-tessellate/src/inset.ts index 9d27d3795d..e2b331de2a 100644 --- a/packages/geom-tessellate/src/inset.ts +++ b/packages/geom-tessellate/src/inset.ts @@ -6,7 +6,7 @@ import { partition, push, transduce, - tuples, + zip, wrap } from "@thi.ng/transducers"; import { mixN, ReadonlyVec, Vec } from "@thi.ng/vectors"; @@ -23,6 +23,6 @@ export const tesselInset = ), push(), keepInterior ? [inner] : [], - wrap([...tuples(points, inner)], 1, false, true) + wrap([...zip(points, inner)], 1, false, true) ); }; diff --git a/packages/geom-tessellate/src/rim-tris.ts b/packages/geom-tessellate/src/rim-tris.ts index 85f160b4fd..3a761d1fe4 100644 --- a/packages/geom-tessellate/src/rim-tris.ts +++ b/packages/geom-tessellate/src/rim-tris.ts @@ -5,7 +5,7 @@ import { partition, push, transduce, - tuples, + zip, wrap } from "@thi.ng/transducers"; import { mixN, ReadonlyVec, Vec } from "@thi.ng/vectors"; @@ -27,6 +27,6 @@ export const rimTris: Tessellator = ), push(), [edgeCentroids], - wrap([...tuples(edgeCentroids, points)], 1, true, false) + wrap([...zip(edgeCentroids, points)], 1, true, false) ); };