From e01c5c9f2e502ff91eb84f4812c2b11ffc2d323b Mon Sep 17 00:00:00 2001 From: yzrmn Date: Tue, 27 Aug 2024 12:07:59 +0200 Subject: [PATCH] Fix imports --- packages/redgeometry/src/primitives/quaternion.ts | 2 +- packages/redgeometry/tests/primitives/matrix.spec.ts | 2 +- packages/redgeometry/tests/utility/set.spec.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/redgeometry/src/primitives/quaternion.ts b/packages/redgeometry/src/primitives/quaternion.ts index dba2e84..67a6db3 100644 --- a/packages/redgeometry/src/primitives/quaternion.ts +++ b/packages/redgeometry/src/primitives/quaternion.ts @@ -1,4 +1,4 @@ -import { assertUnreachable } from "../index.js"; +import { assertUnreachable } from "../utility/debug.js"; import { Point3 } from "./point.js"; import { Vector3 } from "./vector.js"; diff --git a/packages/redgeometry/tests/primitives/matrix.spec.ts b/packages/redgeometry/tests/primitives/matrix.spec.ts index ccb89c1..4144bb3 100644 --- a/packages/redgeometry/tests/primitives/matrix.spec.ts +++ b/packages/redgeometry/tests/primitives/matrix.spec.ts @@ -1,5 +1,5 @@ import { expect, test } from "vitest"; -import { Complex } from "../../src/index.js"; +import { Complex } from "../../src/primitives/complex.js"; import { Matrix3, Matrix3A, Matrix4, Matrix4A } from "../../src/primitives/matrix.js"; import { Point2, Point3 } from "../../src/primitives/point.js"; import { Quaternion, RotationOrder } from "../../src/primitives/quaternion.js"; diff --git a/packages/redgeometry/tests/utility/set.spec.ts b/packages/redgeometry/tests/utility/set.spec.ts index 7ff4737..3e0e941 100644 --- a/packages/redgeometry/tests/utility/set.spec.ts +++ b/packages/redgeometry/tests/utility/set.spec.ts @@ -1,5 +1,5 @@ import { expect, test } from "vitest"; -import { Bitset } from "../../src/index.js"; +import { Bitset } from "../../src/utility/set.js"; test("BitSet.eq", () => { const b1 = Bitset.fromElements([0]);