diff --git a/packages/core/Source/AttributeCompression.js b/packages/core/Source/AttributeCompression.js index aa390cbcdb70..ef3e665d9ab9 100644 --- a/packages/core/Source/AttributeCompression.js +++ b/packages/core/Source/AttributeCompression.js @@ -5,7 +5,7 @@ import Check from "./Check.js"; import defined from "./defined.js"; import DeveloperError from "./DeveloperError.js"; import CesiumMath from "./Math.js"; -import AttributeType from "../Scene/AttributeType.js"; +import AttributeType from "./AttributeType.js"; const RIGHT_SHIFT = 1.0 / 256.0; const LEFT_SHIFT = 256.0; diff --git a/packages/engine/Source/Scene/AttributeType.js b/packages/core/Source/AttributeType.js similarity index 92% rename from packages/engine/Source/Scene/AttributeType.js rename to packages/core/Source/AttributeType.js index 5ba4d4f2e5c7..fc10b7281cb5 100644 --- a/packages/engine/Source/Scene/AttributeType.js +++ b/packages/core/Source/AttributeType.js @@ -1,11 +1,11 @@ -import Cartesian2 from "../Core/Cartesian2.js"; -import Cartesian3 from "../Core/Cartesian3.js"; -import Cartesian4 from "../Core/Cartesian4.js"; -import Check from "../Core/Check.js"; -import DeveloperError from "../Core/DeveloperError.js"; -import Matrix2 from "../Core/Matrix2.js"; -import Matrix3 from "../Core/Matrix3.js"; -import Matrix4 from "../Core/Matrix4.js"; +import Cartesian2 from "./Cartesian2.js"; +import Cartesian3 from "./Cartesian3.js"; +import Cartesian4 from "./Cartesian4.js"; +import Check from "./Check.js"; +import DeveloperError from "./DeveloperError.js"; +import Matrix2 from "./Matrix2.js"; +import Matrix3 from "./Matrix3.js"; +import Matrix4 from "./Matrix4.js"; /** * An enum describing the attribute type for glTF and 3D Tiles. diff --git a/packages/engine/Source/Renderer/PixelDatatype.js b/packages/core/Source/PixelDatatype.js similarity index 98% rename from packages/engine/Source/Renderer/PixelDatatype.js rename to packages/core/Source/PixelDatatype.js index e34bb3a35722..03bd1f3f98d7 100644 --- a/packages/engine/Source/Renderer/PixelDatatype.js +++ b/packages/core/Source/PixelDatatype.js @@ -1,4 +1,4 @@ -import WebGLConstants from "../Core/WebGLConstants.js"; +import WebGLConstants from "./WebGLConstants.js"; /** * The data type of a pixel. diff --git a/packages/core/Source/PixelFormat.js b/packages/core/Source/PixelFormat.js index 890e1fe027a7..609f328a9d12 100644 --- a/packages/core/Source/PixelFormat.js +++ b/packages/core/Source/PixelFormat.js @@ -1,4 +1,4 @@ -import PixelDatatype from "../Renderer/PixelDatatype.js"; +import PixelDatatype from "./PixelDatatype.js"; import WebGLConstants from "./WebGLConstants.js"; /** diff --git a/packages/engine/Specs/Scene/AttributeTypeSpec.js b/packages/core/Specs/AttributeTypeSpec.js similarity index 99% rename from packages/engine/Specs/Scene/AttributeTypeSpec.js rename to packages/core/Specs/AttributeTypeSpec.js index f442bf0bcc98..f49b1683953f 100644 --- a/packages/engine/Specs/Scene/AttributeTypeSpec.js +++ b/packages/core/Specs/AttributeTypeSpec.js @@ -6,7 +6,7 @@ import { Matrix2, Matrix3, Matrix4, -} from "../../index.js"; +} from "../index.js"; describe("Scene/AttributeType", function () { it("getMathType works", function () {