@cesium/engine 26.1.0 → 26.3.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 +764 -520
- package/Build/Workers/{chunk-HS6AD4P2.js → chunk-2DKJSPYF.js} +14 -14
- package/Build/Workers/{chunk-QVLAFFJY.js → chunk-2PWVICP6.js} +1 -1
- package/Build/Workers/{chunk-ILME5BXA.js → chunk-2YY724ZX.js} +8 -8
- package/Build/Workers/{chunk-ENNFMWDW.js → chunk-4DMAXPKB.js} +12 -12
- package/Build/Workers/{chunk-CDJDJ5LK.js → chunk-4LRFYRBX.js} +2 -2
- package/Build/Workers/{chunk-76FDC45O.js → chunk-5JCZHJUU.js} +13 -13
- package/Build/Workers/{chunk-5LSOO2KD.js → chunk-5KG7KDDW.js} +7 -7
- package/Build/Workers/{chunk-A6X24AZI.js → chunk-6BSNYZZG.js} +5 -5
- package/Build/Workers/{chunk-IGAZBTFZ.js → chunk-6R6SGKYN.js} +6 -6
- package/Build/Workers/{chunk-SS5ABQGY.js → chunk-6V2KDEHL.js} +4 -4
- package/Build/Workers/{chunk-ZMBHFYOX.js → chunk-75BC2IHI.js} +7 -7
- package/Build/Workers/{chunk-LGNDTZVX.js → chunk-7SESBH2I.js} +4 -4
- package/Build/Workers/{chunk-CLCTQVVL.js → chunk-7WXBTNRV.js} +8 -8
- package/Build/Workers/{chunk-WBSY7HDY.js → chunk-A7SMPV6B.js} +12 -12
- package/Build/Workers/{chunk-CEEZE3YZ.js → chunk-ATSXKJ3L.js} +7 -7
- package/Build/Workers/{chunk-AHWAZRBV.js → chunk-B4AVL7VI.js} +1 -1
- package/Build/Workers/{chunk-6HK6IXK2.js → chunk-B7Q2WF6Q.js} +4 -4
- package/Build/Workers/{chunk-YKU2Q3A2.js → chunk-BNDSDQ7D.js} +9 -12
- package/Build/Workers/{chunk-R4FPNAZ2.js → chunk-CKK6CUXK.js} +9 -9
- package/Build/Workers/{chunk-FCP2QY4G.js → chunk-COKOYTRS.js} +5 -5
- package/Build/Workers/{chunk-7D2HZKH7.js → chunk-CQ4TZXAT.js} +7 -7
- package/Build/Workers/{chunk-TVZD72WJ.js → chunk-DKSANM4A.js} +12 -12
- package/Build/Workers/{chunk-FDK4K5IA.js → chunk-DZK34ZVD.js} +1 -1
- package/Build/Workers/{chunk-N7CCOFLX.js → chunk-E7G32DWL.js} +1 -1
- package/Build/Workers/{chunk-XDWCTQCZ.js → chunk-EDETO6NY.js} +2 -2
- package/Build/Workers/{chunk-2EFYUSUY.js → chunk-F34TJJLA.js} +16 -16
- package/Build/Workers/{chunk-GXWQZBAI.js → chunk-GLHDTTTO.js} +2 -2
- package/Build/Workers/{chunk-T5QBPLE3.js → chunk-GS7RY2DH.js} +11 -11
- package/Build/Workers/{chunk-C7JQVRLM.js → chunk-HDD3RFLT.js} +25 -3
- package/Build/Workers/{chunk-E7NZJOK7.js → chunk-HDPNFEPP.js} +121 -93
- package/Build/Workers/{chunk-VAL7DYNR.js → chunk-JBJ6BRIM.js} +4 -4
- package/Build/Workers/{chunk-XQ3SKCMM.js → chunk-JKTWW7IO.js} +5 -5
- package/Build/Workers/{chunk-UVO6COT2.js → chunk-JL4NWWQY.js} +5 -5
- package/Build/Workers/{chunk-DBD5WWG2.js → chunk-JMUUAW4X.js} +10 -10
- package/Build/Workers/{chunk-UEY73NRN.js → chunk-KBGAHN5R.js} +1 -1
- package/Build/Workers/{chunk-LD64RPYV.js → chunk-KEWK6VZL.js} +12 -12
- package/Build/Workers/{chunk-JW6OZT4R.js → chunk-L73K5UPP.js} +10 -10
- package/Build/Workers/{chunk-DIGUUD6G.js → chunk-LL2SGJYH.js} +6 -6
- package/Build/Workers/{chunk-XLXSDIP5.js → chunk-LYJUL4XQ.js} +6 -6
- package/Build/Workers/{chunk-SM2CDCYF.js → chunk-M6W46OAP.js} +7 -7
- package/Build/Workers/{chunk-EHTS2YPT.js → chunk-MDDKCLMF.js} +17 -17
- package/Build/Workers/{chunk-FGQFQHN5.js → chunk-MUW4DJV7.js} +18 -18
- package/Build/Workers/{chunk-HHV3MCGV.js → chunk-N5YK44FS.js} +5 -5
- package/Build/Workers/{chunk-RG4F5R57.js → chunk-NZQUP52G.js} +9 -9
- package/Build/Workers/{chunk-B4CQSLZJ.js → chunk-PKZA44LH.js} +6 -6
- package/Build/Workers/{chunk-OBEU25PI.js → chunk-Q2JS5LCB.js} +17 -17
- package/Build/Workers/{chunk-KGXSYGBG.js → chunk-QTAEVUED.js} +13 -13
- package/Build/Workers/{chunk-NIWITKQK.js → chunk-SEJIXZZ4.js} +11 -11
- package/Build/Workers/{chunk-SGRGNDOD.js → chunk-SL2HCFYW.js} +10 -10
- package/Build/Workers/{chunk-SF6K72D7.js → chunk-SLHK3KAR.js} +5 -5
- package/Build/Workers/{chunk-JKXV6PG5.js → chunk-UZY5XRL2.js} +1 -1
- package/Build/Workers/{chunk-LNSQVXFH.js → chunk-VRECSMG3.js} +2 -2
- package/Build/Workers/{chunk-A3O6EDBK.js → chunk-X27HKF5E.js} +2 -2
- package/Build/Workers/{chunk-7KVKHY7O.js → chunk-XBY3354M.js} +6 -6
- package/Build/Workers/{chunk-GSWMAFTE.js → chunk-XRZCS3HE.js} +23 -16
- package/Build/Workers/{chunk-6YR6JBMY.js → chunk-XSIUYAT6.js} +2 -2
- package/Build/Workers/{chunk-ZSGUV73H.js → chunk-Z2DW5NM2.js} +6 -6
- package/Build/Workers/combineGeometry.js +24 -24
- package/Build/Workers/createBoxGeometry.js +18 -18
- package/Build/Workers/createBoxOutlineGeometry.js +16 -16
- package/Build/Workers/createCircleGeometry.js +26 -26
- package/Build/Workers/createCircleOutlineGeometry.js +19 -19
- package/Build/Workers/createCoplanarPolygonGeometry.js +35 -35
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +31 -31
- package/Build/Workers/createCorridorGeometry.js +31 -33
- package/Build/Workers/createCorridorOutlineGeometry.js +29 -31
- package/Build/Workers/createCylinderGeometry.js +20 -20
- package/Build/Workers/createCylinderOutlineGeometry.js +18 -18
- package/Build/Workers/createEllipseGeometry.js +26 -26
- package/Build/Workers/createEllipseOutlineGeometry.js +19 -19
- package/Build/Workers/createEllipsoidGeometry.js +19 -19
- package/Build/Workers/createEllipsoidOutlineGeometry.js +18 -18
- package/Build/Workers/createFrustumGeometry.js +18 -18
- package/Build/Workers/createFrustumOutlineGeometry.js +18 -18
- package/Build/Workers/createGeometry.js +24 -24
- package/Build/Workers/createGroundPolylineGeometry.js +24 -24
- package/Build/Workers/createPlaneGeometry.js +16 -16
- package/Build/Workers/createPlaneOutlineGeometry.js +15 -15
- package/Build/Workers/createPolygonGeometry.js +34 -34
- package/Build/Workers/createPolygonOutlineGeometry.js +31 -31
- package/Build/Workers/createPolylineGeometry.js +26 -26
- package/Build/Workers/createPolylineVolumeGeometry.js +31 -31
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
- package/Build/Workers/createRectangleGeometry.js +27 -27
- package/Build/Workers/createRectangleOutlineGeometry.js +21 -21
- package/Build/Workers/createSimplePolylineGeometry.js +24 -24
- package/Build/Workers/createSphereGeometry.js +19 -19
- package/Build/Workers/createSphereOutlineGeometry.js +18 -18
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +14 -14
- package/Build/Workers/createVectorTileGeometries.js +24 -24
- package/Build/Workers/createVectorTilePoints.js +13 -13
- package/Build/Workers/createVectorTilePolygons.js +22 -22
- package/Build/Workers/createVectorTilePolylines.js +14 -14
- package/Build/Workers/createVerticesFromCesium3DTilesTerrain.js +25 -25
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +22 -22
- package/Build/Workers/createVerticesFromHeightmap.js +22 -22
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +20 -20
- package/Build/Workers/createWallGeometry.js +24 -24
- package/Build/Workers/createWallOutlineGeometry.js +24 -24
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/gaussianSplatSorter.js +4 -4
- package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
- package/Build/Workers/incrementallyBuildTerrainPicker.js +10 -10
- package/Build/Workers/transcodeKTX2.js +6 -6
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +22 -22
- package/Build/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +25 -25
- package/Source/Core/ArcGISTiledElevationTerrainProvider.js +1 -5
- package/Source/Core/BoundingSphere.js +0 -3
- package/Source/Core/Cesium3DTilesTerrainGeometryProcessor.js +3 -4
- package/Source/Core/CoplanarPolygonGeometry.js +2 -2
- package/Source/Core/CorridorGeometry.js +2 -4
- package/Source/Core/CorridorOutlineGeometry.js +1 -3
- package/Source/Core/EarthOrientationParameters.js +2 -2
- package/Source/Core/EllipseGeometryLibrary.js +2 -2
- package/Source/Core/EllipsoidGeodesic.js +3 -3
- package/Source/Core/EllipsoidRhumbLine.js +1 -1
- package/Source/Core/GroundPolylineGeometry.js +2 -2
- package/Source/Core/Heap.js +1 -1
- package/Source/Core/HermitePolynomialApproximation.js +215 -179
- package/Source/Core/InterpolationAlgorithm.js +1 -0
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/IonResource.js +5 -0
- package/Source/Core/IonSnapGeometryType.js +59 -0
- package/Source/Core/IonSnapHeat.js +33 -0
- package/Source/Core/IonSnapMode.js +45 -0
- package/Source/Core/IonSnapParentGeometryType.js +52 -0
- package/Source/Core/IonSnapService.js +369 -0
- package/Source/Core/JulianDate.js +1 -1
- package/Source/Core/LagrangePolynomialApproximation.js +55 -52
- package/Source/Core/LinearApproximation.js +69 -66
- package/Source/Core/Math.js +59 -0
- package/Source/Core/Matrix2.js +2 -2
- package/Source/Core/Matrix3.js +2 -2
- package/Source/Core/OrthographicFrustum.js +1 -1
- package/Source/Core/PerspectiveFrustum.js +1 -1
- package/Source/Core/PolygonGeometry.js +2 -2
- package/Source/Core/PolygonGeometryLibrary.js +1 -1
- package/Source/Core/PolygonOutlineGeometry.js +1 -1
- package/Source/Core/PolylineGeometry.js +1 -1
- package/Source/Core/PolylineVolumeGeometryLibrary.js +1 -1
- package/Source/Core/Rectangle.js +7 -1
- package/Source/Core/RectangleOutlineGeometry.js +1 -1
- package/Source/Core/SimplePolylineGeometry.js +1 -1
- package/Source/Core/SnapService.js +63 -0
- package/Source/Core/TerrainEncoding.js +2 -2
- package/Source/Core/TerrainPicker.js +179 -168
- package/Source/Core/TimeIntervalCollection.js +1 -3
- package/Source/Core/Tipsify.js +1 -1
- package/Source/Core/Transforms.js +5 -1
- package/Source/Core/VectorPipeline.js +1211 -0
- package/Source/Core/VectorProvider.js +669 -0
- package/Source/Core/WallOutlineGeometry.js +1 -1
- package/Source/Core/getTimestamp.js +4 -2
- package/Source/DataSources/CompositeEntityCollection.js +0 -1
- package/Source/DataSources/CzmlDataSource.js +2 -0
- package/Source/DataSources/DataSourceDisplay.js +1 -1
- package/Source/DataSources/GeoJsonDataSource.js +0 -1
- package/Source/DataSources/GeometryVisualizer.js +1 -1
- package/Source/DataSources/KmlDataSource.js +1 -2
- package/Source/DataSources/PolylineVisualizer.js +1 -1
- package/Source/DataSources/StaticOutlineGeometryBatch.js +1 -1
- package/Source/Renderer/AutomaticUniforms.js +67 -2
- package/Source/Renderer/Context.js +9 -3
- package/Source/Renderer/DrawCommand.js +22 -0
- package/Source/Renderer/Framebuffer.js +4 -0
- package/Source/Renderer/Pass.js +11 -10
- package/Source/Renderer/ShaderBuilder.js +1 -1
- package/Source/Renderer/Texture.js +11 -0
- package/Source/Renderer/UniformState.js +54 -1
- package/Source/Renderer/VertexArray.js +0 -1
- package/Source/Scene/ArcGisMapServerImageryProvider.js +0 -5
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +2 -1
- package/Source/Scene/BillboardCollection.js +7 -3
- package/Source/Scene/BufferPointCollection.js +4 -7
- package/Source/Scene/BufferPolygonCollection.js +56 -27
- package/Source/Scene/BufferPolylineCollection.js +61 -8
- package/Source/Scene/BufferPolylineMaterial.js +6 -5
- package/Source/Scene/BufferPrimitiveCollection.js +226 -34
- package/Source/Scene/Camera.js +71 -5
- package/Source/Scene/Cesium3DTile.js +12 -0
- package/Source/Scene/Cesium3DTileset.js +62 -9
- package/Source/Scene/Cesium3DTilesetBaseTraversal.js +15 -3
- package/Source/Scene/Cesium3DTilesetCache.js +15 -0
- package/Source/Scene/ClippingPlaneCollection.js +2 -2
- package/Source/Scene/ClippingPolygon.js +154 -100
- package/Source/Scene/ClippingPolygonCollection.js +352 -694
- package/Source/Scene/Controllers/Controller.js +63 -0
- package/Source/Scene/Controllers/ControllerHost.js +78 -0
- package/Source/Scene/Controllers/HybridScreenSpacePanCameraController.js +106 -0
- package/Source/Scene/Controllers/MouseButton.js +32 -0
- package/Source/Scene/Controllers/ScreenSpaceElevatorCameraController.js +295 -0
- package/Source/Scene/Controllers/ScreenSpaceInputBindings.js +154 -0
- package/Source/Scene/Controllers/ScreenSpaceMapCameraController.js +310 -0
- package/Source/Scene/Controllers/ScreenSpaceTiltOrbitCameraController.js +642 -0
- package/Source/Scene/Controllers/ScreenSpaceZoomCameraController.js +431 -0
- package/Source/Scene/Controllers/defaultPickWorldPosition.js +84 -0
- package/Source/Scene/CreditDisplay.js +62 -0
- package/Source/Scene/DerivedCommand.js +94 -0
- package/Source/Scene/EdgeFramebuffer.js +1 -5
- package/Source/Scene/FrameState.js +17 -0
- package/Source/Scene/GeoJsonPrimitive.js +114 -24
- package/Source/Scene/Globe.js +20 -0
- package/Source/Scene/GlobeDepth.js +27 -1
- package/Source/Scene/GlobeSurfaceShaderSet.js +42 -53
- package/Source/Scene/GlobeSurfaceTile.js +61 -10
- package/Source/Scene/GlobeSurfaceTileProvider.js +351 -26
- package/Source/Scene/GltfLoader.js +88 -9
- package/Source/Scene/GltfSpzLoader.js +1 -1
- package/Source/Scene/GltfVertexBufferLoader.js +6 -3
- package/Source/Scene/HeightReference.js +1 -1
- package/Source/Scene/I3SDataProvider.js +1 -1
- package/Source/Scene/I3SLayer.js +1 -1
- package/Source/Scene/I3SNode.js +2 -2
- package/Source/Scene/ImageryLayerCollection.js +188 -4
- package/Source/Scene/IonImageryProvider.js +1 -5
- package/Source/Scene/Label.js +4 -4
- package/Source/Scene/LabelCollection.js +1 -1
- package/Source/Scene/MVTDataProvider.js +11 -0
- package/Source/Scene/Model/B3dmLoader.js +1 -2
- package/Source/Scene/Model/EdgeVisibilityPipelineStage.js +10 -8
- package/Source/Scene/Model/I3dmLoader.js +1 -1
- package/Source/Scene/Model/InstancingPipelineStage.js +4 -7
- package/Source/Scene/Model/MaterialPipelineStage.js +124 -1
- package/Source/Scene/Model/Model.js +250 -26
- package/Source/Scene/Model/Model3DTileContent.js +5 -0
- package/Source/Scene/Model/ModelClippingPlanesPipelineStage.js +28 -1
- package/Source/Scene/Model/ModelClippingPolygonsPipelineStage.js +54 -19
- package/Source/Scene/Model/ModelDrawCommand.js +160 -16
- package/Source/Scene/Model/ModelDrawCommands.js +4 -0
- package/Source/Scene/Model/ModelRenderResources.js +2 -3
- package/Source/Scene/Model/ModelSceneGraph.js +31 -1
- package/Source/Scene/Model/ModelVectorLookupPipelineStage.js +205 -0
- package/Source/Scene/Model/PickingPipelineStage.js +33 -0
- package/Source/Scene/Model/PrimitiveRenderResources.js +24 -0
- package/Source/Scene/ModelComponents.js +71 -0
- package/Source/Scene/Picking.js +16 -5
- package/Source/Scene/PlanarFillIdFramebuffer.js +172 -0
- package/Source/Scene/PntsParser.js +0 -1
- package/Source/Scene/PolylineCollection.js +1 -1
- package/Source/Scene/PostProcessStage.js +26 -5
- package/Source/Scene/ResourceCache.js +7 -4
- package/Source/Scene/ResourceCacheKey.js +16 -13
- package/Source/Scene/Scene.js +258 -6
- package/Source/Scene/ScreenSpaceCameraController.js +1 -2
- package/Source/Scene/ShadowMap.js +9 -3
- package/Source/Scene/ShadowMapShader.js +50 -2
- package/Source/Scene/SnapFramebuffer.js +121 -0
- package/Source/Scene/Snapping.js +241 -0
- package/Source/Scene/TerrainFillMesh.js +3 -2
- package/Source/Scene/UrlTemplate3DTilesDataProvider.js +13 -2
- package/Source/Scene/Vector3DTileContent.js +2 -3
- package/Source/Scene/VectorGltf3DTileContent.js +31 -3
- package/Source/Scene/View.js +10 -8
- package/Source/Scene/VoxelTraversal.js +1 -1
- package/Source/Scene/WebMapServiceImageryProvider.js +5 -1
- package/Source/Scene/WebMapTileServiceImageryProvider.js +6 -1
- package/Source/Scene/createElevationBandMaterial.js +1 -1
- package/Source/Scene/renderBufferPointCollection.js +1 -2
- package/Source/Scene/renderBufferPolygonCollection.js +1 -2
- package/Source/Scene/renderBufferPolylineCollection.js +6 -3
- package/Source/Shaders/BufferPolylineMaterialVS.glsl +14 -2
- package/Source/Shaders/BufferPolylineMaterialVS.js +14 -2
- package/Source/Shaders/Builtin/Constants/passCesium3DTile.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTile.js +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTileClassification.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTileClassification.js +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTileClassificationIgnoreShow.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTileClassificationIgnoreShow.js +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTilePlanarFillId.glsl +9 -0
- package/Source/Shaders/Builtin/Constants/passCesium3DTilePlanarFillId.js +11 -0
- package/Source/Shaders/Builtin/Constants/passClassification.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passClassification.js +1 -1
- package/Source/Shaders/Builtin/Constants/passGaussianSplats.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passGaussianSplats.js +1 -1
- package/Source/Shaders/Builtin/Constants/passOpaque.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passOpaque.js +1 -1
- package/Source/Shaders/Builtin/Constants/passTranslucent.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passTranslucent.js +1 -1
- package/Source/Shaders/Builtin/Constants/passVoxels.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passVoxels.js +1 -1
- package/Source/Shaders/Builtin/CzmBuiltins.js +4 -4
- package/Source/Shaders/Builtin/Functions/eyeToCartographicDelta.glsl +74 -0
- package/Source/Shaders/Builtin/Functions/eyeToCartographicDelta.js +76 -0
- package/Source/Shaders/GlobeFS.glsl +20 -14
- package/Source/Shaders/GlobeFS.js +20 -14
- package/Source/Shaders/GlobeVS.glsl +0 -32
- package/Source/Shaders/GlobeVS.js +0 -32
- package/Source/Shaders/Materials/PolylineGlowMaterial.glsl +1 -1
- package/Source/Shaders/Materials/PolylineGlowMaterial.js +1 -1
- package/Source/Shaders/Model/MaterialStageFS.glsl +8 -2
- package/Source/Shaders/Model/MaterialStageFS.js +8 -2
- package/Source/Shaders/Model/ModelClippingPolygonsStageFS.glsl +15 -3
- package/Source/Shaders/Model/ModelClippingPolygonsStageFS.js +15 -3
- package/Source/Shaders/Model/ModelClippingPolygonsStageVS.glsl +20 -24
- package/Source/Shaders/Model/ModelClippingPolygonsStageVS.js +20 -24
- package/Source/Shaders/Model/ModelFS.glsl +109 -0
- package/Source/Shaders/Model/ModelFS.js +109 -0
- package/Source/Shaders/Model/ModelVS.glsl +7 -2
- package/Source/Shaders/Model/ModelVS.js +7 -2
- package/Source/Shaders/Model/ModelVectorLookupStageFS.glsl +6 -0
- package/Source/Shaders/Model/ModelVectorLookupStageFS.js +8 -0
- package/Source/Shaders/Model/ModelVectorLookupStageVS.glsl +15 -0
- package/Source/Shaders/Model/ModelVectorLookupStageVS.js +17 -0
- package/Source/Shaders/Model/VerticalExaggerationStageVS.glsl +9 -10
- package/Source/Shaders/Model/VerticalExaggerationStageVS.js +9 -11
- package/Source/Shaders/VectorCommon.glsl +305 -0
- package/Source/Shaders/VectorCommon.js +307 -0
- package/Source/ThirdParty/Workers/zip-web-worker.js +1 -1
- package/Source/ThirdParty/zip-module.wasm +0 -0
- package/Source/Widget/CesiumWidget.js +30 -0
- package/index.d.ts +1326 -65
- package/index.js +179 -155
- package/package.json +6 -6
- package/Source/Shaders/Builtin/Functions/clipPolygons.glsl +0 -37
- package/Source/Shaders/Builtin/Functions/clipPolygons.js +0 -39
- package/Source/Shaders/Builtin/Functions/unpackClippingExtents.glsl +0 -14
- package/Source/Shaders/Builtin/Functions/unpackClippingExtents.js +0 -15
- package/Source/Shaders/PolygonSignedDistanceFS.glsl +0 -131
- package/Source/Shaders/PolygonSignedDistanceFS.js +0 -132
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,32 +25,32 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
TerrainProvider_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-JL4NWWQY.js";
|
|
29
29
|
import {
|
|
30
30
|
EllipsoidalOccluder_default,
|
|
31
31
|
TerrainEncoding_default,
|
|
32
32
|
VerticalExaggeration_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4DMAXPKB.js";
|
|
34
34
|
import {
|
|
35
35
|
WebMercatorProjection_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XBY3354M.js";
|
|
37
37
|
import {
|
|
38
38
|
OrientedBoundingBox_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-A7SMPV6B.js";
|
|
40
40
|
import {
|
|
41
41
|
AttributeCompression_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NZQUP52G.js";
|
|
43
43
|
import {
|
|
44
44
|
AxisAlignedBoundingBox_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-N5YK44FS.js";
|
|
46
46
|
import {
|
|
47
47
|
IntersectionTests_default,
|
|
48
48
|
Ray_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-75BC2IHI.js";
|
|
50
50
|
import {
|
|
51
51
|
BoundingSphere_default,
|
|
52
52
|
Interval_default
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-BNDSDQ7D.js";
|
|
54
54
|
import {
|
|
55
55
|
Event_default,
|
|
56
56
|
Rectangle_default,
|
|
@@ -60,38 +60,38 @@ import {
|
|
|
60
60
|
buildModuleUrl_default,
|
|
61
61
|
isCrossOriginUrl_default,
|
|
62
62
|
require_URI
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-XRZCS3HE.js";
|
|
64
64
|
import {
|
|
65
65
|
Matrix4_default
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-6R6SGKYN.js";
|
|
67
67
|
import {
|
|
68
68
|
ComponentDatatype_default
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-JBJ6BRIM.js";
|
|
70
70
|
import {
|
|
71
71
|
RuntimeError_default
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-GLHDTTTO.js";
|
|
73
73
|
import {
|
|
74
74
|
Cartesian2_default,
|
|
75
75
|
Cartographic_default,
|
|
76
76
|
Ellipsoid_default,
|
|
77
77
|
FeatureDetection_default
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-6BSNYZZG.js";
|
|
79
79
|
import {
|
|
80
80
|
Cartesian3_default,
|
|
81
81
|
Frozen_default,
|
|
82
82
|
Matrix3_default
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-Z2DW5NM2.js";
|
|
84
84
|
import {
|
|
85
85
|
Math_default
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-HDD3RFLT.js";
|
|
87
87
|
import {
|
|
88
88
|
Check_default,
|
|
89
89
|
DeveloperError_default
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-XSIUYAT6.js";
|
|
91
91
|
import {
|
|
92
92
|
__toESM,
|
|
93
93
|
defined_default
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-B4AVL7VI.js";
|
|
95
95
|
|
|
96
96
|
// node_modules/meshoptimizer/meshopt_encoder.js
|
|
97
97
|
var MeshoptEncoder = (function() {
|
|
@@ -2046,56 +2046,106 @@ var TaskProcessor_default = TaskProcessor;
|
|
|
2046
2046
|
|
|
2047
2047
|
// packages/engine/Source/Core/TerrainPicker.js
|
|
2048
2048
|
var MAXIMUM_TERRAIN_PICKER_LEVEL = 3;
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2049
|
+
var TerrainPicker = class {
|
|
2050
|
+
/**
|
|
2051
|
+
* @param {Float64Array} vertices The terrain mesh's vertex buffer.
|
|
2052
|
+
* @param {Uint8Array|Uint16Array|Uint32Array} indices The terrain mesh's index buffer.
|
|
2053
|
+
* @param {TerrainEncoding} encoding The terrain mesh's vertex encoding.
|
|
2054
|
+
*/
|
|
2055
|
+
constructor(vertices, indices, encoding) {
|
|
2056
|
+
Check_default.defined("vertices", vertices);
|
|
2057
|
+
Check_default.defined("indices", indices);
|
|
2058
|
+
Check_default.defined("encoding", encoding);
|
|
2059
|
+
this._vertices = vertices;
|
|
2060
|
+
this._indices = indices;
|
|
2061
|
+
this._encoding = encoding;
|
|
2062
|
+
this._inverseTransform = new Matrix4_default();
|
|
2063
|
+
this._needsRebuild = true;
|
|
2064
|
+
this._rootNode = new TerrainPickerNode();
|
|
2065
|
+
}
|
|
2066
|
+
/**
|
|
2067
|
+
* Indicates whether the terrain picker needs to be rebuilt due to changes in the underlying terrain mesh's vertices or indices.
|
|
2068
|
+
* @type {boolean}
|
|
2069
|
+
*/
|
|
2070
|
+
get needsRebuild() {
|
|
2071
|
+
return this._needsRebuild;
|
|
2072
|
+
}
|
|
2073
|
+
set needsRebuild(value) {
|
|
2074
|
+
this._needsRebuild = value;
|
|
2075
|
+
}
|
|
2076
|
+
/**
|
|
2077
|
+
* Determines the point on the mesh where the given ray intersects.
|
|
2078
|
+
* @param {Ray} ray The ray to test.
|
|
2079
|
+
* @param {Matrix4} tileTransform The terrain mesh tile's transform from local space to world space.
|
|
2080
|
+
* @param {Boolean} cullBackFaces Whether to consider back-facing triangles as intersections.
|
|
2081
|
+
* @param {SceneMode} mode The scene mode (2D/3D/Columbus View).
|
|
2082
|
+
* @param {MapProjection} projection The map projection.
|
|
2083
|
+
* @returns {Cartesian3 | undefined} result The intersection point, or undefined if there is no intersection.
|
|
2084
|
+
* @private
|
|
2085
|
+
*/
|
|
2086
|
+
rayIntersect(ray, tileTransform, cullBackFaces, mode, projection) {
|
|
2087
|
+
if (this._needsRebuild) {
|
|
2088
|
+
reset(this, tileTransform);
|
|
2089
|
+
}
|
|
2090
|
+
const invTransform = this._inverseTransform;
|
|
2091
|
+
const transformedRay = scratchTransformedRay;
|
|
2092
|
+
transformedRay.origin = Matrix4_default.multiplyByPoint(
|
|
2093
|
+
invTransform,
|
|
2094
|
+
ray.origin,
|
|
2095
|
+
transformedRay.origin
|
|
2096
|
+
);
|
|
2097
|
+
transformedRay.direction = Matrix4_default.multiplyByPointAsVector(
|
|
2098
|
+
invTransform,
|
|
2099
|
+
ray.direction,
|
|
2100
|
+
transformedRay.direction
|
|
2101
|
+
);
|
|
2102
|
+
const intersections = [];
|
|
2103
|
+
getNodesIntersectingRay(this._rootNode, transformedRay, intersections);
|
|
2104
|
+
return findClosestPointInClosestNode(
|
|
2105
|
+
this,
|
|
2106
|
+
intersections,
|
|
2107
|
+
ray,
|
|
2108
|
+
cullBackFaces,
|
|
2109
|
+
mode,
|
|
2110
|
+
projection
|
|
2111
|
+
);
|
|
2112
|
+
}
|
|
2113
|
+
};
|
|
2060
2114
|
var incrementallyBuildTerrainPickerTaskProcessor = new TaskProcessor_default(
|
|
2061
2115
|
"incrementallyBuildTerrainPicker"
|
|
2062
2116
|
);
|
|
2063
|
-
|
|
2117
|
+
var TerrainPickerNode = class _TerrainPickerNode {
|
|
2118
|
+
constructor() {
|
|
2119
|
+
this.x = 0;
|
|
2120
|
+
this.y = 0;
|
|
2121
|
+
this.level = 0;
|
|
2122
|
+
this.aabb = createAABBForNode(this.x, this.y, this.level);
|
|
2123
|
+
this.intersectingTriangles = new Uint32Array(0);
|
|
2124
|
+
this.children = [];
|
|
2125
|
+
this.buildingChildren = false;
|
|
2126
|
+
}
|
|
2064
2127
|
/**
|
|
2065
|
-
*
|
|
2066
|
-
*
|
|
2067
|
-
* @
|
|
2128
|
+
* Adds a child node to this node.
|
|
2129
|
+
*
|
|
2130
|
+
* @param {number} childIdx The index of the child to add (0-3).
|
|
2068
2131
|
*/
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
this.intersectingTriangles = new Uint32Array(0);
|
|
2084
|
-
this.children = [];
|
|
2085
|
-
this.buildingChildren = false;
|
|
2086
|
-
}
|
|
2087
|
-
TerrainPickerNode.prototype.addChild = function(childIdx) {
|
|
2088
|
-
if (childIdx < 0 || childIdx > 3) {
|
|
2089
|
-
throw new DeveloperError_default(
|
|
2090
|
-
"TerrainPickerNode child index must be between 0 and 3, inclusive."
|
|
2132
|
+
addChild(childIdx) {
|
|
2133
|
+
if (childIdx < 0 || childIdx > 3) {
|
|
2134
|
+
throw new DeveloperError_default(
|
|
2135
|
+
"TerrainPickerNode child index must be between 0 and 3, inclusive."
|
|
2136
|
+
);
|
|
2137
|
+
}
|
|
2138
|
+
const childNode = new _TerrainPickerNode();
|
|
2139
|
+
childNode.x = this.x * 2 + (childIdx & 1);
|
|
2140
|
+
childNode.y = this.y * 2 + (childIdx >> 1 & 1);
|
|
2141
|
+
childNode.level = this.level + 1;
|
|
2142
|
+
childNode.aabb = createAABBForNode(
|
|
2143
|
+
childNode.x,
|
|
2144
|
+
childNode.y,
|
|
2145
|
+
childNode.level
|
|
2091
2146
|
);
|
|
2147
|
+
this.children[childIdx] = childNode;
|
|
2092
2148
|
}
|
|
2093
|
-
const childNode = new TerrainPickerNode();
|
|
2094
|
-
childNode.x = this.x * 2 + (childIdx & 1);
|
|
2095
|
-
childNode.y = this.y * 2 + (childIdx >> 1 & 1);
|
|
2096
|
-
childNode.level = this.level + 1;
|
|
2097
|
-
childNode.aabb = createAABBForNode(childNode.x, childNode.y, childNode.level);
|
|
2098
|
-
this.children[childIdx] = childNode;
|
|
2099
2149
|
};
|
|
2100
2150
|
var scratchTransformedRay = new Ray_default();
|
|
2101
2151
|
var scratchTrianglePoints = [
|
|
@@ -2103,33 +2153,6 @@ var scratchTrianglePoints = [
|
|
|
2103
2153
|
new Cartesian3_default(),
|
|
2104
2154
|
new Cartesian3_default()
|
|
2105
2155
|
];
|
|
2106
|
-
TerrainPicker.prototype.rayIntersect = function(ray, tileTransform, cullBackFaces, mode, projection) {
|
|
2107
|
-
if (this._needsRebuild) {
|
|
2108
|
-
reset(this, tileTransform);
|
|
2109
|
-
}
|
|
2110
|
-
const invTransform = this._inverseTransform;
|
|
2111
|
-
const transformedRay = scratchTransformedRay;
|
|
2112
|
-
transformedRay.origin = Matrix4_default.multiplyByPoint(
|
|
2113
|
-
invTransform,
|
|
2114
|
-
ray.origin,
|
|
2115
|
-
transformedRay.origin
|
|
2116
|
-
);
|
|
2117
|
-
transformedRay.direction = Matrix4_default.multiplyByPointAsVector(
|
|
2118
|
-
invTransform,
|
|
2119
|
-
ray.direction,
|
|
2120
|
-
transformedRay.direction
|
|
2121
|
-
);
|
|
2122
|
-
const intersections = [];
|
|
2123
|
-
getNodesIntersectingRay(this._rootNode, transformedRay, intersections);
|
|
2124
|
-
return findClosestPointInClosestNode(
|
|
2125
|
-
this,
|
|
2126
|
-
intersections,
|
|
2127
|
-
ray,
|
|
2128
|
-
cullBackFaces,
|
|
2129
|
-
mode,
|
|
2130
|
-
projection
|
|
2131
|
-
);
|
|
2132
|
-
};
|
|
2133
2156
|
function reset(terrainPicker, tileTransform) {
|
|
2134
2157
|
Matrix4_default.inverse(tileTransform, terrainPicker._inverseTransform);
|
|
2135
2158
|
terrainPicker._needsRebuild = false;
|
|
@@ -2162,16 +2185,19 @@ function createAABBForNode(x, y, level) {
|
|
|
2162
2185
|
function packTriangleBuffers(trianglePositionsBuffer, triangleIndicesBuffer, trianglePositions, triangleIndex, bufferIndex) {
|
|
2163
2186
|
Cartesian3_default.pack(
|
|
2164
2187
|
trianglePositions[0],
|
|
2188
|
+
// @ts-expect-error https://github.com/CesiumGS/cesium/pull/13302
|
|
2165
2189
|
trianglePositionsBuffer,
|
|
2166
2190
|
9 * bufferIndex
|
|
2167
2191
|
);
|
|
2168
2192
|
Cartesian3_default.pack(
|
|
2169
2193
|
trianglePositions[1],
|
|
2194
|
+
// @ts-expect-error https://github.com/CesiumGS/cesium/pull/13302
|
|
2170
2195
|
trianglePositionsBuffer,
|
|
2171
2196
|
9 * bufferIndex + 3
|
|
2172
2197
|
);
|
|
2173
2198
|
Cartesian3_default.pack(
|
|
2174
2199
|
trianglePositions[2],
|
|
2200
|
+
// @ts-expect-error https://github.com/CesiumGS/cesium/pull/13302
|
|
2175
2201
|
trianglePositionsBuffer,
|
|
2176
2202
|
9 * bufferIndex + 6
|
|
2177
2203
|
);
|
|
@@ -2352,7 +2378,10 @@ async function addTrianglesToChildrenNodes(inverseTransform, node, triangleIndic
|
|
|
2352
2378
|
node.buildingChildren = false;
|
|
2353
2379
|
return;
|
|
2354
2380
|
}
|
|
2355
|
-
const result =
|
|
2381
|
+
const result = (
|
|
2382
|
+
/** @type {{intersectingTrianglesArrays: ArrayBuffer[]}} */
|
|
2383
|
+
await incrementallyBuildTerrainPickerPromise
|
|
2384
|
+
);
|
|
2356
2385
|
result.intersectingTrianglesArrays.forEach((buffer, index) => {
|
|
2357
2386
|
if (defined_default(node.children[index])) {
|
|
2358
2387
|
node.children[index].intersectingTriangles = new Uint32Array(buffer);
|
|
@@ -3323,7 +3352,7 @@ function addSkirtsToMesh(mesh, rectangle, ellipsoid, enuMinimum, enuMaximum, enu
|
|
|
3323
3352
|
const maximumHeight = mesh.maximumHeight;
|
|
3324
3353
|
const minimumHeightWithSkirts = mesh.minimumHeight - skirtHeight;
|
|
3325
3354
|
for (let skirtId = 0; skirtId < skirtVertexCount; skirtId++) {
|
|
3326
|
-
let side
|
|
3355
|
+
let side;
|
|
3327
3356
|
for (side = 0; side < 3; side++) {
|
|
3328
3357
|
if (skirtId < edgeIndexOffset[side + 1]) {
|
|
3329
3358
|
break;
|
|
@@ -3548,7 +3577,7 @@ var scratchPolygon = {
|
|
|
3548
3577
|
]
|
|
3549
3578
|
};
|
|
3550
3579
|
function clipTriangleAgainstBoxEdgeRange(edgeStart, edgeCount, boxMinimum, boxMaximum, p0, p1, p2, result) {
|
|
3551
|
-
let inputLength
|
|
3580
|
+
let inputLength;
|
|
3552
3581
|
let inputPoints = scratchInPoints;
|
|
3553
3582
|
let inputBarys = scratchInBarys;
|
|
3554
3583
|
let outputLength = 3;
|
|
@@ -3570,7 +3599,7 @@ function clipTriangleAgainstBoxEdgeRange(edgeStart, edgeCount, boxMinimum, boxMa
|
|
|
3570
3599
|
outputPoints = tempPoints;
|
|
3571
3600
|
outputBarys = tempBarys;
|
|
3572
3601
|
outputLength = 0;
|
|
3573
|
-
|
|
3602
|
+
const prevIdx = inputLength - 1;
|
|
3574
3603
|
let prevPoint = inputPoints[prevIdx];
|
|
3575
3604
|
let prevBary = inputBarys[prevIdx];
|
|
3576
3605
|
let prevInside = inside(boxMinimum, boxMaximum, edgeId, prevPoint);
|
|
@@ -3601,7 +3630,6 @@ function clipTriangleAgainstBoxEdgeRange(edgeStart, edgeCount, boxMinimum, boxMa
|
|
|
3601
3630
|
Cartesian3_default.clone(currBary, outputBarys[outputLength]);
|
|
3602
3631
|
outputLength++;
|
|
3603
3632
|
}
|
|
3604
|
-
prevIdx = currIdx;
|
|
3605
3633
|
prevPoint = currPoint;
|
|
3606
3634
|
prevBary = currBary;
|
|
3607
3635
|
prevInside = currInside;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
WebGLConstants_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-E7G32DWL.js";
|
|
29
29
|
import {
|
|
30
30
|
DeveloperError_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XSIUYAT6.js";
|
|
32
32
|
import {
|
|
33
33
|
defined_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-B4AVL7VI.js";
|
|
35
35
|
|
|
36
36
|
// packages/engine/Source/Core/ComponentDatatype.js
|
|
37
37
|
var ComponentDatatype = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
WebGLConstants_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-E7G32DWL.js";
|
|
29
29
|
import {
|
|
30
30
|
Math_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HDD3RFLT.js";
|
|
32
32
|
import {
|
|
33
33
|
DeveloperError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XSIUYAT6.js";
|
|
35
35
|
import {
|
|
36
36
|
defined_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-B4AVL7VI.js";
|
|
38
38
|
|
|
39
39
|
// packages/engine/Source/Core/IndexDatatype.js
|
|
40
40
|
var IndexDatatype = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
IndexDatatype_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-JKTWW7IO.js";
|
|
29
29
|
import {
|
|
30
30
|
Math_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HDD3RFLT.js";
|
|
32
32
|
import {
|
|
33
33
|
DeveloperError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XSIUYAT6.js";
|
|
35
35
|
import {
|
|
36
36
|
defined_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-B4AVL7VI.js";
|
|
38
38
|
|
|
39
39
|
// packages/engine/Source/Core/TerrainProvider.js
|
|
40
40
|
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.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,35 +25,35 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidRhumbLine_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CQ4TZXAT.js";
|
|
29
29
|
import {
|
|
30
30
|
GeometryAttribute_default,
|
|
31
31
|
Geometry_default,
|
|
32
32
|
PrimitiveType_default
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-2YY724ZX.js";
|
|
34
34
|
import {
|
|
35
35
|
ComponentDatatype_default
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-JBJ6BRIM.js";
|
|
37
37
|
import {
|
|
38
38
|
WebGLConstants_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-E7G32DWL.js";
|
|
40
40
|
import {
|
|
41
41
|
Cartesian2_default,
|
|
42
42
|
Cartographic_default,
|
|
43
43
|
Ellipsoid_default
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-6BSNYZZG.js";
|
|
45
45
|
import {
|
|
46
46
|
Cartesian3_default
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-Z2DW5NM2.js";
|
|
48
48
|
import {
|
|
49
49
|
Math_default
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-HDD3RFLT.js";
|
|
51
51
|
import {
|
|
52
52
|
Check_default
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-XSIUYAT6.js";
|
|
54
54
|
import {
|
|
55
55
|
defined_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-B4AVL7VI.js";
|
|
57
57
|
|
|
58
58
|
// packages/engine/Source/Core/WindingOrder.js
|
|
59
59
|
var WindingOrder = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,40 +25,40 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
GeometryOffsetAttribute_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KBGAHN5R.js";
|
|
29
29
|
import {
|
|
30
30
|
IndexDatatype_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JKTWW7IO.js";
|
|
32
32
|
import {
|
|
33
33
|
GeometryAttributes_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4LRFYRBX.js";
|
|
35
35
|
import {
|
|
36
36
|
GeometryAttribute_default,
|
|
37
37
|
Geometry_default,
|
|
38
38
|
PrimitiveType_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-2YY724ZX.js";
|
|
40
40
|
import {
|
|
41
41
|
BoundingSphere_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-BNDSDQ7D.js";
|
|
43
43
|
import {
|
|
44
44
|
ComponentDatatype_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JBJ6BRIM.js";
|
|
46
46
|
import {
|
|
47
47
|
Ellipsoid_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-6BSNYZZG.js";
|
|
49
49
|
import {
|
|
50
50
|
Cartesian3_default,
|
|
51
51
|
Frozen_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-Z2DW5NM2.js";
|
|
53
53
|
import {
|
|
54
54
|
Math_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-HDD3RFLT.js";
|
|
56
56
|
import {
|
|
57
57
|
DeveloperError_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-XSIUYAT6.js";
|
|
59
59
|
import {
|
|
60
60
|
defined_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-B4AVL7VI.js";
|
|
62
62
|
|
|
63
63
|
// packages/engine/Source/Core/EllipsoidOutlineGeometry.js
|
|
64
64
|
var defaultRadii = new Cartesian3_default(1, 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.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,35 +25,35 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
AxisAlignedBoundingBox_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-N5YK44FS.js";
|
|
29
29
|
import {
|
|
30
30
|
IntersectionTests_default,
|
|
31
31
|
Ray_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-75BC2IHI.js";
|
|
33
33
|
import {
|
|
34
34
|
Plane_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LL2SGJYH.js";
|
|
36
36
|
import {
|
|
37
37
|
Transforms_default
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-XRZCS3HE.js";
|
|
39
39
|
import {
|
|
40
40
|
Cartesian4_default,
|
|
41
41
|
Matrix4_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-6R6SGKYN.js";
|
|
43
43
|
import {
|
|
44
44
|
Cartesian2_default,
|
|
45
45
|
Ellipsoid_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6BSNYZZG.js";
|
|
47
47
|
import {
|
|
48
48
|
Cartesian3_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-Z2DW5NM2.js";
|
|
50
50
|
import {
|
|
51
51
|
Check_default,
|
|
52
52
|
DeveloperError_default
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-XSIUYAT6.js";
|
|
54
54
|
import {
|
|
55
55
|
defined_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-B4AVL7VI.js";
|
|
57
57
|
|
|
58
58
|
// packages/engine/Source/Core/EllipsoidTangentPlane.js
|
|
59
59
|
var scratchCart4 = new Cartesian4_default();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
import {
|
|
27
27
|
Cartesian4_default,
|
|
28
28
|
Matrix4_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6R6SGKYN.js";
|
|
30
30
|
import {
|
|
31
31
|
Cartesian3_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-Z2DW5NM2.js";
|
|
33
33
|
import {
|
|
34
34
|
Math_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HDD3RFLT.js";
|
|
36
36
|
import {
|
|
37
37
|
Check_default,
|
|
38
38
|
DeveloperError_default
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XSIUYAT6.js";
|
|
40
40
|
import {
|
|
41
41
|
defined_default
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-B4AVL7VI.js";
|
|
43
43
|
|
|
44
44
|
// packages/engine/Source/Core/Plane.js
|
|
45
45
|
function Plane(normal, distance) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
FeatureDetection_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6BSNYZZG.js";
|
|
29
29
|
import {
|
|
30
30
|
Frozen_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-Z2DW5NM2.js";
|
|
32
32
|
import {
|
|
33
33
|
Math_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HDD3RFLT.js";
|
|
35
35
|
import {
|
|
36
36
|
Check_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XSIUYAT6.js";
|
|
38
38
|
import {
|
|
39
39
|
defined_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-B4AVL7VI.js";
|
|
41
41
|
|
|
42
42
|
// packages/engine/Source/Core/Color.js
|
|
43
43
|
function hue2rgb(m1, m2, h) {
|