Skip to content

Commit

Permalink
move types into core
Browse files Browse the repository at this point in the history
  • Loading branch information
jjspace committed Jan 23, 2025
1 parent 1423809 commit d88dddb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/core/Source/AttributeCompression.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import WebGLConstants from "../Core/WebGLConstants.js";
import WebGLConstants from "./WebGLConstants.js";

/**
* The data type of a pixel.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/Source/PixelFormat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import PixelDatatype from "../Renderer/PixelDatatype.js";
import PixelDatatype from "./PixelDatatype.js";
import WebGLConstants from "./WebGLConstants.js";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
Matrix2,
Matrix3,
Matrix4,
} from "../../index.js";
} from "../index.js";

describe("Scene/AttributeType", function () {
it("getMathType works", function () {
Expand Down

0 comments on commit d88dddb

Please sign in to comment.