Skip to content

Commit

Permalink
refactor(geom-accel): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 6, 2020
1 parent e166cda commit 4064e01
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/geom-accel/src/kd-tree-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Heap } from "@thi.ng/heaps";
import { EPS } from "@thi.ng/math";
import { map } from "@thi.ng/transducers";
import { distSq, ReadonlyVec, Vec } from "@thi.ng/vectors";
import { CMP, addResults } from "./utils";
import { addResults, CMP } from "./utils";

type MaybeKdNode<K extends ReadonlyVec, V> = KdNode<K, V> | undefined;

Expand Down
2 changes: 1 addition & 1 deletion packages/geom-accel/src/kd-tree-set.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { KdTreeMap } from "./kd-tree-map";
import type { ICopy, IEmpty, Pair } from "@thi.ng/api";
import type { IRegionQuery, ISpatialSet } from "@thi.ng/geom-api";
import type { ReadonlyVec } from "@thi.ng/vectors";
import { KdTreeMap } from "./kd-tree-map";

export class KdTreeSet<K extends ReadonlyVec>
implements
Expand Down
5 changes: 2 additions & 3 deletions packages/geom-accel/src/nd-quadtree-map.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { assert } from "@thi.ng/api";
import type { Fn, ICopy, IEmpty, Pair } from "@thi.ng/api";
import { assert, Fn, ICopy, IEmpty, Pair } from "@thi.ng/api";
import { equivArrayLike } from "@thi.ng/equiv";
import type { IRegionQuery, ISpatialMap } from "@thi.ng/geom-api";
import { pointInCenteredBox, testCenteredBoxSphere } from "@thi.ng/geom-isec";
Expand All @@ -16,7 +15,7 @@ import {
submN,
vop,
} from "@thi.ng/vectors";
import { CMP, addResults } from "./utils";
import { addResults, CMP } from "./utils";

export class NdQtNode<K extends ReadonlyVec, V> {
pos: ReadonlyVec;
Expand Down
4 changes: 2 additions & 2 deletions packages/geom-accel/src/nd-quadtree-set.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { ICopy, IEmpty, Pair } from "@thi.ng/api";
import type { IRegionQuery, ISpatialSet } from "@thi.ng/geom-api";
import { EPS } from "@thi.ng/math";
import { addmN, ReadonlyVec, submN } from "@thi.ng/vectors";
import { NdQuadtreeMap } from "./nd-quadtree-map";
import type { ICopy, IEmpty, Pair } from "@thi.ng/api";
import type { IRegionQuery, ISpatialSet } from "@thi.ng/geom-api";

export class NdQuadtreeSet<K extends ReadonlyVec>
implements
Expand Down

0 comments on commit 4064e01

Please sign in to comment.