@cesium/engine 6.0.0 → 6.1.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-AXODHVUI.js → chunk-2GWOHAWL.js} +4 -4
- package/Build/Workers/{chunk-VEPSTOBV.js → chunk-3R5RPSYS.js} +8 -8
- package/Build/Workers/{chunk-FK5BM4WD.js → chunk-4CHSBZNO.js} +11 -11
- package/Build/Workers/{chunk-BKVKFLIC.js → chunk-4EXWKTY2.js} +7 -7
- package/Build/Workers/{chunk-DZUFRYQK.js → chunk-4JETNOH2.js} +11 -11
- package/Build/Workers/{chunk-W2LZZCAF.js → chunk-4MPXTOW6.js} +7 -7
- package/Build/Workers/{chunk-M57VBCI4.js → chunk-54GSYZWT.js} +5 -5
- package/Build/Workers/{chunk-ZBTL2GWA.js → chunk-5HUDPV54.js} +6 -6
- package/Build/Workers/{chunk-VBOAZG67.js → chunk-6JRDO2JP.js} +17 -17
- package/Build/Workers/{chunk-LCMSJE5D.js → chunk-6LG4PY2M.js} +12 -12
- package/Build/Workers/{chunk-2AEUVYIC.js → chunk-7ISAYW2A.js} +15 -15
- package/Build/Workers/{chunk-A7T4GOG3.js → chunk-A3TYRSRJ.js} +4 -4
- package/Build/Workers/{chunk-3FNFTDKS.js → chunk-AEADHPUM.js} +4 -4
- package/Build/Workers/{chunk-TWN33EAP.js → chunk-AI2FOC47.js} +10 -10
- package/Build/Workers/{chunk-EFUPZTUD.js → chunk-BLXANKPB.js} +6 -6
- package/Build/Workers/{chunk-3ENSLRZD.js → chunk-CHGQXPF3.js} +7 -7
- package/Build/Workers/{chunk-CLVX47CD.js → chunk-CKOGHQ6J.js} +5 -5
- package/Build/Workers/{chunk-2HEFBNI2.js → chunk-CZFGXAMG.js} +13 -13
- package/Build/Workers/{chunk-HW6ANEVG.js → chunk-DD2PDL6D.js} +5 -5
- package/Build/Workers/{chunk-2IZ2LJ3N.js → chunk-DHO4HQHW.js} +1 -1
- package/Build/Workers/{chunk-MQ32KIOU.js → chunk-DNCKFFNR.js} +3 -3
- package/Build/Workers/{chunk-J5YKECLG.js → chunk-E5HIGWSZ.js} +5 -5
- package/Build/Workers/{chunk-YOZZHZVR.js → chunk-EEL3YC6V.js} +4 -4
- package/Build/Workers/{chunk-I6R5G76Q.js → chunk-EH2PEDWL.js} +2 -2
- package/Build/Workers/{chunk-CBV4JE6S.js → chunk-F66GYWDZ.js} +5 -5
- package/Build/Workers/{chunk-XZKRFAT7.js → chunk-FMN2NHBU.js} +1 -1
- package/Build/Workers/{chunk-MOSBHBQO.js → chunk-FNHGOHCI.js} +7 -7
- package/Build/Workers/{chunk-DI3VM6NF.js → chunk-HX5XY3NH.js} +6 -6
- package/Build/Workers/{chunk-Z6SS6KIF.js → chunk-I5XKU3UZ.js} +11 -11
- package/Build/Workers/{chunk-BZHAJSUN.js → chunk-ICD3BWBC.js} +2 -2
- package/Build/Workers/{chunk-54QBXZYE.js → chunk-IDAL54EF.js} +14 -10
- package/Build/Workers/{chunk-EJWAO37W.js → chunk-IQCBK4CE.js} +7 -7
- package/Build/Workers/{chunk-SAYI6XNA.js → chunk-JY6WB2NK.js} +13 -13
- package/Build/Workers/{chunk-AMGYJNEB.js → chunk-KFCTEEBD.js} +10 -10
- package/Build/Workers/{chunk-FBRBVOAJ.js → chunk-LID3UUML.js} +6 -6
- package/Build/Workers/{chunk-DUMQKN4C.js → chunk-MMNPUV23.js} +2 -2
- package/Build/Workers/{chunk-XEOY7FXL.js → chunk-N3OQDJDV.js} +13 -13
- package/Build/Workers/{chunk-CGHLEZ43.js → chunk-N73NY3KY.js} +1 -1
- package/Build/Workers/{chunk-HYNBEK4C.js → chunk-N7FIYNQV.js} +4 -4
- package/Build/Workers/{chunk-BWTCHYX6.js → chunk-P2BTKBVY.js} +10 -10
- package/Build/Workers/{chunk-FDNL4I6K.js → chunk-PNAD2XAN.js} +6 -6
- package/Build/Workers/{chunk-PZKVP2WI.js → chunk-QX5ASOZZ.js} +14 -14
- package/Build/Workers/{chunk-KXTDRKW5.js → chunk-R5NOUYKW.js} +7 -7
- package/Build/Workers/{chunk-437Q4WBM.js → chunk-TDVU7NH7.js} +6 -6
- package/Build/Workers/{chunk-ZEHXFKIR.js → chunk-TIEL2RYB.js} +15 -15
- package/Build/Workers/{chunk-ASJKRCO4.js → chunk-U5O26DDO.js} +2 -2
- package/Build/Workers/{chunk-7W3AMBD6.js → chunk-UJ76JVUZ.js} +5 -5
- package/Build/Workers/{chunk-KGVHVTX7.js → chunk-ULABUYF6.js} +18 -18
- package/Build/Workers/{chunk-7FAOTOUR.js → chunk-VIAGIVGP.js} +8 -8
- package/Build/Workers/{chunk-6EZ4NFIC.js → chunk-WYMW5NZB.js} +2 -2
- package/Build/Workers/{chunk-TV4Q4TKV.js → chunk-XKGSTUQO.js} +9 -9
- package/Build/Workers/{chunk-GQ66IPL6.js → chunk-XNRYWRVT.js} +1 -1
- package/Build/Workers/{chunk-ZADWOYGF.js → chunk-YK5RU5AO.js} +2 -2
- package/Build/Workers/{chunk-EZPA2AXQ.js → chunk-ZERWARDV.js} +1 -1
- package/Build/Workers/combineGeometry.js +23 -23
- package/Build/Workers/createBoxGeometry.js +17 -17
- package/Build/Workers/createBoxOutlineGeometry.js +15 -15
- package/Build/Workers/createCircleGeometry.js +25 -25
- package/Build/Workers/createCircleOutlineGeometry.js +18 -18
- package/Build/Workers/createCoplanarPolygonGeometry.js +32 -32
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +30 -30
- package/Build/Workers/createCorridorGeometry.js +29 -29
- package/Build/Workers/createCorridorOutlineGeometry.js +28 -28
- package/Build/Workers/createCylinderGeometry.js +19 -19
- package/Build/Workers/createCylinderOutlineGeometry.js +17 -17
- package/Build/Workers/createEllipseGeometry.js +25 -25
- package/Build/Workers/createEllipseOutlineGeometry.js +18 -18
- package/Build/Workers/createEllipsoidGeometry.js +18 -18
- package/Build/Workers/createEllipsoidOutlineGeometry.js +17 -17
- package/Build/Workers/createFrustumGeometry.js +17 -17
- package/Build/Workers/createFrustumOutlineGeometry.js +17 -17
- package/Build/Workers/createGeometry.js +23 -23
- package/Build/Workers/createGroundPolylineGeometry.js +21 -21
- package/Build/Workers/createPlaneGeometry.js +15 -15
- package/Build/Workers/createPlaneOutlineGeometry.js +14 -14
- package/Build/Workers/createPolygonGeometry.js +40 -38
- package/Build/Workers/createPolygonOutlineGeometry.js +29 -29
- package/Build/Workers/createPolylineGeometry.js +24 -24
- package/Build/Workers/createPolylineVolumeGeometry.js +31 -31
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
- package/Build/Workers/createRectangleGeometry.js +26 -26
- package/Build/Workers/createRectangleOutlineGeometry.js +19 -19
- package/Build/Workers/createSimplePolylineGeometry.js +22 -22
- package/Build/Workers/createSphereGeometry.js +18 -18
- package/Build/Workers/createSphereOutlineGeometry.js +17 -17
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +14 -14
- package/Build/Workers/createVectorTileGeometries.js +23 -23
- package/Build/Workers/createVectorTilePoints.js +12 -12
- package/Build/Workers/createVectorTilePolygons.js +21 -21
- package/Build/Workers/createVectorTilePolylines.js +14 -14
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +21 -21
- package/Build/Workers/createVerticesFromHeightmap.js +21 -21
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +18 -18
- 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 +9 -9
- package/Build/Workers/transcodeKTX2.js +7 -7
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +21 -21
- package/README.md +1 -1
- package/Source/Core/EllipsoidRhumbLine.js +10 -4
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/PolygonGeometry.js +7 -6
- package/Source/DataSources/EntityCluster.js +1 -1
- package/Source/Renderer/UniformState.js +8 -18
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/BingMapsImageryProvider.js +27 -6
- package/Source/Scene/LabelCollection.js +2 -1
- package/Source/Scene/createGooglePhotorealistic3DTileset.js +0 -1
- package/index.d.ts +6 -0
- package/index.js +291 -291
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.111
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,56 +26,56 @@
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidalOccluder_default,
|
|
28
28
|
TerrainEncoding_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KFCTEEBD.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MMNPUV23.js";
|
|
33
33
|
import {
|
|
34
34
|
WebMercatorProjection_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BLXANKPB.js";
|
|
36
36
|
import {
|
|
37
37
|
OrientedBoundingBox_default
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-P2BTKBVY.js";
|
|
39
|
+
import "./chunk-4EXWKTY2.js";
|
|
40
|
+
import "./chunk-AI2FOC47.js";
|
|
41
41
|
import {
|
|
42
42
|
AxisAlignedBoundingBox_default
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-5HUDPV54.js";
|
|
44
|
+
import "./chunk-R5NOUYKW.js";
|
|
45
|
+
import "./chunk-PNAD2XAN.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default,
|
|
48
48
|
Transforms_default
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-XKGSTUQO.js";
|
|
50
|
+
import "./chunk-DNCKFFNR.js";
|
|
51
51
|
import {
|
|
52
52
|
Cartesian2_default,
|
|
53
53
|
Matrix4_default,
|
|
54
54
|
Rectangle_default
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-IQCBK4CE.js";
|
|
56
|
+
import "./chunk-UJ76JVUZ.js";
|
|
57
57
|
import {
|
|
58
58
|
Cartesian3_default,
|
|
59
59
|
Ellipsoid_default
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-54GSYZWT.js";
|
|
61
61
|
import {
|
|
62
62
|
Math_default
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-A3TYRSRJ.js";
|
|
64
|
+
import "./chunk-XNRYWRVT.js";
|
|
65
65
|
import {
|
|
66
66
|
RuntimeError_default
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-YK5RU5AO.js";
|
|
68
68
|
import {
|
|
69
69
|
defaultValue_default
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-N73NY3KY.js";
|
|
71
71
|
import {
|
|
72
72
|
DeveloperError_default
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-WYMW5NZB.js";
|
|
74
74
|
import {
|
|
75
75
|
__commonJS,
|
|
76
76
|
__toESM,
|
|
77
77
|
defined_default
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-FMN2NHBU.js";
|
|
79
79
|
|
|
80
80
|
// node_modules/lerc/LercDecode.js
|
|
81
81
|
var require_LercDecode = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.111
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,47 +26,47 @@
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidalOccluder_default,
|
|
28
28
|
TerrainEncoding_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KFCTEEBD.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MMNPUV23.js";
|
|
33
33
|
import {
|
|
34
34
|
WebMercatorProjection_default
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-BLXANKPB.js";
|
|
36
|
+
import "./chunk-4EXWKTY2.js";
|
|
37
37
|
import {
|
|
38
38
|
AxisAlignedBoundingBox_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-5HUDPV54.js";
|
|
40
40
|
import {
|
|
41
41
|
IndexDatatype_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CKOGHQ6J.js";
|
|
43
43
|
import {
|
|
44
44
|
Transforms_default
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-XKGSTUQO.js";
|
|
46
|
+
import "./chunk-DNCKFFNR.js";
|
|
47
47
|
import {
|
|
48
48
|
Cartesian2_default,
|
|
49
49
|
Matrix4_default,
|
|
50
50
|
Rectangle_default
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-IQCBK4CE.js";
|
|
52
|
+
import "./chunk-UJ76JVUZ.js";
|
|
53
53
|
import {
|
|
54
54
|
Cartesian3_default,
|
|
55
55
|
Cartographic_default,
|
|
56
56
|
Ellipsoid_default
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-54GSYZWT.js";
|
|
58
58
|
import {
|
|
59
59
|
Math_default
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-A3TYRSRJ.js";
|
|
61
|
+
import "./chunk-XNRYWRVT.js";
|
|
62
|
+
import "./chunk-YK5RU5AO.js";
|
|
63
|
+
import "./chunk-N73NY3KY.js";
|
|
64
64
|
import {
|
|
65
65
|
DeveloperError_default
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-WYMW5NZB.js";
|
|
67
67
|
import {
|
|
68
68
|
defined_default
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-FMN2NHBU.js";
|
|
70
70
|
|
|
71
71
|
// packages/engine/Source/Core/TerrainProvider.js
|
|
72
72
|
function TerrainProvider() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.111
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,53 +25,53 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
WallGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-HX5XY3NH.js";
|
|
29
|
+
import "./chunk-4JETNOH2.js";
|
|
30
|
+
import "./chunk-LID3UUML.js";
|
|
31
31
|
import {
|
|
32
32
|
VertexFormat_default
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-N7FIYNQV.js";
|
|
34
|
+
import "./chunk-E5HIGWSZ.js";
|
|
35
|
+
import "./chunk-IDAL54EF.js";
|
|
36
|
+
import "./chunk-R5NOUYKW.js";
|
|
37
|
+
import "./chunk-PNAD2XAN.js";
|
|
38
38
|
import {
|
|
39
39
|
IndexDatatype_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-CKOGHQ6J.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttributes_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-EH2PEDWL.js";
|
|
44
44
|
import {
|
|
45
45
|
GeometryAttribute_default,
|
|
46
46
|
Geometry_default,
|
|
47
47
|
PrimitiveType_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3R5RPSYS.js";
|
|
49
49
|
import {
|
|
50
50
|
BoundingSphere_default
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-XKGSTUQO.js";
|
|
52
|
+
import "./chunk-DNCKFFNR.js";
|
|
53
|
+
import "./chunk-IQCBK4CE.js";
|
|
54
54
|
import {
|
|
55
55
|
ComponentDatatype_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-UJ76JVUZ.js";
|
|
57
57
|
import {
|
|
58
58
|
Cartesian3_default,
|
|
59
59
|
Ellipsoid_default
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-54GSYZWT.js";
|
|
61
61
|
import {
|
|
62
62
|
Math_default
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-A3TYRSRJ.js";
|
|
64
|
+
import "./chunk-XNRYWRVT.js";
|
|
65
|
+
import "./chunk-YK5RU5AO.js";
|
|
66
66
|
import {
|
|
67
67
|
defaultValue_default
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-N73NY3KY.js";
|
|
69
69
|
import {
|
|
70
70
|
DeveloperError_default
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-WYMW5NZB.js";
|
|
72
72
|
import {
|
|
73
73
|
defined_default
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-FMN2NHBU.js";
|
|
75
75
|
|
|
76
76
|
// packages/engine/Source/Core/WallGeometry.js
|
|
77
77
|
var scratchCartesian3Position1 = 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.111
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,50 +25,50 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
WallGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-HX5XY3NH.js";
|
|
29
|
+
import "./chunk-4JETNOH2.js";
|
|
30
|
+
import "./chunk-LID3UUML.js";
|
|
31
|
+
import "./chunk-E5HIGWSZ.js";
|
|
32
|
+
import "./chunk-IDAL54EF.js";
|
|
33
|
+
import "./chunk-R5NOUYKW.js";
|
|
34
|
+
import "./chunk-PNAD2XAN.js";
|
|
35
35
|
import {
|
|
36
36
|
IndexDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CKOGHQ6J.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttributes_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EH2PEDWL.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttribute_default,
|
|
43
43
|
Geometry_default,
|
|
44
44
|
PrimitiveType_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3R5RPSYS.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-XKGSTUQO.js";
|
|
49
|
+
import "./chunk-DNCKFFNR.js";
|
|
50
|
+
import "./chunk-IQCBK4CE.js";
|
|
51
51
|
import {
|
|
52
52
|
ComponentDatatype_default
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-UJ76JVUZ.js";
|
|
54
54
|
import {
|
|
55
55
|
Cartesian3_default,
|
|
56
56
|
Ellipsoid_default
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-54GSYZWT.js";
|
|
58
58
|
import {
|
|
59
59
|
Math_default
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-A3TYRSRJ.js";
|
|
61
|
+
import "./chunk-XNRYWRVT.js";
|
|
62
|
+
import "./chunk-YK5RU5AO.js";
|
|
63
63
|
import {
|
|
64
64
|
defaultValue_default
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-N73NY3KY.js";
|
|
66
66
|
import {
|
|
67
67
|
DeveloperError_default
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-WYMW5NZB.js";
|
|
69
69
|
import {
|
|
70
70
|
defined_default
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-FMN2NHBU.js";
|
|
72
72
|
|
|
73
73
|
// packages/engine/Source/Core/WallOutlineGeometry.js
|
|
74
74
|
var scratchCartesian3Position1 = 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.111
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,27 +25,27 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
require_draco_decoder_nodejs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ICD3BWBC.js";
|
|
29
29
|
import {
|
|
30
30
|
createTaskProcessorWorker_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MMNPUV23.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CKOGHQ6J.js";
|
|
35
35
|
import {
|
|
36
36
|
ComponentDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-UJ76JVUZ.js";
|
|
38
|
+
import "./chunk-A3TYRSRJ.js";
|
|
39
|
+
import "./chunk-XNRYWRVT.js";
|
|
40
40
|
import {
|
|
41
41
|
RuntimeError_default
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-YK5RU5AO.js";
|
|
43
|
+
import "./chunk-N73NY3KY.js";
|
|
44
|
+
import "./chunk-WYMW5NZB.js";
|
|
45
45
|
import {
|
|
46
46
|
__toESM,
|
|
47
47
|
defined_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FMN2NHBU.js";
|
|
49
49
|
|
|
50
50
|
// packages/engine/Source/Workers/decodeDraco.js
|
|
51
51
|
var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.111
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MMNPUV23.js";
|
|
29
29
|
import {
|
|
30
30
|
RuntimeError_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YK5RU5AO.js";
|
|
32
32
|
import {
|
|
33
33
|
Check_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WYMW5NZB.js";
|
|
35
35
|
import {
|
|
36
36
|
__commonJS,
|
|
37
37
|
__toESM,
|
|
38
38
|
defined_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FMN2NHBU.js";
|
|
40
40
|
|
|
41
41
|
// node_modules/pako/lib/zlib/adler32.js
|
|
42
42
|
var require_adler32 = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.111
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
require_draco_decoder_nodejs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ICD3BWBC.js";
|
|
29
29
|
import {
|
|
30
30
|
createTaskProcessorWorker_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MMNPUV23.js";
|
|
32
32
|
import {
|
|
33
33
|
WebMercatorProjection_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BLXANKPB.js";
|
|
35
35
|
import {
|
|
36
36
|
Cartesian3_default,
|
|
37
37
|
Cartographic_default,
|
|
38
38
|
Ellipsoid_default,
|
|
39
39
|
Matrix3_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-54GSYZWT.js";
|
|
41
41
|
import {
|
|
42
42
|
Math_default
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-A3TYRSRJ.js";
|
|
44
|
+
import "./chunk-N73NY3KY.js";
|
|
45
|
+
import "./chunk-WYMW5NZB.js";
|
|
46
46
|
import {
|
|
47
47
|
__toESM,
|
|
48
48
|
defined_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-FMN2NHBU.js";
|
|
50
50
|
|
|
51
51
|
// packages/engine/Source/Workers/decodeI3S.js
|
|
52
52
|
var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.111
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MMNPUV23.js";
|
|
29
29
|
import {
|
|
30
30
|
WebGLConstants_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XNRYWRVT.js";
|
|
32
32
|
import {
|
|
33
33
|
RuntimeError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-YK5RU5AO.js";
|
|
35
35
|
import {
|
|
36
36
|
defaultValue_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-N73NY3KY.js";
|
|
38
38
|
import {
|
|
39
39
|
Check_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WYMW5NZB.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM,
|
|
45
45
|
defined_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FMN2NHBU.js";
|
|
47
47
|
|
|
48
48
|
// packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
|
|
49
49
|
var require_basis_transcoder = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.111
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,50 +26,50 @@
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidalOccluder_default,
|
|
28
28
|
TerrainEncoding_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KFCTEEBD.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MMNPUV23.js";
|
|
33
33
|
import {
|
|
34
34
|
OrientedBoundingBox_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-P2BTKBVY.js";
|
|
36
36
|
import {
|
|
37
37
|
AttributeCompression_default
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-4EXWKTY2.js";
|
|
39
|
+
import "./chunk-AI2FOC47.js";
|
|
40
|
+
import "./chunk-5HUDPV54.js";
|
|
41
|
+
import "./chunk-R5NOUYKW.js";
|
|
42
|
+
import "./chunk-PNAD2XAN.js";
|
|
43
43
|
import {
|
|
44
44
|
IndexDatatype_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-CKOGHQ6J.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-XKGSTUQO.js";
|
|
49
|
+
import "./chunk-DNCKFFNR.js";
|
|
50
50
|
import {
|
|
51
51
|
Cartesian2_default,
|
|
52
52
|
Rectangle_default
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-IQCBK4CE.js";
|
|
54
|
+
import "./chunk-UJ76JVUZ.js";
|
|
55
55
|
import {
|
|
56
56
|
Cartesian3_default,
|
|
57
57
|
Cartographic_default,
|
|
58
58
|
Ellipsoid_default
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-54GSYZWT.js";
|
|
60
60
|
import {
|
|
61
61
|
Math_default
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-A3TYRSRJ.js";
|
|
63
|
+
import "./chunk-XNRYWRVT.js";
|
|
64
|
+
import "./chunk-YK5RU5AO.js";
|
|
65
|
+
import "./chunk-N73NY3KY.js";
|
|
66
66
|
import {
|
|
67
67
|
Check_default,
|
|
68
68
|
DeveloperError_default
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-WYMW5NZB.js";
|
|
70
70
|
import {
|
|
71
71
|
defined_default
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-FMN2NHBU.js";
|
|
73
73
|
|
|
74
74
|
// packages/engine/Source/Core/Intersections2D.js
|
|
75
75
|
var Intersections2D = {};
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @cesium/engine
|
|
2
2
|
|
|
3
|
-
[](https://github.com/CesiumGS/cesium/actions/workflows/dev.yml)
|
|
4
4
|
[](https://www.npmjs.com/package/@cesium/engine)
|
|
5
5
|
[](https://cesium.com/learn/)
|
|
6
6
|
|
|
@@ -333,10 +333,16 @@ function interpolateUsingSurfaceDistance(
|
|
|
333
333
|
latitude = calculateInverseM(M2, ellipticity, major);
|
|
334
334
|
|
|
335
335
|
//Now find the longitude of the second point
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
336
|
+
|
|
337
|
+
// Check to see if the rhumb line has constant longitude
|
|
338
|
+
if (Math.abs(heading) < CesiumMath.EPSILON10) {
|
|
339
|
+
longitude = CesiumMath.negativePiToPi(start.longitude);
|
|
340
|
+
} else {
|
|
341
|
+
const sigma1 = calculateSigma(ellipticity, start.latitude);
|
|
342
|
+
const sigma2 = calculateSigma(ellipticity, latitude);
|
|
343
|
+
deltaLongitude = Math.tan(heading) * (sigma2 - sigma1);
|
|
344
|
+
longitude = CesiumMath.negativePiToPi(start.longitude + deltaLongitude);
|
|
345
|
+
}
|
|
340
346
|
} else {
|
|
341
347
|
//If heading is close to 90 degrees
|
|
342
348
|
latitude = start.latitude;
|
package/Source/Core/Ion.js
CHANGED
|
@@ -4,7 +4,7 @@ import Resource from "./Resource.js";
|
|
|
4
4
|
|
|
5
5
|
let defaultTokenCredit;
|
|
6
6
|
const defaultAccessToken =
|
|
7
|
-
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
7
|
+
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIyMzVjZDg3Yi0wMjVkLTQ0MzctOTZjOC1jZjMwNjkzZmI5MWUiLCJpZCI6MjU5LCJpYXQiOjE2OTg4NTM0MDl9.L_g01CjNKNVijEJ_8kOxiO02OADnuSjRFLkZWvhupcc";
|
|
8
8
|
/**
|
|
9
9
|
* Default settings for accessing the Cesium ion API.
|
|
10
10
|
*
|
|
@@ -636,7 +636,7 @@ function createGeometryFromPositionsExtruded(
|
|
|
636
636
|
}
|
|
637
637
|
|
|
638
638
|
let outerRing = hierarchy.outerRing;
|
|
639
|
-
|
|
639
|
+
const tangentPlane = EllipsoidTangentPlane.fromPoints(outerRing, ellipsoid);
|
|
640
640
|
let positions2D = tangentPlane.projectPointsOntoPlane(
|
|
641
641
|
outerRing,
|
|
642
642
|
createGeometryFromPositionsExtrudedPositions
|
|
@@ -664,8 +664,6 @@ function createGeometryFromPositionsExtruded(
|
|
|
664
664
|
const holes = hierarchy.holes;
|
|
665
665
|
for (i = 0; i < holes.length; i++) {
|
|
666
666
|
let hole = holes[i];
|
|
667
|
-
|
|
668
|
-
tangentPlane = EllipsoidTangentPlane.fromPoints(hole, ellipsoid);
|
|
669
667
|
positions2D = tangentPlane.projectPointsOntoPlane(
|
|
670
668
|
hole,
|
|
671
669
|
createGeometryFromPositionsExtrudedPositions
|
|
@@ -1331,7 +1329,7 @@ function getTangentPlane(rectangle, positions, ellipsoid) {
|
|
|
1331
1329
|
}
|
|
1332
1330
|
|
|
1333
1331
|
const scratchCartographicCyllindrical = new Cartographic();
|
|
1334
|
-
function createProjectTo2d(rectangle, ellipsoid) {
|
|
1332
|
+
function createProjectTo2d(rectangle, outerPositions, ellipsoid) {
|
|
1335
1333
|
return (positions, results) => {
|
|
1336
1334
|
// If the polygon positions span a large enough extent, use a specialized projection
|
|
1337
1335
|
if (rectangle.height >= CesiumMath.PI || rectangle.width >= CesiumMath.PI) {
|
|
@@ -1360,7 +1358,10 @@ function createProjectTo2d(rectangle, ellipsoid) {
|
|
|
1360
1358
|
}
|
|
1361
1359
|
|
|
1362
1360
|
// Use a local tangent plane for smaller extents
|
|
1363
|
-
const tangentPlane = EllipsoidTangentPlane.fromPoints(
|
|
1361
|
+
const tangentPlane = EllipsoidTangentPlane.fromPoints(
|
|
1362
|
+
outerPositions,
|
|
1363
|
+
ellipsoid
|
|
1364
|
+
);
|
|
1364
1365
|
return tangentPlane.projectPointsOntoPlane(positions, results);
|
|
1365
1366
|
};
|
|
1366
1367
|
}
|
|
@@ -1466,7 +1467,7 @@ PolygonGeometry.createGeometry = function (polygonGeometry) {
|
|
|
1466
1467
|
const results = PolygonGeometryLibrary.polygonsFromHierarchy(
|
|
1467
1468
|
polygonHierarchy,
|
|
1468
1469
|
hasTextureCoordinates,
|
|
1469
|
-
createProjectTo2d(rectangle, ellipsoid),
|
|
1470
|
+
createProjectTo2d(rectangle, outerPositions, ellipsoid),
|
|
1470
1471
|
!perPositionHeight,
|
|
1471
1472
|
ellipsoid,
|
|
1472
1473
|
createSplitPolygons(rectangle, ellipsoid, arcType, perPositionHeight)
|