Skip to content

Commit

Permalink
refactor(geom): update imports (zip)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 5, 2019
1 parent 2904590 commit 5204a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/geom/src/ctors/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
normRange,
push,
transduce,
tuples
zip
} from "@thi.ng/transducers";
import { cartesian2, Vec } from "@thi.ng/vectors";
import { Polygon } from "../api";
Expand All @@ -21,7 +21,7 @@ export const star =
transduce(
map(([i, p]) => cartesian2(null, [r * p, i * TAU])),
push(),
tuples(normRange(n * profile.length, false), cycle(profile))
zip(normRange(n * profile.length, false), cycle(profile))
),
attribs
);

0 comments on commit 5204a7f

Please sign in to comment.