@cesium/engine 9.1.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/ThirdParty/Workers/pako_deflate.min.js +108 -210
- package/Build/ThirdParty/Workers/pako_inflate.min.js +466 -568
- package/Build/ThirdParty/Workers/z-worker-pako.js +54 -104
- package/Build/Workers/{chunk-TMMOULW3.js → chunk-2J3JKXCP.js} +5 -5
- package/Build/Workers/{chunk-ZDP32RQI.js → chunk-3WUV74WM.js} +95 -155
- package/Build/Workers/{chunk-FOZQIHZK.js → chunk-4BAE4PWO.js} +6 -6
- package/Build/Workers/{chunk-CYAJYEKW.js → chunk-4MSUJ4I7.js} +8 -8
- package/Build/Workers/{chunk-KPY4F4BW.js → chunk-4YSNMHZ4.js} +6 -6
- package/Build/Workers/{chunk-66E3H2KU.js → chunk-5S7OLEPK.js} +12 -12
- package/Build/Workers/{chunk-4AJGCQFX.js → chunk-7XGC6YB2.js} +14 -14
- package/Build/Workers/{chunk-BDUJXBVF.js → chunk-AA4GZKOT.js} +3 -5
- package/Build/Workers/{chunk-7LPEGKOF.js → chunk-AD5HBJ2F.js} +11 -8
- package/Build/Workers/{chunk-XHLDDE65.js → chunk-AVI4IUWC.js} +11 -11
- package/Build/Workers/{chunk-MWYZ64MH.js → chunk-BCL4PHHT.js} +10 -10
- package/Build/Workers/{chunk-PWF3YJJ5.js → chunk-BDFNKFOE.js} +13 -13
- package/Build/Workers/{chunk-7VZNXIKG.js → chunk-BJF5LOWE.js} +7 -7
- package/Build/Workers/{chunk-3S2MFY4B.js → chunk-C2CGMAIU.js} +13 -13
- package/Build/Workers/{chunk-UAJEGIWA.js → chunk-COYFZ5VA.js} +6 -6
- package/Build/Workers/{chunk-ZWPIM77Q.js → chunk-DGS5QNIO.js} +13 -13
- package/Build/Workers/{chunk-V7JB576Q.js → chunk-DKVHRNFY.js} +5 -5
- package/Build/Workers/{chunk-NI2R52QD.js → chunk-DOXCPOG4.js} +11 -9
- package/Build/Workers/{chunk-XWML5Y7N.js → chunk-FXIHSF7O.js} +9 -9
- package/Build/Workers/{chunk-LW7WGHEU.js → chunk-G3YR53LY.js} +13 -13
- package/Build/Workers/{chunk-34DGOKCO.js → chunk-GR3CDLCP.js} +7 -7
- package/Build/Workers/{chunk-AOIKO5Y7.js → chunk-GRAT5GE7.js} +5 -5
- package/Build/Workers/{chunk-AOFMPKUB.js → chunk-I2RC4XVN.js} +4 -4
- package/Build/Workers/{chunk-PK7TEP3J.js → chunk-JYAHOGGL.js} +15 -15
- package/Build/Workers/{chunk-4KIUON73.js → chunk-KUN2ZA5X.js} +4 -4
- package/Build/Workers/{chunk-POLFRINT.js → chunk-L6RTJ3RE.js} +14 -14
- package/Build/Workers/{chunk-LVJCR7DH.js → chunk-LCLJJ2MZ.js} +18 -18
- package/Build/Workers/{chunk-3RZK5NNV.js → chunk-LEABCTLP.js} +4 -4
- package/Build/Workers/{chunk-QKF7XXEQ.js → chunk-MDHQR3ZS.js} +10 -8
- package/Build/Workers/{chunk-4PHPQRSH.js → chunk-MSKXMXJI.js} +5 -6
- package/Build/Workers/{chunk-GIFJ77E4.js → chunk-NTXTUNEF.js} +4 -4
- package/Build/Workers/{chunk-I5TDPPC4.js → chunk-O3JCMSS3.js} +17 -17
- package/Build/Workers/{chunk-PEABJLCK.js → chunk-OOK53QUQ.js} +1 -1
- package/Build/Workers/{chunk-PS6AEMBR.js → chunk-OORVMGDU.js} +7 -7
- package/Build/Workers/{chunk-JI2445T5.js → chunk-PCP4YQST.js} +11 -11
- package/Build/Workers/{chunk-C5CE4OG6.js → chunk-PYHLO636.js} +42 -13
- package/Build/Workers/{chunk-S4XDCPKD.js → chunk-Q55ECN3Y.js} +1 -1
- package/Build/Workers/{chunk-WWP3I7R5.js → chunk-QD4KM3GO.js} +5 -5
- package/Build/Workers/{chunk-YLZTCEBJ.js → chunk-QMLTCCYG.js} +1 -1
- package/Build/Workers/{chunk-IBXGK4WV.js → chunk-QX5XS4LC.js} +2 -2
- package/Build/Workers/{chunk-RL73GOEF.js → chunk-R6B7UCQB.js} +2 -2
- package/Build/Workers/{chunk-RR7EOKGZ.js → chunk-RJYML24O.js} +48 -85
- package/Build/Workers/{chunk-U4IMCOF5.js → chunk-S3PI2KFM.js} +2 -2
- package/Build/Workers/{chunk-6HCAQOVK.js → chunk-STBBMQGG.js} +6 -6
- package/Build/Workers/{chunk-CE6GTZ4I.js → chunk-SYCPRK3D.js} +10 -10
- package/Build/Workers/{chunk-WFICTTOE.js → chunk-T77JILCU.js} +2 -2
- package/Build/Workers/{chunk-ZC4AGBZK.js → chunk-TO2PVHKI.js} +2 -2
- package/Build/Workers/{chunk-UCPPWV64.js → chunk-VE7BFUIX.js} +1 -1
- package/Build/Workers/{chunk-2CSEEWHN.js → chunk-VFBNELXB.js} +7 -7
- package/Build/Workers/{chunk-A6NCZSL3.js → chunk-VO3ACQB2.js} +19 -19
- package/Build/Workers/{chunk-WEGCQ5DY.js → chunk-X23FRWHJ.js} +6 -6
- package/Build/Workers/{chunk-G7CJQKKD.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 +12 -19
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/transcodeKTX2.js +43 -79
- 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/Math.js +0 -5
- 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/TaskProcessor.js +19 -3
- 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/Core/sampleTerrain.js +3 -3
- 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 +8 -6
- 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/GltfLoader.js +458 -435
- package/Source/Scene/GltfLoaderUtil.js +5 -16
- package/Source/Scene/GltfPipeline/forEachTextureInMaterial.js +23 -7
- package/Source/Scene/GltfStructuralMetadataLoader.js +11 -9
- 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/Label.js +1 -1
- 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/AlphaPipelineStage.js +1 -1
- package/Source/Scene/Model/GeometryPipelineStage.js +15 -43
- package/Source/Scene/Model/ImageBasedLightingPipelineStage.js +7 -0
- package/Source/Scene/Model/InstancingPipelineStage.js +3 -3
- package/Source/Scene/Model/LightingPipelineStage.js +2 -4
- package/Source/Scene/Model/MaterialPipelineStage.js +395 -29
- package/Source/Scene/Model/Model.js +15 -7
- package/Source/Scene/Model/ModelSceneGraph.js +1 -1
- package/Source/Scene/Model/ModelUtility.js +3 -0
- package/Source/Scene/Model/SceneMode2DPipelineStage.js +3 -3
- package/Source/Scene/Model/VerticalExaggerationPipelineStage.js +4 -6
- package/Source/Scene/Model/pickModel.js +2 -2
- package/Source/Scene/ModelComponents.js +178 -1
- package/Source/Scene/PickDepth.js +23 -15
- package/Source/Scene/Picking.js +4 -13
- package/Source/Scene/PointPrimitive.js +5 -2
- package/Source/Scene/ResourceCache.js +41 -50
- package/Source/Scene/ResourceCacheKey.js +41 -53
- 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 +4 -10
- package/Source/Shaders/Builtin/Functions/ellipsoidTextureCoordinates.glsl +10 -0
- package/Source/Shaders/Builtin/Functions/{ellipsoidWgs84TextureCoordinates.js → ellipsoidTextureCoordinates.js} +3 -3
- package/Source/Shaders/Builtin/Functions/maximumComponent.glsl +21 -0
- package/Source/Shaders/Builtin/Functions/maximumComponent.js +23 -0
- package/Source/Shaders/Builtin/Functions/pbrLighting.glsl +108 -44
- package/Source/Shaders/Builtin/Functions/pbrLighting.js +108 -44
- 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 +16 -0
- package/Source/Shaders/Builtin/Structs/modelMaterial.js +16 -0
- package/Source/Shaders/EllipsoidFS.glsl +1 -1
- package/Source/Shaders/EllipsoidFS.js +1 -1
- package/Source/Shaders/GlobeFS.glsl +3 -3
- package/Source/Shaders/GlobeFS.js +3 -3
- package/Source/Shaders/Model/ImageBasedLightingStageFS.glsl +211 -133
- package/Source/Shaders/Model/ImageBasedLightingStageFS.js +212 -133
- package/Source/Shaders/Model/LightingStageFS.glsl +113 -48
- package/Source/Shaders/Model/LightingStageFS.js +113 -48
- package/Source/Shaders/Model/MaterialStageFS.glsl +407 -136
- package/Source/Shaders/Model/MaterialStageFS.js +407 -136
- package/Source/Widget/CesiumWidget.css +0 -5
- package/Source/Widget/CesiumWidget.js +29 -28
- package/index.d.ts +184 -116
- package/index.js +92 -95
- package/package.json +2 -2
- package/Source/Shaders/Builtin/Functions/defaultPbrMaterial.glsl +0 -16
- package/Source/Shaders/Builtin/Functions/defaultPbrMaterial.js +0 -18
- package/Source/Shaders/Builtin/Functions/ellipsoidWgs84TextureCoordinates.glsl +0 -10
- package/Source/Shaders/Builtin/Functions/pbrMetallicRoughnessMaterial.glsl +0 -37
- package/Source/Shaders/Builtin/Functions/pbrMetallicRoughnessMaterial.js +0 -39
- package/Source/Shaders/Builtin/Functions/pbrSpecularGlossinessMaterial.glsl +0 -30
- package/Source/Shaders/Builtin/Functions/pbrSpecularGlossinessMaterial.js +0 -32
- package/Source/Shaders/Builtin/Structs/pbrParameters.glsl +0 -16
- package/Source/Shaders/Builtin/Structs/pbrParameters.js +0 -18
|
@@ -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,38 +25,38 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidRhumbLine_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4MSUJ4I7.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryAttribute_default,
|
|
31
31
|
Geometry_default,
|
|
32
32
|
PrimitiveType_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-GR3CDLCP.js";
|
|
34
34
|
import {
|
|
35
35
|
ComponentDatatype_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2J3JKXCP.js";
|
|
37
37
|
import {
|
|
38
38
|
Cartesian2_default,
|
|
39
39
|
Cartesian3_default,
|
|
40
40
|
Cartographic_default,
|
|
41
41
|
Ellipsoid_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-PYHLO636.js";
|
|
43
43
|
import {
|
|
44
44
|
Math_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MSKXMXJI.js";
|
|
46
46
|
import {
|
|
47
47
|
WebGLConstants_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-OOK53QUQ.js";
|
|
49
49
|
import {
|
|
50
50
|
defaultValue_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-VE7BFUIX.js";
|
|
52
52
|
import {
|
|
53
53
|
Check_default
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-S3PI2KFM.js";
|
|
55
55
|
import {
|
|
56
56
|
__commonJS,
|
|
57
57
|
__toESM,
|
|
58
58
|
defined_default
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-AA4GZKOT.js";
|
|
60
60
|
|
|
61
61
|
// node_modules/earcut/src/earcut.js
|
|
62
62
|
var require_earcut = __commonJS({
|
|
@@ -67,25 +67,19 @@ var require_earcut = __commonJS({
|
|
|
67
67
|
function earcut2(data, holeIndices, dim) {
|
|
68
68
|
dim = dim || 2;
|
|
69
69
|
var hasHoles = holeIndices && holeIndices.length, outerLen = hasHoles ? holeIndices[0] * dim : data.length, outerNode = linkedList(data, 0, outerLen, dim, true), triangles = [];
|
|
70
|
-
if (!outerNode || outerNode.next === outerNode.prev)
|
|
71
|
-
return triangles;
|
|
70
|
+
if (!outerNode || outerNode.next === outerNode.prev) return triangles;
|
|
72
71
|
var minX, minY, maxX, maxY, x, y, invSize;
|
|
73
|
-
if (hasHoles)
|
|
74
|
-
outerNode = eliminateHoles(data, holeIndices, outerNode, dim);
|
|
72
|
+
if (hasHoles) outerNode = eliminateHoles(data, holeIndices, outerNode, dim);
|
|
75
73
|
if (data.length > 80 * dim) {
|
|
76
74
|
minX = maxX = data[0];
|
|
77
75
|
minY = maxY = data[1];
|
|
78
76
|
for (var i = dim; i < outerLen; i += dim) {
|
|
79
77
|
x = data[i];
|
|
80
78
|
y = data[i + 1];
|
|
81
|
-
if (x < minX)
|
|
82
|
-
|
|
83
|
-
if (
|
|
84
|
-
|
|
85
|
-
if (x > maxX)
|
|
86
|
-
maxX = x;
|
|
87
|
-
if (y > maxY)
|
|
88
|
-
maxY = y;
|
|
79
|
+
if (x < minX) minX = x;
|
|
80
|
+
if (y < minY) minY = y;
|
|
81
|
+
if (x > maxX) maxX = x;
|
|
82
|
+
if (y > maxY) maxY = y;
|
|
89
83
|
}
|
|
90
84
|
invSize = Math.max(maxX - minX, maxY - minY);
|
|
91
85
|
invSize = invSize !== 0 ? 32767 / invSize : 0;
|
|
@@ -96,11 +90,9 @@ var require_earcut = __commonJS({
|
|
|
96
90
|
function linkedList(data, start, end, dim, clockwise) {
|
|
97
91
|
var i, last;
|
|
98
92
|
if (clockwise === signedArea(data, start, end, dim) > 0) {
|
|
99
|
-
for (i = start; i < end; i += dim)
|
|
100
|
-
last = insertNode(i, data[i], data[i + 1], last);
|
|
93
|
+
for (i = start; i < end; i += dim) last = insertNode(i, data[i], data[i + 1], last);
|
|
101
94
|
} else {
|
|
102
|
-
for (i = end - dim; i >= start; i -= dim)
|
|
103
|
-
last = insertNode(i, data[i], data[i + 1], last);
|
|
95
|
+
for (i = end - dim; i >= start; i -= dim) last = insertNode(i, data[i], data[i + 1], last);
|
|
104
96
|
}
|
|
105
97
|
if (last && equals(last, last.next)) {
|
|
106
98
|
removeNode(last);
|
|
@@ -109,18 +101,15 @@ var require_earcut = __commonJS({
|
|
|
109
101
|
return last;
|
|
110
102
|
}
|
|
111
103
|
function filterPoints(start, end) {
|
|
112
|
-
if (!start)
|
|
113
|
-
|
|
114
|
-
if (!end)
|
|
115
|
-
end = start;
|
|
104
|
+
if (!start) return start;
|
|
105
|
+
if (!end) end = start;
|
|
116
106
|
var p = start, again;
|
|
117
107
|
do {
|
|
118
108
|
again = false;
|
|
119
109
|
if (!p.steiner && (equals(p, p.next) || area(p.prev, p, p.next) === 0)) {
|
|
120
110
|
removeNode(p);
|
|
121
111
|
p = end = p.prev;
|
|
122
|
-
if (p === p.next)
|
|
123
|
-
break;
|
|
112
|
+
if (p === p.next) break;
|
|
124
113
|
again = true;
|
|
125
114
|
} else {
|
|
126
115
|
p = p.next;
|
|
@@ -129,10 +118,8 @@ var require_earcut = __commonJS({
|
|
|
129
118
|
return end;
|
|
130
119
|
}
|
|
131
120
|
function earcutLinked(ear, triangles, dim, minX, minY, invSize, pass) {
|
|
132
|
-
if (!ear)
|
|
133
|
-
|
|
134
|
-
if (!pass && invSize)
|
|
135
|
-
indexCurve(ear, minX, minY, invSize);
|
|
121
|
+
if (!ear) return;
|
|
122
|
+
if (!pass && invSize) indexCurve(ear, minX, minY, invSize);
|
|
136
123
|
var stop = ear, prev, next;
|
|
137
124
|
while (ear.prev !== ear.next) {
|
|
138
125
|
prev = ear.prev;
|
|
@@ -162,42 +149,35 @@ var require_earcut = __commonJS({
|
|
|
162
149
|
}
|
|
163
150
|
function isEar(ear) {
|
|
164
151
|
var a = ear.prev, b = ear, c = ear.next;
|
|
165
|
-
if (area(a, b, c) >= 0)
|
|
166
|
-
return false;
|
|
152
|
+
if (area(a, b, c) >= 0) return false;
|
|
167
153
|
var ax = a.x, bx = b.x, cx = c.x, ay = a.y, by = b.y, cy = c.y;
|
|
168
154
|
var x0 = ax < bx ? ax < cx ? ax : cx : bx < cx ? bx : cx, y0 = ay < by ? ay < cy ? ay : cy : by < cy ? by : cy, x1 = ax > bx ? ax > cx ? ax : cx : bx > cx ? bx : cx, y1 = ay > by ? ay > cy ? ay : cy : by > cy ? by : cy;
|
|
169
155
|
var p = c.next;
|
|
170
156
|
while (p !== a) {
|
|
171
|
-
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0)
|
|
172
|
-
return false;
|
|
157
|
+
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0) return false;
|
|
173
158
|
p = p.next;
|
|
174
159
|
}
|
|
175
160
|
return true;
|
|
176
161
|
}
|
|
177
162
|
function isEarHashed(ear, minX, minY, invSize) {
|
|
178
163
|
var a = ear.prev, b = ear, c = ear.next;
|
|
179
|
-
if (area(a, b, c) >= 0)
|
|
180
|
-
return false;
|
|
164
|
+
if (area(a, b, c) >= 0) return false;
|
|
181
165
|
var ax = a.x, bx = b.x, cx = c.x, ay = a.y, by = b.y, cy = c.y;
|
|
182
166
|
var x0 = ax < bx ? ax < cx ? ax : cx : bx < cx ? bx : cx, y0 = ay < by ? ay < cy ? ay : cy : by < cy ? by : cy, x1 = ax > bx ? ax > cx ? ax : cx : bx > cx ? bx : cx, y1 = ay > by ? ay > cy ? ay : cy : by > cy ? by : cy;
|
|
183
167
|
var minZ = zOrder(x0, y0, minX, minY, invSize), maxZ = zOrder(x1, y1, minX, minY, invSize);
|
|
184
168
|
var p = ear.prevZ, n = ear.nextZ;
|
|
185
169
|
while (p && p.z >= minZ && n && n.z <= maxZ) {
|
|
186
|
-
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && p !== a && p !== c && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0)
|
|
187
|
-
return false;
|
|
170
|
+
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && p !== a && p !== c && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0) return false;
|
|
188
171
|
p = p.prevZ;
|
|
189
|
-
if (n.x >= x0 && n.x <= x1 && n.y >= y0 && n.y <= y1 && n !== a && n !== c && pointInTriangle(ax, ay, bx, by, cx, cy, n.x, n.y) && area(n.prev, n, n.next) >= 0)
|
|
190
|
-
return false;
|
|
172
|
+
if (n.x >= x0 && n.x <= x1 && n.y >= y0 && n.y <= y1 && n !== a && n !== c && pointInTriangle(ax, ay, bx, by, cx, cy, n.x, n.y) && area(n.prev, n, n.next) >= 0) return false;
|
|
191
173
|
n = n.nextZ;
|
|
192
174
|
}
|
|
193
175
|
while (p && p.z >= minZ) {
|
|
194
|
-
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && p !== a && p !== c && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0)
|
|
195
|
-
return false;
|
|
176
|
+
if (p.x >= x0 && p.x <= x1 && p.y >= y0 && p.y <= y1 && p !== a && p !== c && pointInTriangle(ax, ay, bx, by, cx, cy, p.x, p.y) && area(p.prev, p, p.next) >= 0) return false;
|
|
196
177
|
p = p.prevZ;
|
|
197
178
|
}
|
|
198
179
|
while (n && n.z <= maxZ) {
|
|
199
|
-
if (n.x >= x0 && n.x <= x1 && n.y >= y0 && n.y <= y1 && n !== a && n !== c && pointInTriangle(ax, ay, bx, by, cx, cy, n.x, n.y) && area(n.prev, n, n.next) >= 0)
|
|
200
|
-
return false;
|
|
180
|
+
if (n.x >= x0 && n.x <= x1 && n.y >= y0 && n.y <= y1 && n !== a && n !== c && pointInTriangle(ax, ay, bx, by, cx, cy, n.x, n.y) && area(n.prev, n, n.next) >= 0) return false;
|
|
201
181
|
n = n.nextZ;
|
|
202
182
|
}
|
|
203
183
|
return true;
|
|
@@ -242,8 +222,7 @@ var require_earcut = __commonJS({
|
|
|
242
222
|
start = holeIndices[i] * dim;
|
|
243
223
|
end = i < len - 1 ? holeIndices[i + 1] * dim : data.length;
|
|
244
224
|
list = linkedList(data, start, end, dim, false);
|
|
245
|
-
if (list === list.next)
|
|
246
|
-
list.steiner = true;
|
|
225
|
+
if (list === list.next) list.steiner = true;
|
|
247
226
|
queue.push(getLeftmost(list));
|
|
248
227
|
}
|
|
249
228
|
queue.sort(compareX);
|
|
@@ -272,14 +251,12 @@ var require_earcut = __commonJS({
|
|
|
272
251
|
if (x <= hx && x > qx) {
|
|
273
252
|
qx = x;
|
|
274
253
|
m = p.x < p.next.x ? p : p.next;
|
|
275
|
-
if (x === hx)
|
|
276
|
-
return m;
|
|
254
|
+
if (x === hx) return m;
|
|
277
255
|
}
|
|
278
256
|
}
|
|
279
257
|
p = p.next;
|
|
280
258
|
} while (p !== outerNode);
|
|
281
|
-
if (!m)
|
|
282
|
-
return null;
|
|
259
|
+
if (!m) return null;
|
|
283
260
|
var stop = m, mx = m.x, my = m.y, tanMin = Infinity, tan;
|
|
284
261
|
p = m;
|
|
285
262
|
do {
|
|
@@ -300,8 +277,7 @@ var require_earcut = __commonJS({
|
|
|
300
277
|
function indexCurve(start, minX, minY, invSize) {
|
|
301
278
|
var p = start;
|
|
302
279
|
do {
|
|
303
|
-
if (p.z === 0)
|
|
304
|
-
p.z = zOrder(p.x, p.y, minX, minY, invSize);
|
|
280
|
+
if (p.z === 0) p.z = zOrder(p.x, p.y, minX, minY, invSize);
|
|
305
281
|
p.prevZ = p.prev;
|
|
306
282
|
p.nextZ = p.next;
|
|
307
283
|
p = p.next;
|
|
@@ -324,8 +300,7 @@ var require_earcut = __commonJS({
|
|
|
324
300
|
for (i = 0; i < inSize; i++) {
|
|
325
301
|
pSize++;
|
|
326
302
|
q = q.nextZ;
|
|
327
|
-
if (!q)
|
|
328
|
-
break;
|
|
303
|
+
if (!q) break;
|
|
329
304
|
}
|
|
330
305
|
qSize = inSize;
|
|
331
306
|
while (pSize > 0 || qSize > 0 && q) {
|
|
@@ -338,10 +313,8 @@ var require_earcut = __commonJS({
|
|
|
338
313
|
q = q.nextZ;
|
|
339
314
|
qSize--;
|
|
340
315
|
}
|
|
341
|
-
if (tail)
|
|
342
|
-
|
|
343
|
-
else
|
|
344
|
-
list = e;
|
|
316
|
+
if (tail) tail.nextZ = e;
|
|
317
|
+
else list = e;
|
|
345
318
|
e.prevZ = tail;
|
|
346
319
|
tail = e;
|
|
347
320
|
}
|
|
@@ -368,8 +341,7 @@ var require_earcut = __commonJS({
|
|
|
368
341
|
function getLeftmost(start) {
|
|
369
342
|
var p = start, leftmost = start;
|
|
370
343
|
do {
|
|
371
|
-
if (p.x < leftmost.x || p.x === leftmost.x && p.y < leftmost.y)
|
|
372
|
-
leftmost = p;
|
|
344
|
+
if (p.x < leftmost.x || p.x === leftmost.x && p.y < leftmost.y) leftmost = p;
|
|
373
345
|
p = p.next;
|
|
374
346
|
} while (p !== start);
|
|
375
347
|
return leftmost;
|
|
@@ -394,16 +366,11 @@ var require_earcut = __commonJS({
|
|
|
394
366
|
var o2 = sign(area(p1, q1, q2));
|
|
395
367
|
var o3 = sign(area(p2, q2, p1));
|
|
396
368
|
var o4 = sign(area(p2, q2, q1));
|
|
397
|
-
if (o1 !== o2 && o3 !== o4)
|
|
398
|
-
|
|
399
|
-
if (
|
|
400
|
-
|
|
401
|
-
if (
|
|
402
|
-
return true;
|
|
403
|
-
if (o3 === 0 && onSegment(p2, p1, q2))
|
|
404
|
-
return true;
|
|
405
|
-
if (o4 === 0 && onSegment(p2, q1, q2))
|
|
406
|
-
return true;
|
|
369
|
+
if (o1 !== o2 && o3 !== o4) return true;
|
|
370
|
+
if (o1 === 0 && onSegment(p1, p2, q1)) return true;
|
|
371
|
+
if (o2 === 0 && onSegment(p1, q2, q1)) return true;
|
|
372
|
+
if (o3 === 0 && onSegment(p2, p1, q2)) return true;
|
|
373
|
+
if (o4 === 0 && onSegment(p2, q1, q2)) return true;
|
|
407
374
|
return false;
|
|
408
375
|
}
|
|
409
376
|
function onSegment(p, q, r) {
|
|
@@ -415,8 +382,7 @@ var require_earcut = __commonJS({
|
|
|
415
382
|
function intersectsPolygon(a, b) {
|
|
416
383
|
var p = a;
|
|
417
384
|
do {
|
|
418
|
-
if (p.i !== a.i && p.next.i !== a.i && p.i !== b.i && p.next.i !== b.i && intersects(p, p.next, a, b))
|
|
419
|
-
return true;
|
|
385
|
+
if (p.i !== a.i && p.next.i !== a.i && p.i !== b.i && p.next.i !== b.i && intersects(p, p.next, a, b)) return true;
|
|
420
386
|
p = p.next;
|
|
421
387
|
} while (p !== a);
|
|
422
388
|
return false;
|
|
@@ -461,10 +427,8 @@ var require_earcut = __commonJS({
|
|
|
461
427
|
function removeNode(p) {
|
|
462
428
|
p.next.prev = p.prev;
|
|
463
429
|
p.prev.next = p.next;
|
|
464
|
-
if (p.prevZ)
|
|
465
|
-
|
|
466
|
-
if (p.nextZ)
|
|
467
|
-
p.nextZ.prevZ = p.prevZ;
|
|
430
|
+
if (p.prevZ) p.prevZ.nextZ = p.nextZ;
|
|
431
|
+
if (p.nextZ) p.nextZ.prevZ = p.prevZ;
|
|
468
432
|
}
|
|
469
433
|
function Node(i, x, y) {
|
|
470
434
|
this.i = i;
|
|
@@ -511,8 +475,7 @@ var require_earcut = __commonJS({
|
|
|
511
475
|
var dim = data[0][0].length, result = { vertices: [], holes: [], dimensions: dim }, holeIndex = 0;
|
|
512
476
|
for (var i = 0; i < data.length; i++) {
|
|
513
477
|
for (var j = 0; j < data[i].length; j++) {
|
|
514
|
-
for (var d = 0; d < dim; d++)
|
|
515
|
-
result.vertices.push(data[i][j][d]);
|
|
478
|
+
for (var d = 0; d < dim; d++) result.vertices.push(data[i][j][d]);
|
|
516
479
|
}
|
|
517
480
|
if (i > 0) {
|
|
518
481
|
holeIndex += data[i - 1].length;
|
|
@@ -975,7 +938,7 @@ PolygonPipeline.computeRhumbLineSubdivision = function(ellipsoid, positions, ind
|
|
|
975
938
|
return new Geometry_default(geometryOptions);
|
|
976
939
|
};
|
|
977
940
|
PolygonPipeline.scaleToGeodeticHeight = function(positions, height, ellipsoid, scaleToSurface) {
|
|
978
|
-
ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.
|
|
941
|
+
ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.default);
|
|
979
942
|
let n = scaleToGeodeticHeightN;
|
|
980
943
|
let p = scaleToGeodeticHeightP;
|
|
981
944
|
height = defaultValue_default(height, 0);
|
|
@@ -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,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
defined_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AA4GZKOT.js";
|
|
29
29
|
|
|
30
30
|
// packages/engine/Source/Core/DeveloperError.js
|
|
31
31
|
function DeveloperError(message) {
|
|
@@ -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,19 +25,19 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Intersect_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DOXCPOG4.js";
|
|
29
29
|
import {
|
|
30
30
|
Cartesian3_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PYHLO636.js";
|
|
32
32
|
import {
|
|
33
33
|
defaultValue_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VE7BFUIX.js";
|
|
35
35
|
import {
|
|
36
36
|
Check_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-S3PI2KFM.js";
|
|
38
38
|
import {
|
|
39
39
|
defined_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-AA4GZKOT.js";
|
|
41
41
|
|
|
42
42
|
// packages/engine/Source/Core/AxisAlignedBoundingBox.js
|
|
43
43
|
function AxisAlignedBoundingBox(minimum, maximum, 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,40 +25,40 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
AxisAlignedBoundingBox_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-STBBMQGG.js";
|
|
29
29
|
import {
|
|
30
30
|
IntersectionTests_default,
|
|
31
31
|
Ray_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XD445VDH.js";
|
|
33
33
|
import {
|
|
34
34
|
Plane_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4BAE4PWO.js";
|
|
36
36
|
import {
|
|
37
37
|
Cartesian4_default,
|
|
38
38
|
Matrix4_default,
|
|
39
39
|
Transforms_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-O3JCMSS3.js";
|
|
41
41
|
import {
|
|
42
42
|
Cartesian2_default,
|
|
43
43
|
Cartesian3_default,
|
|
44
44
|
Ellipsoid_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-PYHLO636.js";
|
|
46
46
|
import {
|
|
47
47
|
defaultValue_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VE7BFUIX.js";
|
|
49
49
|
import {
|
|
50
50
|
Check_default,
|
|
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/EllipsoidTangentPlane.js
|
|
58
58
|
var scratchCart4 = new Cartesian4_default();
|
|
59
59
|
function EllipsoidTangentPlane(origin, ellipsoid) {
|
|
60
60
|
Check_default.defined("origin", origin);
|
|
61
|
-
ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.
|
|
61
|
+
ellipsoid = defaultValue_default(ellipsoid, Ellipsoid_default.default);
|
|
62
62
|
origin = ellipsoid.scaleToGeodeticSurface(origin);
|
|
63
63
|
if (!defined_default(origin)) {
|
|
64
64
|
throw new DeveloperError_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,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
defined_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AA4GZKOT.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.119
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
Math_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MSKXMXJI.js";
|
|
29
29
|
|
|
30
30
|
// packages/engine/Source/Core/CylinderGeometryLibrary.js
|
|
31
31
|
var CylinderGeometryLibrary = {};
|
|
@@ -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
|
*
|
|
@@ -27,19 +27,19 @@ import {
|
|
|
27
27
|
Cartesian3_default,
|
|
28
28
|
Cartographic_default,
|
|
29
29
|
Ellipsoid_default
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PYHLO636.js";
|
|
31
31
|
import {
|
|
32
32
|
Math_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MSKXMXJI.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultValue_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VE7BFUIX.js";
|
|
37
37
|
import {
|
|
38
38
|
Check_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-S3PI2KFM.js";
|
|
40
40
|
import {
|
|
41
41
|
defined_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-AA4GZKOT.js";
|
|
43
43
|
|
|
44
44
|
// packages/engine/Source/Core/EllipsoidGeodesic.js
|
|
45
45
|
function setConstants(ellipsoidGeodesic) {
|
|
@@ -204,7 +204,7 @@ function computeProperties(ellipsoidGeodesic, start, end, ellipsoid) {
|
|
|
204
204
|
setConstants(ellipsoidGeodesic);
|
|
205
205
|
}
|
|
206
206
|
function EllipsoidGeodesic(start, end, ellipsoid) {
|
|
207
|
-
const e = defaultValue_default(ellipsoid, Ellipsoid_default.
|
|
207
|
+
const e = defaultValue_default(ellipsoid, Ellipsoid_default.default);
|
|
208
208
|
this._ellipsoid = e;
|
|
209
209
|
this._start = new Cartographic_default();
|
|
210
210
|
this._end = new Cartographic_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,61 +25,61 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipseGeometryLibrary_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NTXTUNEF.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryInstance_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GRAT5GE7.js";
|
|
32
32
|
import {
|
|
33
33
|
GeometryPipeline_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JYAHOGGL.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryOffsetAttribute_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-Q55ECN3Y.js";
|
|
38
38
|
import {
|
|
39
39
|
VertexFormat_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-KUN2ZA5X.js";
|
|
41
41
|
import {
|
|
42
42
|
IndexDatatype_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-QD4KM3GO.js";
|
|
44
44
|
import {
|
|
45
45
|
GeometryAttributes_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-R6B7UCQB.js";
|
|
47
47
|
import {
|
|
48
48
|
GeometryAttribute_default,
|
|
49
49
|
Geometry_default,
|
|
50
50
|
PrimitiveType_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-GR3CDLCP.js";
|
|
52
52
|
import {
|
|
53
53
|
BoundingSphere_default,
|
|
54
54
|
GeographicProjection_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-DOXCPOG4.js";
|
|
56
56
|
import {
|
|
57
57
|
Quaternion_default,
|
|
58
58
|
Rectangle_default
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-O3JCMSS3.js";
|
|
60
60
|
import {
|
|
61
61
|
ComponentDatatype_default
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2J3JKXCP.js";
|
|
63
63
|
import {
|
|
64
64
|
Cartesian2_default,
|
|
65
65
|
Cartesian3_default,
|
|
66
66
|
Cartographic_default,
|
|
67
67
|
Ellipsoid_default,
|
|
68
68
|
Matrix3_default
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-PYHLO636.js";
|
|
70
70
|
import {
|
|
71
71
|
Math_default
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-MSKXMXJI.js";
|
|
73
73
|
import {
|
|
74
74
|
defaultValue_default
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-VE7BFUIX.js";
|
|
76
76
|
import {
|
|
77
77
|
Check_default,
|
|
78
78
|
DeveloperError_default
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-S3PI2KFM.js";
|
|
80
80
|
import {
|
|
81
81
|
defined_default
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-AA4GZKOT.js";
|
|
83
83
|
|
|
84
84
|
// packages/engine/Source/Core/EllipseGeometry.js
|
|
85
85
|
var scratchCartesian1 = new Cartesian3_default();
|
|
@@ -774,7 +774,7 @@ function computeRectangle(center, semiMajorAxis, semiMinorAxis, rotation, granul
|
|
|
774
774
|
function EllipseGeometry(options) {
|
|
775
775
|
options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
|
|
776
776
|
const center = options.center;
|
|
777
|
-
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.
|
|
777
|
+
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.default);
|
|
778
778
|
const semiMajorAxis = options.semiMajorAxis;
|
|
779
779
|
const semiMinorAxis = options.semiMinorAxis;
|
|
780
780
|
const granularity = defaultValue_default(
|
|
@@ -901,7 +901,7 @@ EllipseGeometry.unpack = function(array, startingIndex, result) {
|
|
|
901
901
|
EllipseGeometry.computeRectangle = function(options, result) {
|
|
902
902
|
options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
|
|
903
903
|
const center = options.center;
|
|
904
|
-
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.
|
|
904
|
+
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.default);
|
|
905
905
|
const semiMajorAxis = options.semiMajorAxis;
|
|
906
906
|
const semiMinorAxis = options.semiMinorAxis;
|
|
907
907
|
const granularity = defaultValue_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
|
*
|
|
@@ -27,19 +27,19 @@ import {
|
|
|
27
27
|
Cartesian3_default,
|
|
28
28
|
Cartographic_default,
|
|
29
29
|
Ellipsoid_default
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PYHLO636.js";
|
|
31
31
|
import {
|
|
32
32
|
Math_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MSKXMXJI.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultValue_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VE7BFUIX.js";
|
|
37
37
|
import {
|
|
38
38
|
DeveloperError_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-S3PI2KFM.js";
|
|
40
40
|
import {
|
|
41
41
|
defined_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-AA4GZKOT.js";
|
|
43
43
|
|
|
44
44
|
// packages/engine/Source/Core/WebMercatorProjection.js
|
|
45
45
|
function WebMercatorProjection(ellipsoid) {
|