@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,26 +25,26 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
require_draco_decoder_nodejs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VRECSMG3.js";
|
|
29
29
|
import {
|
|
30
30
|
createTaskProcessorWorker_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-EDETO6NY.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JKTWW7IO.js";
|
|
35
35
|
import {
|
|
36
36
|
ComponentDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-JBJ6BRIM.js";
|
|
38
|
+
import "./chunk-E7G32DWL.js";
|
|
39
39
|
import {
|
|
40
40
|
RuntimeError_default
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-GLHDTTTO.js";
|
|
42
|
+
import "./chunk-HDD3RFLT.js";
|
|
43
|
+
import "./chunk-XSIUYAT6.js";
|
|
44
44
|
import {
|
|
45
45
|
__toESM,
|
|
46
46
|
defined_default
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-B4AVL7VI.js";
|
|
48
48
|
|
|
49
49
|
// packages/engine/Source/Workers/decodeDraco.js
|
|
50
50
|
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.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EDETO6NY.js";
|
|
29
29
|
import {
|
|
30
30
|
RuntimeError_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GLHDTTTO.js";
|
|
32
32
|
import {
|
|
33
33
|
Check_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/decodeGoogleEarthEnterpriseData.js
|
|
40
40
|
var compressedMagic = 1953029805;
|
|
@@ -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,34 +25,34 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
require_draco_decoder_nodejs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VRECSMG3.js";
|
|
29
29
|
import {
|
|
30
30
|
Color_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LYJUL4XQ.js";
|
|
32
32
|
import {
|
|
33
33
|
createTaskProcessorWorker_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-EDETO6NY.js";
|
|
35
35
|
import {
|
|
36
36
|
WebMercatorProjection_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XBY3354M.js";
|
|
38
38
|
import {
|
|
39
39
|
Cartographic_default,
|
|
40
40
|
Ellipsoid_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6BSNYZZG.js";
|
|
42
42
|
import {
|
|
43
43
|
Cartesian3_default,
|
|
44
44
|
Matrix3_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-Z2DW5NM2.js";
|
|
46
46
|
import {
|
|
47
47
|
Math_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HDD3RFLT.js";
|
|
49
49
|
import {
|
|
50
50
|
Check_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-XSIUYAT6.js";
|
|
52
52
|
import {
|
|
53
53
|
__toESM,
|
|
54
54
|
defined_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-B4AVL7VI.js";
|
|
56
56
|
|
|
57
57
|
// packages/engine/Source/Workers/decodeI3S.js
|
|
58
58
|
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.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
import {
|
|
27
27
|
initSync,
|
|
28
28
|
radix_sort_gaussians_indexes
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DZK34ZVD.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EDETO6NY.js";
|
|
33
33
|
import {
|
|
34
34
|
defined_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-B4AVL7VI.js";
|
|
36
36
|
|
|
37
37
|
// packages/engine/Source/Workers/gaussianSplatSorter.js
|
|
38
38
|
async function initWorker(parameters, transferableObjects) {
|
|
@@ -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,13 +26,13 @@
|
|
|
26
26
|
import {
|
|
27
27
|
generate_splat_texture,
|
|
28
28
|
initSync
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DZK34ZVD.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EDETO6NY.js";
|
|
33
33
|
import {
|
|
34
34
|
defined_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-B4AVL7VI.js";
|
|
36
36
|
|
|
37
37
|
// packages/engine/Source/Workers/gaussianSplatTextureGenerator.js
|
|
38
38
|
async function initWorker(parameters, transferableObjects) {
|
|
@@ -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,21 +25,21 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EDETO6NY.js";
|
|
29
29
|
import {
|
|
30
30
|
AxisAlignedBoundingBox_default
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-N5YK44FS.js";
|
|
32
|
+
import "./chunk-UZY5XRL2.js";
|
|
33
33
|
import {
|
|
34
34
|
Matrix4_default
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-6R6SGKYN.js";
|
|
36
|
+
import "./chunk-GLHDTTTO.js";
|
|
37
37
|
import {
|
|
38
38
|
Cartesian3_default
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-Z2DW5NM2.js";
|
|
40
|
+
import "./chunk-HDD3RFLT.js";
|
|
41
|
+
import "./chunk-XSIUYAT6.js";
|
|
42
|
+
import "./chunk-B4AVL7VI.js";
|
|
43
43
|
|
|
44
44
|
// packages/engine/Source/Workers/incrementallyBuildTerrainPicker.js
|
|
45
45
|
var scratchAABBCornerMin = 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.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EDETO6NY.js";
|
|
29
29
|
import {
|
|
30
30
|
WebGLConstants_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-E7G32DWL.js";
|
|
32
32
|
import {
|
|
33
33
|
RuntimeError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GLHDTTTO.js";
|
|
35
35
|
import {
|
|
36
36
|
Check_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XSIUYAT6.js";
|
|
38
38
|
import {
|
|
39
39
|
__commonJS,
|
|
40
40
|
__require,
|
|
41
41
|
__toESM,
|
|
42
42
|
defined_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-B4AVL7VI.js";
|
|
44
44
|
|
|
45
45
|
// packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
|
|
46
46
|
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.145.0
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,52 +26,52 @@
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidalOccluder_default,
|
|
28
28
|
TerrainEncoding_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4DMAXPKB.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EDETO6NY.js";
|
|
33
33
|
import {
|
|
34
34
|
OrientedBoundingBox_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-A7SMPV6B.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-NZQUP52G.js";
|
|
39
|
+
import "./chunk-L73K5UPP.js";
|
|
40
|
+
import "./chunk-N5YK44FS.js";
|
|
41
|
+
import "./chunk-75BC2IHI.js";
|
|
42
|
+
import "./chunk-LL2SGJYH.js";
|
|
43
43
|
import {
|
|
44
44
|
IndexDatatype_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JKTWW7IO.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-BNDSDQ7D.js";
|
|
49
|
+
import "./chunk-UZY5XRL2.js";
|
|
50
50
|
import {
|
|
51
51
|
Rectangle_default
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-XRZCS3HE.js";
|
|
53
|
+
import "./chunk-6R6SGKYN.js";
|
|
54
|
+
import "./chunk-JBJ6BRIM.js";
|
|
55
|
+
import "./chunk-E7G32DWL.js";
|
|
56
|
+
import "./chunk-GLHDTTTO.js";
|
|
57
57
|
import {
|
|
58
58
|
Cartesian2_default,
|
|
59
59
|
Cartographic_default,
|
|
60
60
|
Ellipsoid_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-6BSNYZZG.js";
|
|
62
62
|
import {
|
|
63
63
|
Cartesian3_default
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-Z2DW5NM2.js";
|
|
65
65
|
import {
|
|
66
66
|
Math_default
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-HDD3RFLT.js";
|
|
68
68
|
import {
|
|
69
69
|
Check_default,
|
|
70
70
|
DeveloperError_default
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-XSIUYAT6.js";
|
|
72
72
|
import {
|
|
73
73
|
defined_default
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-B4AVL7VI.js";
|
|
75
75
|
|
|
76
76
|
// packages/engine/Source/Core/Intersections2D.js
|
|
77
77
|
var Intersections2D = {};
|
|
@@ -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
|
Cesium3DTilesTerrainGeometryProcessor_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-HDPNFEPP.js";
|
|
29
|
+
import "./chunk-JL4NWWQY.js";
|
|
30
|
+
import "./chunk-4DMAXPKB.js";
|
|
31
31
|
import {
|
|
32
32
|
createTaskProcessorWorker_default
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-EDETO6NY.js";
|
|
34
|
+
import "./chunk-XBY3354M.js";
|
|
35
|
+
import "./chunk-A7SMPV6B.js";
|
|
36
|
+
import "./chunk-NZQUP52G.js";
|
|
37
|
+
import "./chunk-L73K5UPP.js";
|
|
38
|
+
import "./chunk-N5YK44FS.js";
|
|
39
|
+
import "./chunk-75BC2IHI.js";
|
|
40
|
+
import "./chunk-LL2SGJYH.js";
|
|
41
|
+
import "./chunk-JKTWW7IO.js";
|
|
42
|
+
import "./chunk-BNDSDQ7D.js";
|
|
43
|
+
import "./chunk-UZY5XRL2.js";
|
|
44
|
+
import "./chunk-XRZCS3HE.js";
|
|
45
|
+
import "./chunk-6R6SGKYN.js";
|
|
46
|
+
import "./chunk-JBJ6BRIM.js";
|
|
47
|
+
import "./chunk-E7G32DWL.js";
|
|
48
|
+
import "./chunk-GLHDTTTO.js";
|
|
49
|
+
import "./chunk-6BSNYZZG.js";
|
|
50
|
+
import "./chunk-Z2DW5NM2.js";
|
|
51
|
+
import "./chunk-HDD3RFLT.js";
|
|
52
|
+
import "./chunk-XSIUYAT6.js";
|
|
53
|
+
import "./chunk-B4AVL7VI.js";
|
|
54
54
|
|
|
55
55
|
// packages/engine/Source/Workers/upsampleVerticesFromCesium3DTilesTerrain.js
|
|
56
56
|
function upsampleVerticesFromCesium3DTilesTerrain(options, transferableObjects) {
|
|
@@ -223,8 +223,6 @@ async function requestMetadata(
|
|
|
223
223
|
* @alias ArcGISTiledElevationTerrainProvider
|
|
224
224
|
* @constructor
|
|
225
225
|
*
|
|
226
|
-
* @param {CesiumTerrainProvider.ConstructorOptions} [options] A url or an object describing initialization options
|
|
227
|
-
*
|
|
228
226
|
* @example
|
|
229
227
|
* const terrainProvider = await Cesium.ArcGISTiledElevationTerrainProvider.fromUrl("https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer", {
|
|
230
228
|
* token: "KED1aF_I4UzXOHy3BnhwyBHU4l5oY6rO6walkmHoYqGp4XyIWUd5YZUC1ZrLAzvV40pR6gBXQayh0eFA8m6vPg.."
|
|
@@ -233,9 +231,7 @@ async function requestMetadata(
|
|
|
233
231
|
*
|
|
234
232
|
* @see TerrainProvider
|
|
235
233
|
*/
|
|
236
|
-
function ArcGISTiledElevationTerrainProvider(
|
|
237
|
-
options = options ?? Frozen.EMPTY_OBJECT;
|
|
238
|
-
|
|
234
|
+
function ArcGISTiledElevationTerrainProvider() {
|
|
239
235
|
this._resource = undefined;
|
|
240
236
|
this._credit = undefined;
|
|
241
237
|
this._tilingScheme = undefined;
|
|
@@ -135,7 +135,6 @@ class BoundingSphere {
|
|
|
135
135
|
diameter2 = yMax;
|
|
136
136
|
}
|
|
137
137
|
if (zSpan > maxSpan) {
|
|
138
|
-
maxSpan = zSpan;
|
|
139
138
|
diameter1 = zMin;
|
|
140
139
|
diameter2 = zMax;
|
|
141
140
|
}
|
|
@@ -447,7 +446,6 @@ class BoundingSphere {
|
|
|
447
446
|
diameter2 = yMax;
|
|
448
447
|
}
|
|
449
448
|
if (zSpan > maxSpan) {
|
|
450
|
-
maxSpan = zSpan;
|
|
451
449
|
diameter1 = zMin;
|
|
452
450
|
diameter2 = zMax;
|
|
453
451
|
}
|
|
@@ -632,7 +630,6 @@ class BoundingSphere {
|
|
|
632
630
|
diameter2 = yMax;
|
|
633
631
|
}
|
|
634
632
|
if (zSpan > maxSpan) {
|
|
635
|
-
maxSpan = zSpan;
|
|
636
633
|
diameter1 = zMin;
|
|
637
634
|
diameter2 = zMax;
|
|
638
635
|
}
|
|
@@ -1170,7 +1170,7 @@ function addSkirtsToMesh(
|
|
|
1170
1170
|
const maximumHeight = mesh.maximumHeight;
|
|
1171
1171
|
const minimumHeightWithSkirts = mesh.minimumHeight - skirtHeight;
|
|
1172
1172
|
for (let skirtId = 0; skirtId < skirtVertexCount; skirtId++) {
|
|
1173
|
-
let side
|
|
1173
|
+
let side;
|
|
1174
1174
|
for (side = 0; side < 3; side++) {
|
|
1175
1175
|
if (skirtId < edgeIndexOffset[side + 1]) {
|
|
1176
1176
|
break;
|
|
@@ -1489,7 +1489,7 @@ function clipTriangleAgainstBoxEdgeRange(
|
|
|
1489
1489
|
p2,
|
|
1490
1490
|
result,
|
|
1491
1491
|
) {
|
|
1492
|
-
let inputLength
|
|
1492
|
+
let inputLength;
|
|
1493
1493
|
let inputPoints = scratchInPoints;
|
|
1494
1494
|
let inputBarys = scratchInBarys;
|
|
1495
1495
|
|
|
@@ -1521,7 +1521,7 @@ function clipTriangleAgainstBoxEdgeRange(
|
|
|
1521
1521
|
outputLength = 0;
|
|
1522
1522
|
|
|
1523
1523
|
// Check each polygon edge against each clip window edge
|
|
1524
|
-
|
|
1524
|
+
const prevIdx = inputLength - 1;
|
|
1525
1525
|
let prevPoint = inputPoints[prevIdx];
|
|
1526
1526
|
let prevBary = inputBarys[prevIdx];
|
|
1527
1527
|
let prevInside = inside(boxMinimum, boxMaximum, edgeId, prevPoint);
|
|
@@ -1562,7 +1562,6 @@ function clipTriangleAgainstBoxEdgeRange(
|
|
|
1562
1562
|
outputLength++;
|
|
1563
1563
|
}
|
|
1564
1564
|
|
|
1565
|
-
prevIdx = currIdx;
|
|
1566
1565
|
prevPoint = currPoint;
|
|
1567
1566
|
prevBary = currBary;
|
|
1568
1567
|
prevInside = currInside;
|
|
@@ -368,7 +368,7 @@ CoplanarPolygonGeometry.pack = function (value, array, startingIndex) {
|
|
|
368
368
|
} else {
|
|
369
369
|
array[startingIndex++] = -1.0;
|
|
370
370
|
}
|
|
371
|
-
array[startingIndex
|
|
371
|
+
array[startingIndex] = value.packedLength;
|
|
372
372
|
|
|
373
373
|
return array;
|
|
374
374
|
};
|
|
@@ -426,7 +426,7 @@ CoplanarPolygonGeometry.unpack = function (array, startingIndex, result) {
|
|
|
426
426
|
} else {
|
|
427
427
|
startingIndex++;
|
|
428
428
|
}
|
|
429
|
-
const packedLength = array[startingIndex
|
|
429
|
+
const packedLength = array[startingIndex];
|
|
430
430
|
|
|
431
431
|
if (!defined(result)) {
|
|
432
432
|
result = new CoplanarPolygonGeometry(scratchOptions);
|
|
@@ -63,7 +63,6 @@ function combine(computedPositions, vertexFormat, ellipsoid) {
|
|
|
63
63
|
const computedLefts = computedPositions.lefts;
|
|
64
64
|
const computedNormals = computedPositions.normals;
|
|
65
65
|
const attributes = new GeometryAttributes();
|
|
66
|
-
let corner;
|
|
67
66
|
let leftCount = 0;
|
|
68
67
|
let rightCount = 0;
|
|
69
68
|
let i;
|
|
@@ -78,7 +77,6 @@ function combine(computedPositions, vertexFormat, ellipsoid) {
|
|
|
78
77
|
leftCount += 3; //add back count for end positions
|
|
79
78
|
rightCount += 3;
|
|
80
79
|
for (i = 0; i < corners.length; i++) {
|
|
81
|
-
corner = corners[i];
|
|
82
80
|
const leftSide = corners[i].leftPositions;
|
|
83
81
|
if (defined(leftSide)) {
|
|
84
82
|
length = leftSide.length;
|
|
@@ -221,7 +219,7 @@ function combine(computedPositions, vertexFormat, ellipsoid) {
|
|
|
221
219
|
compIndex += 3;
|
|
222
220
|
for (i = 0; i < corners.length; i++) {
|
|
223
221
|
let j;
|
|
224
|
-
corner = corners[i];
|
|
222
|
+
const corner = corners[i];
|
|
225
223
|
const l = corner.leftPositions;
|
|
226
224
|
const r = corner.rightPositions;
|
|
227
225
|
let pivot;
|
|
@@ -727,7 +725,7 @@ function addWallPositions(positions, index, wallPositions) {
|
|
|
727
725
|
}
|
|
728
726
|
wallPositions[index++] = positions[0];
|
|
729
727
|
wallPositions[index++] = positions[1];
|
|
730
|
-
wallPositions[index
|
|
728
|
+
wallPositions[index] = positions[2];
|
|
731
729
|
|
|
732
730
|
return wallPositions;
|
|
733
731
|
}
|
|
@@ -49,7 +49,6 @@ function combine(computedPositions, cornerType) {
|
|
|
49
49
|
leftCount += 3; //add back count for end positions
|
|
50
50
|
rightCount += 3;
|
|
51
51
|
for (i = 0; i < corners.length; i++) {
|
|
52
|
-
corner = corners[i];
|
|
53
52
|
const leftSide = corners[i].leftPositions;
|
|
54
53
|
if (defined(leftSide)) {
|
|
55
54
|
length = leftSide.length;
|
|
@@ -200,7 +199,6 @@ function combine(computedPositions, cornerType) {
|
|
|
200
199
|
leftEdge.splice(leftEdge.length - 3, 3);
|
|
201
200
|
finalPositions.set(rightEdge, front);
|
|
202
201
|
finalPositions.set(leftEdge, back - leftEdge.length + 1);
|
|
203
|
-
length = leftEdge.length - 3;
|
|
204
202
|
|
|
205
203
|
for (j = 0; j < leftEdge.length; j += 3) {
|
|
206
204
|
LR = front / 3;
|
|
@@ -259,7 +257,7 @@ function combine(computedPositions, cornerType) {
|
|
|
259
257
|
wallIndices.push(front / 3, (back - 2) / 3);
|
|
260
258
|
}
|
|
261
259
|
indices[index++] = front / 3;
|
|
262
|
-
indices[index
|
|
260
|
+
indices[index] = (back - 2) / 3;
|
|
263
261
|
|
|
264
262
|
attributes.position = new GeometryAttribute({
|
|
265
263
|
componentDatatype: ComponentDatatype.DOUBLE,
|
|
@@ -182,8 +182,8 @@ EarthOrientationParameters.prototype.compute = function (date, result) {
|
|
|
182
182
|
const dates = this._dates;
|
|
183
183
|
const lastIndex = this._lastIndex;
|
|
184
184
|
|
|
185
|
-
let before
|
|
186
|
-
let after
|
|
185
|
+
let before;
|
|
186
|
+
let after;
|
|
187
187
|
if (defined(lastIndex)) {
|
|
188
188
|
const previousIndexDate = dates[lastIndex];
|
|
189
189
|
const nextIndexDate = dates[lastIndex + 1];
|
|
@@ -349,14 +349,14 @@ EllipseGeometryLibrary.computeEllipsePositions = function (
|
|
|
349
349
|
if (addFillPositions) {
|
|
350
350
|
positions[positionIndex++] = position.x;
|
|
351
351
|
positions[positionIndex++] = position.y;
|
|
352
|
-
positions[positionIndex
|
|
352
|
+
positions[positionIndex] = position.z;
|
|
353
353
|
r.positions = positions;
|
|
354
354
|
r.numPts = numPts;
|
|
355
355
|
}
|
|
356
356
|
if (addEdgePositions) {
|
|
357
357
|
outerPositions[outerRightIndex--] = position.z;
|
|
358
358
|
outerPositions[outerRightIndex--] = position.y;
|
|
359
|
-
outerPositions[outerRightIndex
|
|
359
|
+
outerPositions[outerRightIndex] = position.x;
|
|
360
360
|
r.outerPositions = outerPositions;
|
|
361
361
|
}
|
|
362
362
|
|
|
@@ -133,10 +133,10 @@ function vincentyInverseFormula(
|
|
|
133
133
|
const sc = sineU1 * cosineU2;
|
|
134
134
|
|
|
135
135
|
let lambda = l;
|
|
136
|
-
let lambdaDot
|
|
136
|
+
let lambdaDot;
|
|
137
137
|
|
|
138
|
-
let cosineLambda
|
|
139
|
-
let sineLambda
|
|
138
|
+
let cosineLambda;
|
|
139
|
+
let sineLambda;
|
|
140
140
|
|
|
141
141
|
let sigma;
|
|
142
142
|
let cosineSigma;
|
|
@@ -200,7 +200,7 @@ function calculateArcLength(
|
|
|
200
200
|
const heading = ellipsoidRhumbLine._heading;
|
|
201
201
|
const deltaLongitude = secondLongitude - firstLongitude;
|
|
202
202
|
|
|
203
|
-
let distance
|
|
203
|
+
let distance;
|
|
204
204
|
|
|
205
205
|
//Check to see if the rhumb line has constant latitude
|
|
206
206
|
//This equation will diverge if heading gets close to 90 degrees
|
|
@@ -318,7 +318,7 @@ GroundPolylineGeometry.pack = function (value, array, startingIndex) {
|
|
|
318
318
|
index += Ellipsoid.packedLength;
|
|
319
319
|
|
|
320
320
|
array[index++] = value._projectionIndex;
|
|
321
|
-
array[index
|
|
321
|
+
array[index] = value._scene3DOnly ? 1.0 : 0.0;
|
|
322
322
|
|
|
323
323
|
return array;
|
|
324
324
|
};
|
|
@@ -352,7 +352,7 @@ GroundPolylineGeometry.unpack = function (array, startingIndex, result) {
|
|
|
352
352
|
index += Ellipsoid.packedLength;
|
|
353
353
|
|
|
354
354
|
const projectionIndex = array[index++];
|
|
355
|
-
const scene3DOnly = array[index
|
|
355
|
+
const scene3DOnly = array[index] === 1.0;
|
|
356
356
|
|
|
357
357
|
if (!defined(result)) {
|
|
358
358
|
result = new GroundPolylineGeometry({
|
package/Source/Core/Heap.js
CHANGED