Skip to content

Commit

Permalink
refactor(geom-isec): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 24, 2020
1 parent fe7ac81 commit fc5f392
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/geom-isec/src/point.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Fn3 } from "@thi.ng/api";
import { closestT } from "@thi.ng/geom-closest-point";
import { clamp01, EPS, sign } from "@thi.ng/math";
import {
Expand All @@ -11,6 +10,7 @@ import {
signedArea2,
vop
} from "@thi.ng/vectors";
import type { Fn3 } from "@thi.ng/api";

export const pointInSegment = (
p: ReadonlyVec,
Expand Down
2 changes: 1 addition & 1 deletion packages/geom-isec/src/ray-rect.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Fn4 } from "@thi.ng/api";
import { IntersectionType } from "@thi.ng/geom-api";
import { maddN, ReadonlyVec } from "@thi.ng/vectors";
import { NONE } from "./api";
import type { Fn4 } from "@thi.ng/api";

const min = Math.min;
const max = Math.max;
Expand Down
2 changes: 1 addition & 1 deletion packages/geom-isec/src/rect-circle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Fn4 } from "@thi.ng/api";
import { MultiVecOpImpl, ReadonlyVec, vop } from "@thi.ng/vectors";
import type { Fn4 } from "@thi.ng/api";

export const testBoxSphere: MultiVecOpImpl<Fn4<
ReadonlyVec,
Expand Down
2 changes: 1 addition & 1 deletion packages/geom-isec/src/rect-rect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReadonlyVec } from "@thi.ng/vectors";
import type { ReadonlyVec } from "@thi.ng/vectors";

export const testRectRect = (
[ax, ay]: ReadonlyVec,
Expand Down

0 comments on commit fc5f392

Please sign in to comment.