Skip to content

Commit

Permalink
refactor(geom-tessellate): update imports (zip)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 5, 2019
1 parent 5204a7f commit 7f4e398
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/geom-tessellate/src/inset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
partition,
push,
transduce,
tuples,
zip,
wrap
} from "@thi.ng/transducers";
import { mixN, ReadonlyVec, Vec } from "@thi.ng/vectors";
Expand All @@ -23,6 +23,6 @@ export const tesselInset =
),
push(),
keepInterior ? [inner] : [],
wrap([...tuples(points, inner)], 1, false, true)
wrap([...zip(points, inner)], 1, false, true)
);
};
4 changes: 2 additions & 2 deletions packages/geom-tessellate/src/rim-tris.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
partition,
push,
transduce,
tuples,
zip,
wrap
} from "@thi.ng/transducers";
import { mixN, ReadonlyVec, Vec } from "@thi.ng/vectors";
Expand All @@ -27,6 +27,6 @@ export const rimTris: Tessellator =
),
push(),
[edgeCentroids],
wrap([...tuples(edgeCentroids, points)], 1, true, false)
wrap([...zip(edgeCentroids, points)], 1, true, false)
);
};

0 comments on commit 7f4e398

Please sign in to comment.