Skip to content

Commit

Permalink
refactor(geom-subdiv-curve): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 24, 2020
1 parent 03f629d commit ccc39e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/geom-subdiv-curve/src/api.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SubdivKernel } from "@thi.ng/geom-api";
import { wrapSides } from "@thi.ng/transducers";
import { mixN, ReadonlyVec } from "@thi.ng/vectors";
import { kernel3 } from "./kernels";
import type { SubdivKernel } from "@thi.ng/geom-api";

const CHAIKIN_FIRST = kernel3([1 / 2, 1 / 2, 0], [0, 3 / 4, 1 / 4]);
const CHAIKIN_MAIN = kernel3([1 / 4, 3 / 4, 0], [0, 3 / 4, 1 / 4]);
Expand Down
4 changes: 2 additions & 2 deletions packages/geom-subdiv-curve/src/subdivide.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { SubdivKernel } from "@thi.ng/geom-api";
import {
comp,
indexed,
Expand All @@ -7,7 +6,8 @@ import {
push,
transduce
} from "@thi.ng/transducers";
import { ReadonlyVec, Vec } from "@thi.ng/vectors";
import type { SubdivKernel } from "@thi.ng/geom-api";
import type { ReadonlyVec, Vec } from "@thi.ng/vectors";

/**
* {@link http://algorithmicbotany.org/papers/subgpu.sig2003.pdf}
Expand Down

0 comments on commit ccc39e1

Please sign in to comment.