@cesium/engine 9.2.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Build/Workers/{chunk-WOYQB5HM.js → chunk-2J3JKXCP.js} +5 -5
- package/Build/Workers/{chunk-IXYFH7DV.js → chunk-3WUV74WM.js} +2 -2
- package/Build/Workers/{chunk-3PV5HQ2R.js → chunk-4BAE4PWO.js} +6 -6
- package/Build/Workers/{chunk-WHDEZSAL.js → chunk-4MSUJ4I7.js} +8 -8
- package/Build/Workers/{chunk-ZHJDE6JN.js → chunk-4YSNMHZ4.js} +6 -6
- package/Build/Workers/{chunk-LZFFO4KB.js → chunk-5S7OLEPK.js} +12 -12
- package/Build/Workers/{chunk-GX2BWBN2.js → chunk-7XGC6YB2.js} +14 -14
- package/Build/Workers/{chunk-IF2OX6R4.js → chunk-AA4GZKOT.js} +1 -1
- package/Build/Workers/{chunk-26NE4LRW.js → chunk-AD5HBJ2F.js} +11 -8
- package/Build/Workers/{chunk-4RG6WOXH.js → chunk-AVI4IUWC.js} +11 -11
- package/Build/Workers/{chunk-3VDHTBY5.js → chunk-BCL4PHHT.js} +10 -10
- package/Build/Workers/{chunk-WP3LCUOE.js → chunk-BDFNKFOE.js} +13 -13
- package/Build/Workers/{chunk-KTZK2UDR.js → chunk-BJF5LOWE.js} +7 -7
- package/Build/Workers/{chunk-W4OS542B.js → chunk-C2CGMAIU.js} +13 -13
- package/Build/Workers/{chunk-EJZVBTX4.js → chunk-COYFZ5VA.js} +6 -6
- package/Build/Workers/{chunk-PHT53MCH.js → chunk-DGS5QNIO.js} +13 -13
- package/Build/Workers/{chunk-UYKG3UFK.js → chunk-DKVHRNFY.js} +5 -5
- package/Build/Workers/{chunk-7PFZ4Z7C.js → chunk-DOXCPOG4.js} +11 -9
- package/Build/Workers/{chunk-A5CSB5ZE.js → chunk-FXIHSF7O.js} +9 -9
- package/Build/Workers/{chunk-GOQEANLM.js → chunk-G3YR53LY.js} +13 -13
- package/Build/Workers/{chunk-7HLZRYGD.js → chunk-GR3CDLCP.js} +7 -7
- package/Build/Workers/{chunk-YGNQJ4YI.js → chunk-GRAT5GE7.js} +5 -5
- package/Build/Workers/{chunk-SC3TBKST.js → chunk-I2RC4XVN.js} +4 -4
- package/Build/Workers/{chunk-26XJDV3D.js → chunk-JYAHOGGL.js} +15 -15
- package/Build/Workers/{chunk-RRUO4QEK.js → chunk-KUN2ZA5X.js} +4 -4
- package/Build/Workers/{chunk-BBBTT36L.js → chunk-L6RTJ3RE.js} +14 -14
- package/Build/Workers/{chunk-RDR4KVPA.js → chunk-LCLJJ2MZ.js} +18 -18
- package/Build/Workers/{chunk-BNT2SNWU.js → chunk-LEABCTLP.js} +4 -4
- package/Build/Workers/{chunk-I6CW7ZE5.js → chunk-MDHQR3ZS.js} +10 -8
- package/Build/Workers/{chunk-ETC45PHH.js → chunk-MSKXMXJI.js} +4 -4
- package/Build/Workers/{chunk-QZIWFSRM.js → chunk-NTXTUNEF.js} +4 -4
- package/Build/Workers/{chunk-GUFV24F4.js → chunk-O3JCMSS3.js} +17 -17
- package/Build/Workers/{chunk-UICVDDCQ.js → chunk-OOK53QUQ.js} +1 -1
- package/Build/Workers/{chunk-G7IAO7CW.js → chunk-OORVMGDU.js} +7 -7
- package/Build/Workers/{chunk-OYP23VAL.js → chunk-PCP4YQST.js} +11 -11
- package/Build/Workers/{chunk-GX5LMUGZ.js → chunk-PYHLO636.js} +42 -13
- package/Build/Workers/{chunk-TDIGL45B.js → chunk-Q55ECN3Y.js} +1 -1
- package/Build/Workers/{chunk-5OK5JFDP.js → chunk-QD4KM3GO.js} +5 -5
- package/Build/Workers/{chunk-CVCVMOQA.js → chunk-QMLTCCYG.js} +1 -1
- package/Build/Workers/{chunk-AROLUUGS.js → chunk-QX5XS4LC.js} +2 -2
- package/Build/Workers/{chunk-TP4FFUAH.js → chunk-R6B7UCQB.js} +2 -2
- package/Build/Workers/{chunk-U6MTSO6A.js → chunk-RJYML24O.js} +11 -11
- package/Build/Workers/{chunk-DIVFF6DK.js → chunk-S3PI2KFM.js} +2 -2
- package/Build/Workers/{chunk-PUQR43HZ.js → chunk-STBBMQGG.js} +6 -6
- package/Build/Workers/{chunk-CFBGPZU6.js → chunk-SYCPRK3D.js} +10 -10
- package/Build/Workers/{chunk-U2LSTOMA.js → chunk-T77JILCU.js} +2 -2
- package/Build/Workers/{chunk-RTIT7UDN.js → chunk-TO2PVHKI.js} +2 -2
- package/Build/Workers/{chunk-EODIOQ35.js → chunk-VE7BFUIX.js} +1 -1
- package/Build/Workers/{chunk-K5F23SZO.js → chunk-VFBNELXB.js} +7 -7
- package/Build/Workers/{chunk-YGTWKLFY.js → chunk-VO3ACQB2.js} +19 -19
- package/Build/Workers/{chunk-UKJCFXVV.js → chunk-X23FRWHJ.js} +6 -6
- package/Build/Workers/{chunk-2TRB253J.js → chunk-XD445VDH.js} +7 -7
- package/Build/Workers/combineGeometry.js +22 -22
- package/Build/Workers/createBoxGeometry.js +16 -16
- package/Build/Workers/createBoxOutlineGeometry.js +14 -14
- package/Build/Workers/createCircleGeometry.js +29 -25
- package/Build/Workers/createCircleOutlineGeometry.js +17 -17
- package/Build/Workers/createCoplanarPolygonGeometry.js +32 -32
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
- package/Build/Workers/createCorridorGeometry.js +29 -29
- package/Build/Workers/createCorridorOutlineGeometry.js +27 -27
- package/Build/Workers/createCylinderGeometry.js +18 -18
- package/Build/Workers/createCylinderOutlineGeometry.js +16 -16
- package/Build/Workers/createEllipseGeometry.js +24 -24
- package/Build/Workers/createEllipseOutlineGeometry.js +17 -17
- package/Build/Workers/createEllipsoidGeometry.js +17 -17
- package/Build/Workers/createEllipsoidOutlineGeometry.js +16 -16
- package/Build/Workers/createFrustumGeometry.js +16 -16
- package/Build/Workers/createFrustumOutlineGeometry.js +16 -16
- package/Build/Workers/createGeometry.js +22 -22
- package/Build/Workers/createGroundPolylineGeometry.js +24 -24
- package/Build/Workers/createPlaneGeometry.js +14 -14
- package/Build/Workers/createPlaneOutlineGeometry.js +13 -13
- package/Build/Workers/createPolygonGeometry.js +32 -32
- package/Build/Workers/createPolygonOutlineGeometry.js +29 -29
- package/Build/Workers/createPolylineGeometry.js +24 -24
- package/Build/Workers/createPolylineVolumeGeometry.js +30 -30
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +26 -26
- package/Build/Workers/createRectangleGeometry.js +27 -27
- package/Build/Workers/createRectangleOutlineGeometry.js +19 -19
- package/Build/Workers/createSimplePolylineGeometry.js +22 -22
- package/Build/Workers/createSphereGeometry.js +17 -17
- package/Build/Workers/createSphereOutlineGeometry.js +16 -16
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +13 -13
- package/Build/Workers/createVectorTileGeometries.js +22 -22
- package/Build/Workers/createVectorTilePoints.js +12 -12
- package/Build/Workers/createVectorTilePolygons.js +20 -20
- package/Build/Workers/createVectorTilePolylines.js +13 -13
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
- package/Build/Workers/createVerticesFromHeightmap.js +21 -21
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
- package/Build/Workers/createWallGeometry.js +23 -23
- package/Build/Workers/createWallOutlineGeometry.js +22 -22
- package/Build/Workers/decodeDraco.js +11 -11
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/transcodeKTX2.js +7 -7
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
- package/Source/Core/ApproximateTerrainHeights.js +4 -4
- package/Source/Core/ArcGISTiledElevationTerrainProvider.js +12 -8
- package/Source/Core/BoundingRectangle.js +2 -0
- package/Source/Core/BoundingSphere.js +4 -2
- package/Source/Core/Cartesian3.js +13 -10
- package/Source/Core/Cartographic.js +11 -8
- package/Source/Core/CesiumTerrainProvider.js +3 -2
- package/Source/Core/CircleGeometry.js +6 -2
- package/Source/Core/CircleOutlineGeometry.js +1 -1
- package/Source/Core/CoplanarPolygonGeometry.js +3 -3
- package/Source/Core/CorridorGeometry.js +4 -4
- package/Source/Core/CorridorOutlineGeometry.js +2 -2
- package/Source/Core/Credit.js +3 -2
- package/Source/Core/CustomHeightmapTerrainProvider.js +17 -3
- package/Source/Core/EllipseGeometry.js +4 -4
- package/Source/Core/EllipseOutlineGeometry.js +2 -2
- package/Source/Core/Ellipsoid.js +34 -0
- package/Source/Core/EllipsoidGeodesic.js +2 -2
- package/Source/Core/EllipsoidRhumbLine.js +4 -4
- package/Source/Core/EllipsoidTangentPlane.js +3 -3
- package/Source/Core/EllipsoidTerrainProvider.js +3 -3
- package/Source/Core/GeographicProjection.js +4 -3
- package/Source/Core/GeographicTilingScheme.js +3 -3
- package/Source/Core/GeometryPipeline.js +2 -2
- package/Source/Core/GoogleEarthEnterpriseTerrainProvider.js +1 -1
- package/Source/Core/GoogleMaps.js +1 -1
- package/Source/Core/GroundPolylineGeometry.js +1 -1
- package/Source/Core/HeightmapTessellator.js +2 -2
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/Occluder.js +3 -3
- package/Source/Core/OrientedBoundingBox.js +2 -2
- package/Source/Core/PolygonGeometry.js +4 -4
- package/Source/Core/PolygonGeometryLibrary.js +1 -1
- package/Source/Core/PolygonOutlineGeometry.js +3 -3
- package/Source/Core/PolygonPipeline.js +2 -2
- package/Source/Core/PolylineGeometry.js +2 -2
- package/Source/Core/PolylinePipeline.js +6 -6
- package/Source/Core/PolylineVolumeGeometry.js +2 -2
- package/Source/Core/PolylineVolumeOutlineGeometry.js +2 -2
- package/Source/Core/Rectangle.js +6 -6
- package/Source/Core/RectangleGeometry.js +6 -6
- package/Source/Core/RectangleGeometryLibrary.js +3 -0
- package/Source/Core/RectangleOutlineGeometry.js +2 -2
- package/Source/Core/Simon1994PlanetaryPositions.js +3 -2
- package/Source/Core/SimplePolylineGeometry.js +2 -2
- package/Source/Core/Stereographic.js +2 -2
- package/Source/Core/Transforms.js +17 -17
- package/Source/Core/VRTheWorldTerrainProvider.js +2 -2
- package/Source/Core/WallGeometry.js +3 -3
- package/Source/Core/WallOutlineGeometry.js +3 -3
- package/Source/Core/WebMercatorTilingScheme.js +3 -3
- package/Source/Core/createWorldTerrainAsync.js +2 -0
- package/Source/DataSources/BoxGeometryUpdater.js +2 -2
- package/Source/DataSources/CylinderGeometryUpdater.js +2 -2
- package/Source/DataSources/CzmlDataSource.js +8 -8
- package/Source/DataSources/EllipsoidGeometryUpdater.js +3 -3
- package/Source/DataSources/EntityCluster.js +1 -1
- package/Source/DataSources/EntityView.js +2 -2
- package/Source/DataSources/KmlDataSource.js +4 -4
- package/Source/DataSources/ModelVisualizer.js +1 -2
- package/Source/DataSources/PolygonGeometryUpdater.js +1 -1
- package/Source/DataSources/PolylineGeometryUpdater.js +3 -2
- package/Source/DataSources/RectangleGeometryUpdater.js +1 -1
- package/Source/DataSources/ScaledPositionProperty.js +2 -2
- package/Source/DataSources/TerrainOffsetProperty.js +3 -7
- package/Source/DataSources/VelocityOrientationProperty.js +2 -2
- package/Source/DataSources/exportKml.js +2 -2
- package/Source/Renderer/UniformState.js +1 -1
- package/Source/Scene/ArcGisMapServerImageryProvider.js +2 -2
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +6 -4
- package/Source/Scene/BingMapsImageryProvider.js +1 -1
- package/Source/Scene/Camera.js +16 -10
- package/Source/Scene/Cesium3DTileset.js +1 -1
- package/Source/Scene/ClippingPolygon.js +2 -2
- package/Source/Scene/ClippingPolygonCollection.js +1 -1
- package/Source/Scene/CreditDisplay.js +94 -104
- package/Source/Scene/Globe.js +16 -13
- package/Source/Scene/GltfLoaderUtil.js +2 -4
- package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +1 -1
- package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +1 -1
- package/Source/Scene/GridImageryProvider.js +2 -2
- package/Source/Scene/ImageryLayerCollection.js +2 -2
- package/Source/Scene/MapboxImageryProvider.js +1 -1
- package/Source/Scene/MapboxStyleImageryProvider.js +1 -1
- package/Source/Scene/MetadataSemantic.js +4 -4
- package/Source/Scene/Model/InstancingPipelineStage.js +3 -3
- package/Source/Scene/Model/MaterialPipelineStage.js +49 -0
- package/Source/Scene/Model/Model.js +7 -4
- package/Source/Scene/Model/ModelSceneGraph.js +1 -1
- package/Source/Scene/Model/SceneMode2DPipelineStage.js +3 -3
- package/Source/Scene/Model/pickModel.js +2 -2
- package/Source/Scene/ModelComponents.js +9 -0
- package/Source/Scene/Picking.js +4 -13
- package/Source/Scene/PointPrimitive.js +5 -2
- package/Source/Scene/Scene.js +39 -31
- package/Source/Scene/SceneTransforms.js +78 -20
- package/Source/Scene/SceneTransitioner.js +2 -2
- package/Source/Scene/ScreenSpaceCameraController.js +29 -19
- package/Source/Scene/SkyBox.js +26 -0
- package/Source/Scene/Sun.js +1 -1
- package/Source/Shaders/Builtin/CzmBuiltins.js +2 -2
- package/Source/Shaders/Builtin/Functions/ellipsoidTextureCoordinates.glsl +10 -0
- package/Source/Shaders/Builtin/Functions/{ellipsoidWgs84TextureCoordinates.js → ellipsoidTextureCoordinates.js} +3 -3
- package/Source/Shaders/Builtin/Structs/materialInput.glsl +1 -1
- package/Source/Shaders/Builtin/Structs/materialInput.js +1 -1
- package/Source/Shaders/Builtin/Structs/modelMaterial.glsl +2 -0
- package/Source/Shaders/Builtin/Structs/modelMaterial.js +2 -0
- package/Source/Shaders/EllipsoidFS.glsl +1 -1
- package/Source/Shaders/EllipsoidFS.js +1 -1
- package/Source/Shaders/GlobeFS.glsl +2 -2
- package/Source/Shaders/GlobeFS.js +2 -2
- package/Source/Shaders/Model/MaterialStageFS.glsl +21 -12
- package/Source/Shaders/Model/MaterialStageFS.js +21 -12
- package/Source/Widget/CesiumWidget.css +0 -5
- package/Source/Widget/CesiumWidget.js +29 -28
- package/index.d.ts +181 -113
- package/index.js +208 -208
- package/package.json +2 -2
- package/Source/Shaders/Builtin/Functions/ellipsoidWgs84TextureCoordinates.glsl +0 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
PolylinePipeline_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DGS5QNIO.js";
|
|
29
29
|
import {
|
|
30
30
|
arrayRemoveDuplicates_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-DKVHRNFY.js";
|
|
32
32
|
import {
|
|
33
33
|
Cartesian3_default,
|
|
34
34
|
Cartographic_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PYHLO636.js";
|
|
36
36
|
import {
|
|
37
37
|
Math_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MSKXMXJI.js";
|
|
39
39
|
import {
|
|
40
40
|
defined_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-AA4GZKOT.js";
|
|
42
42
|
|
|
43
43
|
// packages/engine/Source/Core/WallGeometryLibrary.js
|
|
44
44
|
var WallGeometryLibrary = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,36 +25,36 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidGeodesic_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VFBNELXB.js";
|
|
29
29
|
import {
|
|
30
30
|
EllipsoidRhumbLine_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4MSUJ4I7.js";
|
|
32
32
|
import {
|
|
33
33
|
IntersectionTests_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XD445VDH.js";
|
|
35
35
|
import {
|
|
36
36
|
Plane_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4BAE4PWO.js";
|
|
38
38
|
import {
|
|
39
39
|
Matrix4_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-O3JCMSS3.js";
|
|
41
41
|
import {
|
|
42
42
|
Cartesian3_default,
|
|
43
43
|
Cartographic_default,
|
|
44
44
|
Ellipsoid_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-PYHLO636.js";
|
|
46
46
|
import {
|
|
47
47
|
Math_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-MSKXMXJI.js";
|
|
49
49
|
import {
|
|
50
50
|
defaultValue_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-VE7BFUIX.js";
|
|
52
52
|
import {
|
|
53
53
|
DeveloperError_default
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-S3PI2KFM.js";
|
|
55
55
|
import {
|
|
56
56
|
defined_default
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-AA4GZKOT.js";
|
|
58
58
|
|
|
59
59
|
// packages/engine/Source/Core/PolylinePipeline.js
|
|
60
60
|
var PolylinePipeline = {};
|
|
@@ -265,7 +265,7 @@ PolylinePipeline.generateArc = function(options) {
|
|
|
265
265
|
throw new DeveloperError_default("options.positions is required.");
|
|
266
266
|
}
|
|
267
267
|
const length = positions.length;
|
|
268
|
-
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.
|
|
268
|
+
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.default);
|
|
269
269
|
let height = defaultValue_default(options.height, 0);
|
|
270
270
|
const hasHeightArray = Array.isArray(height);
|
|
271
271
|
if (length < 1) {
|
|
@@ -335,7 +335,7 @@ PolylinePipeline.generateRhumbArc = function(options) {
|
|
|
335
335
|
throw new DeveloperError_default("options.positions is required.");
|
|
336
336
|
}
|
|
337
337
|
const length = positions.length;
|
|
338
|
-
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.
|
|
338
|
+
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.default);
|
|
339
339
|
let height = defaultValue_default(options.height, 0);
|
|
340
340
|
const hasHeightArray = Array.isArray(height);
|
|
341
341
|
if (length < 1) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Math_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MSKXMXJI.js";
|
|
29
29
|
import {
|
|
30
30
|
defaultValue_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VE7BFUIX.js";
|
|
32
32
|
import {
|
|
33
33
|
Check_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-S3PI2KFM.js";
|
|
35
35
|
import {
|
|
36
36
|
defined_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AA4GZKOT.js";
|
|
38
38
|
|
|
39
39
|
// packages/engine/Source/Core/arrayRemoveDuplicates.js
|
|
40
40
|
var removeDuplicatesEpsilon = Math_default.EPSILON10;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,30 +26,30 @@
|
|
|
26
26
|
import {
|
|
27
27
|
Matrix4_default,
|
|
28
28
|
Rectangle_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-O3JCMSS3.js";
|
|
30
30
|
import {
|
|
31
31
|
Cartesian3_default,
|
|
32
32
|
Cartographic_default,
|
|
33
33
|
Ellipsoid_default,
|
|
34
34
|
Matrix3_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PYHLO636.js";
|
|
36
36
|
import {
|
|
37
37
|
Math_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MSKXMXJI.js";
|
|
39
39
|
import {
|
|
40
40
|
defaultValue_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VE7BFUIX.js";
|
|
42
42
|
import {
|
|
43
43
|
Check_default,
|
|
44
44
|
DeveloperError_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-S3PI2KFM.js";
|
|
46
46
|
import {
|
|
47
47
|
defined_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-AA4GZKOT.js";
|
|
49
49
|
|
|
50
50
|
// packages/engine/Source/Core/GeographicProjection.js
|
|
51
51
|
function GeographicProjection(ellipsoid) {
|
|
52
|
-
this._ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.
|
|
52
|
+
this._ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.default);
|
|
53
53
|
this._semimajorAxis = this._ellipsoid.maximumRadius;
|
|
54
54
|
this._oneOverSemimajorAxis = 1 / this._semimajorAxis;
|
|
55
55
|
}
|
|
@@ -289,6 +289,7 @@ BoundingSphere.fromRectangleWithHeights2D = function(rectangle, projection, mini
|
|
|
289
289
|
result.radius = 0;
|
|
290
290
|
return result;
|
|
291
291
|
}
|
|
292
|
+
defaultProjection._ellipsoid = Ellipsoid_default.default;
|
|
292
293
|
projection = defaultValue_default(projection, defaultProjection);
|
|
293
294
|
Rectangle_default.southwest(rectangle, fromRectangle2DSouthwest);
|
|
294
295
|
fromRectangle2DSouthwest.height = minimumHeight;
|
|
@@ -314,7 +315,7 @@ BoundingSphere.fromRectangleWithHeights2D = function(rectangle, projection, mini
|
|
|
314
315
|
};
|
|
315
316
|
var fromRectangle3DScratch = [];
|
|
316
317
|
BoundingSphere.fromRectangle3D = function(rectangle, ellipsoid, surfaceHeight, result) {
|
|
317
|
-
ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.
|
|
318
|
+
ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.default);
|
|
318
319
|
surfaceHeight = defaultValue_default(surfaceHeight, 0);
|
|
319
320
|
if (!defined_default(result)) {
|
|
320
321
|
result = new BoundingSphere();
|
|
@@ -847,6 +848,7 @@ for (let n = 0; n < 8; ++n) {
|
|
|
847
848
|
var projectTo2DProjection = new GeographicProjection_default();
|
|
848
849
|
BoundingSphere.projectTo2D = function(sphere, projection, result) {
|
|
849
850
|
Check_default.typeOf.object("sphere", sphere);
|
|
851
|
+
projectTo2DProjection._ellipsoid = Ellipsoid_default.default;
|
|
850
852
|
projection = defaultValue_default(projection, projectTo2DProjection);
|
|
851
853
|
const ellipsoid = projection.ellipsoid;
|
|
852
854
|
let center = sphere.center;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,34 +25,34 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
PolylinePipeline_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DGS5QNIO.js";
|
|
29
29
|
import {
|
|
30
30
|
EllipsoidTangentPlane_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SYCPRK3D.js";
|
|
32
32
|
import {
|
|
33
33
|
Cartesian4_default,
|
|
34
34
|
Matrix4_default,
|
|
35
35
|
Quaternion_default,
|
|
36
36
|
Transforms_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-O3JCMSS3.js";
|
|
38
38
|
import {
|
|
39
39
|
Cartesian2_default,
|
|
40
40
|
Cartesian3_default,
|
|
41
41
|
Cartographic_default,
|
|
42
42
|
Matrix3_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-PYHLO636.js";
|
|
44
44
|
import {
|
|
45
45
|
Math_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-MSKXMXJI.js";
|
|
47
47
|
import {
|
|
48
48
|
defaultValue_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VE7BFUIX.js";
|
|
50
50
|
import {
|
|
51
51
|
DeveloperError_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-S3PI2KFM.js";
|
|
53
53
|
import {
|
|
54
54
|
defined_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-AA4GZKOT.js";
|
|
56
56
|
|
|
57
57
|
// packages/engine/Source/Core/CornerType.js
|
|
58
58
|
var CornerType = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,47 +25,47 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
VertexFormat_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KUN2ZA5X.js";
|
|
29
29
|
import {
|
|
30
30
|
Plane_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4BAE4PWO.js";
|
|
32
32
|
import {
|
|
33
33
|
GeometryAttributes_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-R6B7UCQB.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryAttribute_default,
|
|
37
37
|
Geometry_default,
|
|
38
38
|
PrimitiveType_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GR3CDLCP.js";
|
|
40
40
|
import {
|
|
41
41
|
BoundingSphere_default,
|
|
42
42
|
Intersect_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DOXCPOG4.js";
|
|
44
44
|
import {
|
|
45
45
|
Cartesian4_default,
|
|
46
46
|
Matrix4_default,
|
|
47
47
|
Quaternion_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-O3JCMSS3.js";
|
|
49
49
|
import {
|
|
50
50
|
ComponentDatatype_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-2J3JKXCP.js";
|
|
52
52
|
import {
|
|
53
53
|
Cartesian3_default,
|
|
54
54
|
Matrix3_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-PYHLO636.js";
|
|
56
56
|
import {
|
|
57
57
|
Math_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MSKXMXJI.js";
|
|
59
59
|
import {
|
|
60
60
|
defaultValue_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-VE7BFUIX.js";
|
|
62
62
|
import {
|
|
63
63
|
Check_default,
|
|
64
64
|
DeveloperError_default
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-S3PI2KFM.js";
|
|
66
66
|
import {
|
|
67
67
|
defined_default
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-AA4GZKOT.js";
|
|
69
69
|
|
|
70
70
|
// packages/engine/Source/Core/CullingVolume.js
|
|
71
71
|
function CullingVolume(planes) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -29,26 +29,26 @@ import {
|
|
|
29
29
|
Quaternion_default,
|
|
30
30
|
Rectangle_default,
|
|
31
31
|
Transforms_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-O3JCMSS3.js";
|
|
33
33
|
import {
|
|
34
34
|
Cartesian2_default,
|
|
35
35
|
Cartesian3_default,
|
|
36
36
|
Cartographic_default,
|
|
37
37
|
Matrix3_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PYHLO636.js";
|
|
39
39
|
import {
|
|
40
40
|
WebGLConstants_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OOK53QUQ.js";
|
|
42
42
|
import {
|
|
43
43
|
defaultValue_default
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VE7BFUIX.js";
|
|
45
45
|
import {
|
|
46
46
|
Check_default,
|
|
47
47
|
DeveloperError_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-S3PI2KFM.js";
|
|
49
49
|
import {
|
|
50
50
|
defined_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-AA4GZKOT.js";
|
|
52
52
|
|
|
53
53
|
// packages/engine/Source/Core/GeometryType.js
|
|
54
54
|
var GeometryType = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Matrix4_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-O3JCMSS3.js";
|
|
29
29
|
import {
|
|
30
30
|
defaultValue_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VE7BFUIX.js";
|
|
32
32
|
import {
|
|
33
33
|
DeveloperError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-S3PI2KFM.js";
|
|
35
35
|
import {
|
|
36
36
|
defined_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AA4GZKOT.js";
|
|
38
38
|
|
|
39
39
|
// packages/engine/Source/Core/GeometryInstance.js
|
|
40
40
|
function GeometryInstance(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Cartesian3_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PYHLO636.js";
|
|
29
29
|
import {
|
|
30
30
|
Check_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-S3PI2KFM.js";
|
|
32
32
|
import {
|
|
33
33
|
defined_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AA4GZKOT.js";
|
|
35
35
|
|
|
36
36
|
// packages/engine/Source/Core/EncodedCartesian3.js
|
|
37
37
|
function EncodedCartesian3() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,56 +25,56 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
AttributeCompression_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OORVMGDU.js";
|
|
29
29
|
import {
|
|
30
30
|
EncodedCartesian3_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-I2RC4XVN.js";
|
|
32
32
|
import {
|
|
33
33
|
IntersectionTests_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XD445VDH.js";
|
|
35
35
|
import {
|
|
36
36
|
Plane_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4BAE4PWO.js";
|
|
38
38
|
import {
|
|
39
39
|
IndexDatatype_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-QD4KM3GO.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttribute_default,
|
|
43
43
|
GeometryType_default,
|
|
44
44
|
Geometry_default,
|
|
45
45
|
PrimitiveType_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-GR3CDLCP.js";
|
|
47
47
|
import {
|
|
48
48
|
BoundingSphere_default,
|
|
49
49
|
GeographicProjection_default,
|
|
50
50
|
Intersect_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-DOXCPOG4.js";
|
|
52
52
|
import {
|
|
53
53
|
Cartesian4_default,
|
|
54
54
|
Matrix4_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-O3JCMSS3.js";
|
|
56
56
|
import {
|
|
57
57
|
ComponentDatatype_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-2J3JKXCP.js";
|
|
59
59
|
import {
|
|
60
60
|
Cartesian2_default,
|
|
61
61
|
Cartesian3_default,
|
|
62
62
|
Cartographic_default,
|
|
63
63
|
Matrix3_default
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-PYHLO636.js";
|
|
65
65
|
import {
|
|
66
66
|
Math_default
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-MSKXMXJI.js";
|
|
68
68
|
import {
|
|
69
69
|
defaultValue_default
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-VE7BFUIX.js";
|
|
71
71
|
import {
|
|
72
72
|
Check_default,
|
|
73
73
|
DeveloperError_default
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-S3PI2KFM.js";
|
|
75
75
|
import {
|
|
76
76
|
defined_default
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-AA4GZKOT.js";
|
|
78
78
|
|
|
79
79
|
// packages/engine/Source/Core/barycentricCoordinates.js
|
|
80
80
|
var scratchCartesian1 = new Cartesian3_default();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
defaultValue_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VE7BFUIX.js";
|
|
29
29
|
import {
|
|
30
30
|
DeveloperError_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-S3PI2KFM.js";
|
|
32
32
|
import {
|
|
33
33
|
defined_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AA4GZKOT.js";
|
|
35
35
|
|
|
36
36
|
// packages/engine/Source/Core/VertexFormat.js
|
|
37
37
|
function VertexFormat(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,46 +25,46 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
CylinderGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TO2PVHKI.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryOffsetAttribute_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-Q55ECN3Y.js";
|
|
32
32
|
import {
|
|
33
33
|
VertexFormat_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KUN2ZA5X.js";
|
|
35
35
|
import {
|
|
36
36
|
IndexDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QD4KM3GO.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttributes_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-R6B7UCQB.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttribute_default,
|
|
43
43
|
Geometry_default,
|
|
44
44
|
PrimitiveType_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-GR3CDLCP.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DOXCPOG4.js";
|
|
49
49
|
import {
|
|
50
50
|
ComponentDatatype_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-2J3JKXCP.js";
|
|
52
52
|
import {
|
|
53
53
|
Cartesian2_default,
|
|
54
54
|
Cartesian3_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-PYHLO636.js";
|
|
56
56
|
import {
|
|
57
57
|
Math_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MSKXMXJI.js";
|
|
59
59
|
import {
|
|
60
60
|
defaultValue_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-VE7BFUIX.js";
|
|
62
62
|
import {
|
|
63
63
|
DeveloperError_default
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-S3PI2KFM.js";
|
|
65
65
|
import {
|
|
66
66
|
defined_default
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-AA4GZKOT.js";
|
|
68
68
|
|
|
69
69
|
// packages/engine/Source/Core/CylinderGeometry.js
|
|
70
70
|
var radiusScratch = new Cartesian2_default();
|