@cesium/engine 20.0.1 → 21.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/ThirdParty/Workers/zip-web-worker.js +637 -0
- package/Build/Workers/{chunk-7P7R7ERW.js → chunk-2T4WAVWX.js} +6 -6
- package/Build/Workers/{chunk-DNMSVJ4S.js → chunk-3G5XEUPY.js} +1 -1
- package/Build/Workers/{chunk-O7KDJVRH.js → chunk-3MSNTCHW.js} +9 -9
- package/Build/Workers/{chunk-7MCEUVPM.js → chunk-3OPG2FGI.js} +4 -4
- package/Build/Workers/{chunk-M4FSVD3C.js → chunk-3PUG3T2H.js} +12 -12
- package/Build/Workers/{chunk-CTU7LCVZ.js → chunk-4PH27XAL.js} +2 -2
- package/Build/Workers/{chunk-ZBLPNAYB.js → chunk-4VJYMLR6.js} +8 -8
- package/Build/Workers/{chunk-DAZVD3AH.js → chunk-5B3PGBQW.js} +11 -11
- package/Build/Workers/{chunk-UXIZVXIR.js → chunk-5GHCWGC4.js} +1 -1
- package/Build/Workers/{chunk-HZ22ZI3Q.js → chunk-5PEQUMCB.js} +12 -12
- package/Build/Workers/{chunk-HSVZWLJD.js → chunk-64WSG7AT.js} +4 -4
- package/Build/Workers/{chunk-ZJGO7T2S.js → chunk-6J6WGCWP.js} +4 -4
- package/Build/Workers/{chunk-OWV4L2GH.js → chunk-75B34CC6.js} +5 -5
- package/Build/Workers/{chunk-4MCKK5XE.js → chunk-7PLX65MV.js} +5 -5
- package/Build/Workers/{chunk-YVAOKOKX.js → chunk-AR2FUSG6.js} +1 -1
- package/Build/Workers/{chunk-JVNWWKXF.js → chunk-ARYRHDEB.js} +6 -6
- package/Build/Workers/{chunk-DAGWF5MM.js → chunk-B7INTBBB.js} +13 -13
- package/Build/Workers/{chunk-WNEY4A5P.js → chunk-BDPSQXLX.js} +5 -5
- package/Build/Workers/{chunk-LYKXQPGW.js → chunk-BU4CGMHO.js} +6 -6
- package/Build/Workers/{chunk-ECGKCTPM.js → chunk-BUBVUXDO.js} +6 -6
- package/Build/Workers/{chunk-LSYTMSIQ.js → chunk-CF72FAKC.js} +4 -4
- package/Build/Workers/{chunk-LZZA3PAR.js → chunk-DJ4ROETJ.js} +5 -5
- package/Build/Workers/{chunk-YNRRVRHO.js → chunk-E5XCZVIY.js} +1 -1
- package/Build/Workers/{chunk-RP4KKY2E.js → chunk-EAYW4CFP.js} +16 -16
- package/Build/Workers/{chunk-YW2UXIBU.js → chunk-EHFMZFVC.js} +4 -4
- package/Build/Workers/{chunk-HKHD5FDM.js → chunk-FFCKCQPK.js} +5 -5
- package/Build/Workers/{chunk-VQLQAENU.js → chunk-GKCZ2G36.js} +7 -7
- package/Build/Workers/{chunk-DJCPJJSP.js → chunk-HJ7IZBEI.js} +4 -4
- package/Build/Workers/{chunk-7FEVXX5D.js → chunk-JJZWDROM.js} +2 -2
- package/Build/Workers/{chunk-SLPWFCXZ.js → chunk-JUOEBO4F.js} +10 -10
- package/Build/Workers/{chunk-LHZKPI55.js → chunk-K4IDXMIZ.js} +9 -9
- package/Build/Workers/{chunk-D4VFVSGU.js → chunk-LL6HN3W4.js} +10 -10
- package/Build/Workers/{chunk-CZGSJ6ZG.js → chunk-LNTUIO55.js} +2 -2
- package/Build/Workers/{chunk-QFMJIXCL.js → chunk-LWOCFJEH.js} +9 -9
- package/Build/Workers/{chunk-2K5PKWLP.js → chunk-MMUISYW4.js} +16 -16
- package/Build/Workers/{chunk-IQKHPQNT.js → chunk-MXYW4BQ3.js} +2 -2
- package/Build/Workers/{chunk-XMIVNU5H.js → chunk-N6DVKXZD.js} +12 -12
- package/Build/Workers/{chunk-E2533KCN.js → chunk-NP46ZIBY.js} +3 -3
- package/Build/Workers/{chunk-O4DA3KRB.js → chunk-OW6F6CPZ.js} +7 -7
- package/Build/Workers/{chunk-QWHUQ4B7.js → chunk-P6OAOFBU.js} +8 -8
- package/Build/Workers/{chunk-4Z7AGRTU.js → chunk-PXDMWXO5.js} +2 -2
- package/Build/Workers/{chunk-WJ5THCIZ.js → chunk-QS7623NH.js} +6 -6
- package/Build/Workers/{chunk-OYFINQQA.js → chunk-ROH45IXJ.js} +7 -7
- package/Build/Workers/{chunk-2MEON5V4.js → chunk-S2P6LCIB.js} +4 -4
- package/Build/Workers/{chunk-JIXKGUWR.js → chunk-S4NZVXU6.js} +2 -2
- package/Build/Workers/{chunk-JHTZDMN6.js → chunk-SGGO5WVA.js} +5 -5
- package/Build/Workers/{chunk-UUXKGCBU.js → chunk-TG7N7TPY.js} +47 -50
- package/Build/Workers/{chunk-PFUF2QIK.js → chunk-TUZQG4RW.js} +14 -14
- package/Build/Workers/{chunk-LF74EILW.js → chunk-UHVE7V65.js} +12 -12
- package/Build/Workers/{chunk-L7PWWHKM.js → chunk-UY2HVPDL.js} +5 -5
- package/Build/Workers/{chunk-V65LOTF3.js → chunk-YNLPRFUQ.js} +6 -6
- package/Build/Workers/{chunk-RB3XS7EZ.js → chunk-ZYOHBCCE.js} +1 -1
- package/Build/Workers/combineGeometry.js +21 -21
- package/Build/Workers/createBoxGeometry.js +15 -15
- package/Build/Workers/createBoxOutlineGeometry.js +13 -13
- package/Build/Workers/createCircleGeometry.js +23 -23
- package/Build/Workers/createCircleOutlineGeometry.js +16 -16
- package/Build/Workers/createCoplanarPolygonGeometry.js +30 -30
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +28 -28
- package/Build/Workers/createCorridorGeometry.js +26 -26
- package/Build/Workers/createCorridorOutlineGeometry.js +25 -25
- package/Build/Workers/createCylinderGeometry.js +17 -17
- package/Build/Workers/createCylinderOutlineGeometry.js +15 -15
- package/Build/Workers/createEllipseGeometry.js +23 -23
- package/Build/Workers/createEllipseOutlineGeometry.js +16 -16
- package/Build/Workers/createEllipsoidGeometry.js +16 -16
- package/Build/Workers/createEllipsoidOutlineGeometry.js +15 -15
- package/Build/Workers/createFrustumGeometry.js +15 -15
- package/Build/Workers/createFrustumOutlineGeometry.js +15 -15
- package/Build/Workers/createGeometry.js +21 -21
- package/Build/Workers/createGroundPolylineGeometry.js +19 -19
- package/Build/Workers/createPlaneGeometry.js +13 -13
- package/Build/Workers/createPlaneOutlineGeometry.js +12 -12
- package/Build/Workers/createPolygonGeometry.js +29 -29
- package/Build/Workers/createPolygonOutlineGeometry.js +27 -27
- package/Build/Workers/createPolylineGeometry.js +22 -22
- package/Build/Workers/createPolylineVolumeGeometry.js +28 -28
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +24 -24
- package/Build/Workers/createRectangleGeometry.js +24 -24
- package/Build/Workers/createRectangleOutlineGeometry.js +17 -17
- package/Build/Workers/createSimplePolylineGeometry.js +20 -20
- package/Build/Workers/createSphereGeometry.js +16 -16
- package/Build/Workers/createSphereOutlineGeometry.js +15 -15
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +12 -12
- package/Build/Workers/createVectorTileGeometries.js +21 -21
- package/Build/Workers/createVectorTilePoints.js +11 -11
- package/Build/Workers/createVectorTilePolygons.js +19 -19
- package/Build/Workers/createVectorTilePolylines.js +12 -12
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +19 -19
- package/Build/Workers/createVerticesFromHeightmap.js +19 -19
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +16 -16
- package/Build/Workers/createWallGeometry.js +21 -21
- package/Build/Workers/createWallOutlineGeometry.js +20 -20
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +9 -9
- package/Build/Workers/gaussianSplatSorter.js +4 -4
- package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
- package/Build/Workers/transcodeKTX2.js +6 -6
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +19 -19
- package/Source/Core/Event.js +41 -49
- package/Source/Core/GoogleMaps.js +2 -2
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/IonResource.js +30 -4
- package/Source/Core/Resource.js +5 -1
- package/Source/DataSources/KmlDataSource.js +62 -63
- package/Source/DataSources/exportKml.js +27 -30
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Azure2DImageryProvider.js +308 -0
- package/Source/Scene/BatchTableHierarchy.js +2 -50
- package/Source/Scene/Billboard.js +4 -0
- package/Source/Scene/BillboardCollection.js +9 -2
- package/Source/Scene/ClippingPlaneCollection.js +3 -3
- package/Source/Scene/ClippingPolygon.js +91 -2
- package/Source/Scene/CreditDisplay.js +1 -1
- package/Source/Scene/GaussianSplat3DTileContent.js +54 -9
- package/Source/Scene/GaussianSplatPrimitive.js +49 -50
- package/Source/Scene/Google2DImageryProvider.js +614 -0
- package/Source/Scene/IonImageryProvider.js +22 -1
- package/Source/Scene/LabelCollection.js +1 -0
- package/Source/Scene/Material.js +248 -80
- package/Source/Scene/PntsParser.js +65 -0
- package/Source/Scene/Primitive.js +6 -0
- package/Source/Scene/PrimitiveState.js +123 -0
- package/Source/Scene/Scene.js +2 -2
- package/Source/Scene/VoxelBoundsCollection.js +494 -0
- package/Source/Scene/VoxelBoxShape.js +236 -101
- package/Source/Scene/VoxelCylinderShape.js +315 -204
- package/Source/Scene/VoxelEllipsoidShape.js +402 -119
- package/Source/Scene/VoxelPrimitive.js +119 -84
- package/Source/Scene/VoxelRenderResources.js +17 -10
- package/Source/Scene/VoxelShape.js +21 -6
- package/Source/Scene/buildVoxelDrawCommands.js +61 -20
- package/Source/Scene/createGooglePhotorealistic3DTileset.js +1 -1
- package/Source/Scene/getClippingFunction.js +79 -88
- package/Source/Shaders/BillboardCollectionVS.glsl +2 -0
- package/Source/Shaders/BillboardCollectionVS.js +2 -0
- package/Source/Shaders/Voxels/IntersectBox.glsl +20 -33
- package/Source/Shaders/Voxels/IntersectBox.js +20 -33
- package/Source/Shaders/Voxels/IntersectCylinder.glsl +28 -32
- package/Source/Shaders/Voxels/IntersectCylinder.js +28 -32
- package/Source/Shaders/Voxels/IntersectDepth.glsl +1 -4
- package/Source/Shaders/Voxels/IntersectDepth.js +1 -4
- package/Source/Shaders/Voxels/IntersectEllipsoid.glsl +12 -20
- package/Source/Shaders/Voxels/IntersectEllipsoid.js +12 -20
- package/Source/Shaders/Voxels/IntersectLongitude.glsl +21 -9
- package/Source/Shaders/Voxels/IntersectLongitude.js +21 -9
- package/Source/Shaders/Voxels/{IntersectClippingPlanes.glsl → IntersectPlane.glsl} +5 -3
- package/Source/Shaders/Voxels/{IntersectClippingPlanes.js → IntersectPlane.js} +5 -3
- package/Source/Shaders/Voxels/Intersection.glsl +3 -3
- package/Source/Shaders/Voxels/Intersection.js +3 -3
- package/Source/Shaders/Voxels/Octree.glsl +46 -51
- package/Source/Shaders/Voxels/Octree.js +46 -51
- package/Source/Shaders/Voxels/VoxelFS.glsl +50 -48
- package/Source/Shaders/Voxels/VoxelFS.js +50 -48
- package/Source/Shaders/Voxels/VoxelUtils.glsl +0 -19
- package/Source/Shaders/Voxels/VoxelUtils.js +0 -19
- package/Source/Shaders/Voxels/convertLocalToBoxUv.glsl +30 -0
- package/Source/Shaders/Voxels/convertLocalToBoxUv.js +32 -0
- package/Source/Shaders/Voxels/convertLocalToCylinderUv.glsl +97 -0
- package/Source/Shaders/Voxels/convertLocalToCylinderUv.js +99 -0
- package/Source/Shaders/Voxels/convertLocalToEllipsoidUv.glsl +193 -0
- package/Source/Shaders/Voxels/convertLocalToEllipsoidUv.js +195 -0
- package/Source/ThirdParty/Workers/zip-web-worker.js +1 -0
- package/Source/ThirdParty/zip-module.wasm +0 -0
- package/index.d.ts +340 -14
- package/index.js +116 -114
- package/package.json +2 -2
- package/Build/ThirdParty/Workers/pako_deflate.min.js +0 -503
- package/Build/ThirdParty/Workers/pako_inflate.min.js +0 -698
- package/Build/ThirdParty/Workers/z-worker-pako.js +0 -601
- package/Source/Core/defaultValue.js +0 -48
- package/Source/Shaders/Voxels/convertUvToBox.glsl +0 -45
- package/Source/Shaders/Voxels/convertUvToBox.js +0 -46
- package/Source/Shaders/Voxels/convertUvToCylinder.glsl +0 -99
- package/Source/Shaders/Voxels/convertUvToCylinder.js +0 -101
- package/Source/Shaders/Voxels/convertUvToEllipsoid.glsl +0 -139
- package/Source/Shaders/Voxels/convertUvToEllipsoid.js +0 -141
- package/Source/ThirdParty/Workers/pako_deflate.min.js +0 -2
- package/Source/ThirdParty/Workers/pako_inflate.min.js +0 -2
- package/Source/ThirdParty/Workers/z-worker-pako.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,40 +25,40 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
WebMercatorProjection_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BDPSQXLX.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryPipeline_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-TUZQG4RW.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-7PLX65MV.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryAttributes_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-S4NZVXU6.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttribute_default,
|
|
40
40
|
Geometry_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ARYRHDEB.js";
|
|
42
42
|
import {
|
|
43
43
|
BoundingSphere_default,
|
|
44
44
|
GeographicProjection_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-BU4CGMHO.js";
|
|
46
46
|
import {
|
|
47
47
|
Matrix4_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-TG7N7TPY.js";
|
|
49
49
|
import {
|
|
50
50
|
ComponentDatatype_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-EHFMZFVC.js";
|
|
52
52
|
import {
|
|
53
53
|
Ellipsoid_default
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CF72FAKC.js";
|
|
55
55
|
import {
|
|
56
56
|
Check_default,
|
|
57
57
|
DeveloperError_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-JJZWDROM.js";
|
|
59
59
|
import {
|
|
60
60
|
defined_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-5GHCWGC4.js";
|
|
62
62
|
|
|
63
63
|
// packages/engine/Source/Core/OffsetGeometryInstanceAttribute.js
|
|
64
64
|
function OffsetGeometryInstanceAttribute(x, y, z) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
import {
|
|
27
27
|
Check_default,
|
|
28
28
|
DeveloperError_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-JJZWDROM.js";
|
|
30
30
|
import {
|
|
31
31
|
__commonJS,
|
|
32
32
|
__toESM,
|
|
33
33
|
defined_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5GHCWGC4.js";
|
|
35
35
|
|
|
36
36
|
// node_modules/mersenne-twister/src/mersenne-twister.js
|
|
37
37
|
var require_mersenne_twister = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
GeographicProjection_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BU4CGMHO.js";
|
|
29
29
|
import {
|
|
30
30
|
Matrix2_default,
|
|
31
31
|
Rectangle_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TG7N7TPY.js";
|
|
33
33
|
import {
|
|
34
34
|
Cartesian3_default,
|
|
35
35
|
Cartographic_default,
|
|
36
36
|
Ellipsoid_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CF72FAKC.js";
|
|
38
38
|
import {
|
|
39
39
|
Math_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-NP46ZIBY.js";
|
|
41
41
|
import {
|
|
42
42
|
DeveloperError_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-JJZWDROM.js";
|
|
44
44
|
import {
|
|
45
45
|
defined_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5GHCWGC4.js";
|
|
47
47
|
|
|
48
48
|
// packages/engine/Source/Core/RectangleGeometryLibrary.js
|
|
49
49
|
var cos = Math.cos;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,31 +25,31 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
PolylinePipeline_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LL6HN3W4.js";
|
|
29
29
|
import {
|
|
30
30
|
EllipsoidTangentPlane_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4VJYMLR6.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-TG7N7TPY.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-CF72FAKC.js";
|
|
44
44
|
import {
|
|
45
45
|
Math_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-NP46ZIBY.js";
|
|
47
47
|
import {
|
|
48
48
|
DeveloperError_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-JJZWDROM.js";
|
|
50
50
|
import {
|
|
51
51
|
defined_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-5GHCWGC4.js";
|
|
53
53
|
|
|
54
54
|
// packages/engine/Source/Core/CornerType.js
|
|
55
55
|
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.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
defined_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5GHCWGC4.js";
|
|
29
29
|
|
|
30
30
|
// packages/engine/Source/Core/RuntimeError.js
|
|
31
31
|
function RuntimeError(message) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
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-LL6HN3W4.js";
|
|
29
29
|
import {
|
|
30
30
|
arrayRemoveDuplicates_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-3OPG2FGI.js";
|
|
32
32
|
import {
|
|
33
33
|
Cartesian3_default,
|
|
34
34
|
Cartographic_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-CF72FAKC.js";
|
|
36
36
|
import {
|
|
37
37
|
Math_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NP46ZIBY.js";
|
|
39
39
|
import {
|
|
40
40
|
defined_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5GHCWGC4.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.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
import {
|
|
27
27
|
CornerType_default,
|
|
28
28
|
PolylineVolumeGeometryLibrary_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-P6OAOFBU.js";
|
|
30
30
|
import {
|
|
31
31
|
PolylinePipeline_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LL6HN3W4.js";
|
|
33
33
|
import {
|
|
34
34
|
Quaternion_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-TG7N7TPY.js";
|
|
36
36
|
import {
|
|
37
37
|
Cartesian3_default,
|
|
38
38
|
Matrix3_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-CF72FAKC.js";
|
|
40
40
|
import {
|
|
41
41
|
Math_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NP46ZIBY.js";
|
|
43
43
|
import {
|
|
44
44
|
defined_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-5GHCWGC4.js";
|
|
46
46
|
|
|
47
47
|
// packages/engine/Source/Core/CorridorGeometryLibrary.js
|
|
48
48
|
var CorridorGeometryLibrary = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
OrientedBoundingBox_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3MSNTCHW.js";
|
|
29
29
|
import {
|
|
30
30
|
Cartesian2_default,
|
|
31
31
|
Cartesian3_default,
|
|
32
32
|
Matrix3_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-CF72FAKC.js";
|
|
34
34
|
import {
|
|
35
35
|
Check_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-JJZWDROM.js";
|
|
37
37
|
|
|
38
38
|
// packages/engine/Source/Core/CoplanarPolygonGeometryLibrary.js
|
|
39
39
|
var CoplanarPolygonGeometryLibrary = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Frozen_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CF72FAKC.js";
|
|
29
29
|
|
|
30
30
|
// packages/engine/Source/Core/GeometryAttributes.js
|
|
31
31
|
function GeometryAttributes(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
import {
|
|
27
27
|
FeatureDetection_default,
|
|
28
28
|
Frozen_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CF72FAKC.js";
|
|
30
30
|
import {
|
|
31
31
|
Math_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NP46ZIBY.js";
|
|
33
33
|
import {
|
|
34
34
|
Check_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-JJZWDROM.js";
|
|
36
36
|
import {
|
|
37
37
|
defined_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5GHCWGC4.js";
|
|
39
39
|
|
|
40
40
|
// packages/engine/Source/Core/Color.js
|
|
41
41
|
function hue2rgb(m1, m2, h) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -31,23 +31,23 @@ import {
|
|
|
31
31
|
FeatureDetection_default,
|
|
32
32
|
Frozen_default,
|
|
33
33
|
Matrix3_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CF72FAKC.js";
|
|
35
35
|
import {
|
|
36
36
|
Math_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NP46ZIBY.js";
|
|
38
38
|
import {
|
|
39
39
|
RuntimeError_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PXDMWXO5.js";
|
|
41
41
|
import {
|
|
42
42
|
Check_default,
|
|
43
43
|
DeveloperError_default
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JJZWDROM.js";
|
|
45
45
|
import {
|
|
46
46
|
__commonJS,
|
|
47
47
|
__require,
|
|
48
48
|
__toESM,
|
|
49
49
|
defined_default
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-5GHCWGC4.js";
|
|
51
51
|
|
|
52
52
|
// node_modules/urijs/src/punycode.js
|
|
53
53
|
var require_punycode = __commonJS({
|
|
@@ -5895,10 +5895,10 @@ var import_urijs4 = __toESM(require_URI(), 1);
|
|
|
5895
5895
|
|
|
5896
5896
|
// packages/engine/Source/Core/Event.js
|
|
5897
5897
|
function Event() {
|
|
5898
|
-
this._listeners =
|
|
5899
|
-
this._scopes = [];
|
|
5898
|
+
this._listeners = /* @__PURE__ */ new Map();
|
|
5900
5899
|
this._toRemove = [];
|
|
5901
5900
|
this._insideRaiseEvent = false;
|
|
5901
|
+
this._listenerCount = 0;
|
|
5902
5902
|
}
|
|
5903
5903
|
Object.defineProperties(Event.prototype, {
|
|
5904
5904
|
/**
|
|
@@ -5909,14 +5909,20 @@ Object.defineProperties(Event.prototype, {
|
|
|
5909
5909
|
*/
|
|
5910
5910
|
numberOfListeners: {
|
|
5911
5911
|
get: function() {
|
|
5912
|
-
return this.
|
|
5912
|
+
return this._listenerCount;
|
|
5913
5913
|
}
|
|
5914
5914
|
}
|
|
5915
5915
|
});
|
|
5916
5916
|
Event.prototype.addEventListener = function(listener, scope) {
|
|
5917
5917
|
Check_default.typeOf.func("listener", listener);
|
|
5918
|
-
this._listeners.
|
|
5919
|
-
|
|
5918
|
+
if (!this._listeners.has(listener)) {
|
|
5919
|
+
this._listeners.set(listener, /* @__PURE__ */ new Set());
|
|
5920
|
+
}
|
|
5921
|
+
const scopes = this._listeners.get(listener);
|
|
5922
|
+
if (!scopes.has(scope)) {
|
|
5923
|
+
scopes.add(scope);
|
|
5924
|
+
this._listenerCount++;
|
|
5925
|
+
}
|
|
5920
5926
|
const event = this;
|
|
5921
5927
|
return function() {
|
|
5922
5928
|
event.removeEventListener(listener, scope);
|
|
@@ -5924,53 +5930,40 @@ Event.prototype.addEventListener = function(listener, scope) {
|
|
|
5924
5930
|
};
|
|
5925
5931
|
Event.prototype.removeEventListener = function(listener, scope) {
|
|
5926
5932
|
Check_default.typeOf.func("listener", listener);
|
|
5927
|
-
const
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
for (let i = 0; i < listeners.length; i++) {
|
|
5931
|
-
if (listeners[i] === listener && scopes[i] === scope) {
|
|
5932
|
-
index = i;
|
|
5933
|
-
break;
|
|
5934
|
-
}
|
|
5933
|
+
const scopes = this._listeners.get(listener);
|
|
5934
|
+
if (!scopes || !scopes.has(scope)) {
|
|
5935
|
+
return false;
|
|
5935
5936
|
}
|
|
5936
|
-
if (
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
listeners.splice(index, 1);
|
|
5943
|
-
scopes.splice(index, 1);
|
|
5937
|
+
if (this._insideRaiseEvent) {
|
|
5938
|
+
this._toRemove.push({ listener, scope });
|
|
5939
|
+
} else {
|
|
5940
|
+
scopes.delete(scope);
|
|
5941
|
+
if (scopes.size === 0) {
|
|
5942
|
+
this._listeners.delete(listener);
|
|
5944
5943
|
}
|
|
5945
|
-
return true;
|
|
5946
5944
|
}
|
|
5947
|
-
|
|
5945
|
+
this._listenerCount--;
|
|
5946
|
+
return true;
|
|
5948
5947
|
};
|
|
5949
|
-
function compareNumber(a3, b) {
|
|
5950
|
-
return b - a3;
|
|
5951
|
-
}
|
|
5952
5948
|
Event.prototype.raiseEvent = function() {
|
|
5953
5949
|
this._insideRaiseEvent = true;
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
if (defined_default(listener)) {
|
|
5961
|
-
listeners[i].apply(scopes[i], arguments);
|
|
5950
|
+
for (const [listener, scopes] of this._listeners.entries()) {
|
|
5951
|
+
if (!defined_default(listener)) {
|
|
5952
|
+
continue;
|
|
5953
|
+
}
|
|
5954
|
+
for (const scope of scopes) {
|
|
5955
|
+
listener.apply(scope, arguments);
|
|
5962
5956
|
}
|
|
5963
5957
|
}
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
scopes.splice(index, 1);
|
|
5958
|
+
if (this._toRemove.length > 0) {
|
|
5959
|
+
for (const { listener, scope } of this._toRemove) {
|
|
5960
|
+
const scopes = this._listeners.get(listener);
|
|
5961
|
+
scopes.delete(scope);
|
|
5962
|
+
if (scopes.size === 0) {
|
|
5963
|
+
this._listeners.delete(listener);
|
|
5964
|
+
}
|
|
5972
5965
|
}
|
|
5973
|
-
|
|
5966
|
+
this._toRemove.length = 0;
|
|
5974
5967
|
}
|
|
5975
5968
|
this._insideRaiseEvent = false;
|
|
5976
5969
|
};
|
|
@@ -6570,6 +6563,8 @@ Resource.supportsImageBitmapOptions = function() {
|
|
|
6570
6563
|
url: imageDataUri
|
|
6571
6564
|
}).then(function(blob) {
|
|
6572
6565
|
const imageBitmapOptions = {
|
|
6566
|
+
// 'from-image' is deprecated, new option is 'none'. However, we still need to support older browsers,
|
|
6567
|
+
// and there's no good way to detect support for these options. For now, continue to use 'from-image'. See: https://github.com/CesiumGS/cesium/issues/12846
|
|
6573
6568
|
imageOrientation: "flipY",
|
|
6574
6569
|
// default is "from-image"
|
|
6575
6570
|
premultiplyAlpha: "none",
|
|
@@ -7411,7 +7406,9 @@ Resource.createImageBitmapFromBlob = function(blob, options) {
|
|
|
7411
7406
|
options.skipColorSpaceConversion
|
|
7412
7407
|
);
|
|
7413
7408
|
return createImageBitmap(blob, {
|
|
7414
|
-
|
|
7409
|
+
// 'from-image' is deprecated, new option is 'none'. However, we still need to support older browsers,
|
|
7410
|
+
// and there's no good way to detect support for these options. For now, continue to use 'from-image'. See: https://github.com/CesiumGS/cesium/issues/12846
|
|
7411
|
+
imageOrientation: options.flipY ? "flipY" : "none",
|
|
7415
7412
|
premultiplyAlpha: options.premultiplyAlpha ? "premultiply" : "none",
|
|
7416
7413
|
colorSpaceConversion: options.skipColorSpaceConversion ? "none" : "default"
|
|
7417
7414
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,54 +25,54 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
AttributeCompression_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GKCZ2G36.js";
|
|
29
29
|
import {
|
|
30
30
|
EncodedCartesian3_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HJ7IZBEI.js";
|
|
32
32
|
import {
|
|
33
33
|
IntersectionTests_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2T4WAVWX.js";
|
|
35
35
|
import {
|
|
36
36
|
Plane_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BUBVUXDO.js";
|
|
38
38
|
import {
|
|
39
39
|
IndexDatatype_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7PLX65MV.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-ARYRHDEB.js";
|
|
47
47
|
import {
|
|
48
48
|
BoundingSphere_default,
|
|
49
49
|
GeographicProjection_default,
|
|
50
50
|
Intersect_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-BU4CGMHO.js";
|
|
52
52
|
import {
|
|
53
53
|
Cartesian4_default,
|
|
54
54
|
Matrix4_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TG7N7TPY.js";
|
|
56
56
|
import {
|
|
57
57
|
ComponentDatatype_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-EHFMZFVC.js";
|
|
59
59
|
import {
|
|
60
60
|
Cartesian2_default,
|
|
61
61
|
Cartesian3_default,
|
|
62
62
|
Cartographic_default,
|
|
63
63
|
Frozen_default,
|
|
64
64
|
Matrix3_default
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-CF72FAKC.js";
|
|
66
66
|
import {
|
|
67
67
|
Math_default
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-NP46ZIBY.js";
|
|
69
69
|
import {
|
|
70
70
|
Check_default,
|
|
71
71
|
DeveloperError_default
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-JJZWDROM.js";
|
|
73
73
|
import {
|
|
74
74
|
defined_default
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-5GHCWGC4.js";
|
|
76
76
|
|
|
77
77
|
// packages/engine/Source/Core/barycentricCoordinates.js
|
|
78
78
|
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.134.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,41 +25,41 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipseGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6J6WGCWP.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryOffsetAttribute_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AR2FUSG6.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-7PLX65MV.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryAttributes_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-S4NZVXU6.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttribute_default,
|
|
40
40
|
Geometry_default,
|
|
41
41
|
PrimitiveType_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ARYRHDEB.js";
|
|
43
43
|
import {
|
|
44
44
|
BoundingSphere_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-BU4CGMHO.js";
|
|
46
46
|
import {
|
|
47
47
|
ComponentDatatype_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-EHFMZFVC.js";
|
|
49
49
|
import {
|
|
50
50
|
Cartesian3_default,
|
|
51
51
|
Ellipsoid_default,
|
|
52
52
|
Frozen_default
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-CF72FAKC.js";
|
|
54
54
|
import {
|
|
55
55
|
Math_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-NP46ZIBY.js";
|
|
57
57
|
import {
|
|
58
58
|
DeveloperError_default
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-JJZWDROM.js";
|
|
60
60
|
import {
|
|
61
61
|
defined_default
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-5GHCWGC4.js";
|
|
63
63
|
|
|
64
64
|
// packages/engine/Source/Core/EllipseOutlineGeometry.js
|
|
65
65
|
var scratchCartesian1 = new Cartesian3_default();
|