@cesium/engine 1.1.0 → 2.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/Workers/{AxisAlignedBoundingBox-a4321399.js → AxisAlignedBoundingBox-47525601.js} +1 -1
- package/Build/Workers/{BoundingRectangle-80d8801f.js → BoundingRectangle-93b263ac.js} +1 -1
- package/Build/Workers/{BoxGeometry-33c10a4f.js → BoxGeometry-8c4b4125.js} +1 -1
- package/Build/Workers/{Color-1bf9a6e0.js → Color-52c60ed7.js} +1 -1
- package/Build/Workers/{CoplanarPolygonGeometryLibrary-5c5b981b.js → CoplanarPolygonGeometryLibrary-33c4c1f8.js} +1 -1
- package/Build/Workers/{CorridorGeometryLibrary-7cbae7a0.js → CorridorGeometryLibrary-5039cd8e.js} +1 -1
- package/Build/Workers/{CylinderGeometry-42740df0.js → CylinderGeometry-3ac44974.js} +1 -1
- package/Build/Workers/{EllipseGeometry-49a3ac21.js → EllipseGeometry-a9c9b3be.js} +1 -1
- package/Build/Workers/{EllipseGeometryLibrary-b891b2f8.js → EllipseGeometryLibrary-855d4681.js} +1 -1
- package/Build/Workers/{EllipseOutlineGeometry-fbd72e07.js → EllipseOutlineGeometry-017a5929.js} +1 -1
- package/Build/Workers/{EllipsoidGeometry-a351dba8.js → EllipsoidGeometry-826e7bce.js} +1 -1
- package/Build/Workers/{EllipsoidOutlineGeometry-3e8779bf.js → EllipsoidOutlineGeometry-784dcdb5.js} +1 -1
- package/Build/Workers/{EllipsoidTangentPlane-cfb50678.js → EllipsoidTangentPlane-ed9443a1.js} +1 -1
- package/Build/Workers/{FrustumGeometry-c5754412.js → FrustumGeometry-9f1ee4d8.js} +1 -1
- package/Build/Workers/{GeometryAttribute-0bfd05e8.js → GeometryAttribute-334718f8.js} +1 -1
- package/Build/Workers/{GeometryPipeline-0166905d.js → GeometryPipeline-8fb0db69.js} +1 -1
- package/Build/Workers/{IntersectionTests-a93d3de9.js → IntersectionTests-27d49265.js} +1 -1
- package/Build/Workers/{OrientedBoundingBox-b450cb61.js → OrientedBoundingBox-79ee7cbb.js} +1 -1
- package/Build/Workers/{PolygonGeometryLibrary-f918ac26.js → PolygonGeometryLibrary-6b5a29e9.js} +1 -1
- package/Build/Workers/{PolygonPipeline-f59a8f0a.js → PolygonPipeline-21668b3f.js} +1 -1
- package/Build/Workers/{PolylinePipeline-d8e6bd9b.js → PolylinePipeline-5e2e1b21.js} +1 -1
- package/Build/Workers/{PolylineVolumeGeometryLibrary-125d2edf.js → PolylineVolumeGeometryLibrary-97f0b94e.js} +1 -1
- package/Build/Workers/{PrimitivePipeline-0d7b5ed4.js → PrimitivePipeline-5640850a.js} +1 -1
- package/Build/Workers/{RectangleGeometryLibrary-0768db63.js → RectangleGeometryLibrary-d5457f7b.js} +1 -1
- package/Build/Workers/{TerrainEncoding-06470d7f.js → TerrainEncoding-bfdf2021.js} +1 -1
- package/Build/Workers/{Transforms-26539bce.js → Transforms-a05e5e6e.js} +17 -0
- package/Build/Workers/{WallGeometryLibrary-6167b0fc.js → WallGeometryLibrary-6db0ebb6.js} +1 -1
- package/Build/Workers/cesiumWorkerBootstrapper.js +68 -2
- package/Build/Workers/combineGeometry.js +1 -1
- package/Build/Workers/createBoxGeometry.js +1 -1
- package/Build/Workers/createBoxOutlineGeometry.js +1 -1
- package/Build/Workers/createCircleGeometry.js +1 -1
- package/Build/Workers/createCircleOutlineGeometry.js +1 -1
- package/Build/Workers/createCoplanarPolygonGeometry.js +1 -1
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +1 -1
- package/Build/Workers/createCorridorGeometry.js +1 -1
- package/Build/Workers/createCorridorOutlineGeometry.js +1 -1
- package/Build/Workers/createCylinderGeometry.js +1 -1
- package/Build/Workers/createCylinderOutlineGeometry.js +1 -1
- package/Build/Workers/createEllipseGeometry.js +1 -1
- package/Build/Workers/createEllipseOutlineGeometry.js +1 -1
- package/Build/Workers/createEllipsoidGeometry.js +1 -1
- package/Build/Workers/createEllipsoidOutlineGeometry.js +1 -1
- package/Build/Workers/createFrustumGeometry.js +1 -1
- package/Build/Workers/createFrustumOutlineGeometry.js +1 -1
- package/Build/Workers/createGeometry.js +1 -1
- package/Build/Workers/createGroundPolylineGeometry.js +1 -1
- package/Build/Workers/createPlaneGeometry.js +1 -1
- package/Build/Workers/createPlaneOutlineGeometry.js +1 -1
- package/Build/Workers/createPolygonGeometry.js +1 -1
- package/Build/Workers/createPolygonOutlineGeometry.js +1 -1
- package/Build/Workers/createPolylineGeometry.js +1 -1
- package/Build/Workers/createPolylineVolumeGeometry.js +1 -1
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +1 -1
- package/Build/Workers/createRectangleGeometry.js +1 -1
- package/Build/Workers/createRectangleOutlineGeometry.js +1 -1
- package/Build/Workers/createSimplePolylineGeometry.js +1 -1
- package/Build/Workers/createSphereGeometry.js +1 -1
- package/Build/Workers/createSphereOutlineGeometry.js +1 -1
- package/Build/Workers/createVectorTileGeometries.js +1 -1
- package/Build/Workers/createVectorTilePolygons.js +1 -1
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
- package/Build/Workers/createVerticesFromHeightmap.js +1 -1
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +1 -1
- package/Build/Workers/createWallGeometry.js +1 -1
- package/Build/Workers/createWallOutlineGeometry.js +1 -1
- package/Build/Workers/decodeDraco.js +9 -1
- package/Build/Workers/package.js +1 -1
- package/Build/Workers/transcodeKTX2.js +22 -2
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +1 -1
- package/README.md +14 -16
- package/Source/Core/FeatureDetection.js +18 -0
- package/Source/Core/Ion.js +1 -2
- package/Source/Core/PixelFormat.js +22 -2
- package/Source/Core/sampleTerrain.js +5 -0
- package/Source/Renderer/AutomaticUniforms.js +3 -3
- package/Source/Renderer/Context.js +4 -14
- package/Source/Renderer/ShaderBuilder.js +13 -12
- package/Source/Renderer/ShaderSource.js +31 -26
- package/Source/Renderer/demodernizeShader.js +76 -0
- package/Source/Scene/AutoExposure.js +5 -5
- package/Source/Scene/BatchTable.js +5 -5
- package/Source/Scene/BillboardCollection.js +2 -2
- package/Source/Scene/BingMapsImageryProvider.js +1 -1
- package/Source/Scene/Cesium3DTile.js +8 -2
- package/Source/Scene/Cesium3DTileBatchTable.js +28 -28
- package/Source/Scene/Cesium3DTilesVoxelProvider.js +12 -0
- package/Source/Scene/Cesium3DTileset.js +6 -1
- package/Source/Scene/ClassificationPrimitive.js +3 -8
- package/Source/Scene/DebugAppearance.js +7 -9
- package/Source/Scene/DebugInspector.js +5 -5
- package/Source/Scene/DepthPlane.js +0 -6
- package/Source/Scene/DerivedCommand.js +8 -22
- package/Source/Scene/EllipsoidPrimitive.js +0 -7
- package/Source/Scene/GlobeTranslucencyState.js +6 -6
- package/Source/Scene/GroundPolylinePrimitive.js +2 -4
- package/Source/Scene/InvertClassification.js +9 -10
- package/Source/Scene/Material.js +6 -6
- package/Source/Scene/Megatexture.js +2 -2
- package/Source/Scene/MetadataSemantic.js +8 -0
- package/Source/Scene/Model/CustomShader.js +1 -1
- package/Source/Scene/Model/FeatureIdPipelineStage.js +4 -4
- package/Source/Scene/Model/LightingModel.js +1 -1
- package/Source/Scene/Model/MetadataPipelineStage.js +1 -1
- package/Source/Scene/Model/PickingPipelineStage.js +1 -1
- package/Source/Scene/OIT.js +211 -119
- package/Source/Scene/PickDepth.js +2 -2
- package/Source/Scene/PointCloud.js +11 -11
- package/Source/Scene/PointCloudEyeDomeLighting.js +9 -4
- package/Source/Scene/PolylineCollection.js +2 -7
- package/Source/Scene/PolylineMaterialAppearance.js +2 -3
- package/Source/Scene/PostProcessStage.js +13 -13
- package/Source/Scene/PostProcessStageLibrary.js +3 -3
- package/Source/Scene/Primitive.js +22 -31
- package/Source/Scene/ShadowMap.js +7 -7
- package/Source/Scene/ShadowMapShader.js +9 -9
- package/Source/Scene/ShadowVolumeAppearance.js +1 -1
- package/Source/Scene/TextureAtlas.js +5 -3
- package/Source/Scene/Vector3DTilePolylines.js +1 -1
- package/Source/Scene/Vector3DTilePrimitive.js +2 -2
- package/Source/Scene/VoxelEllipsoidShape.js +15 -7
- package/Source/Scene/VoxelPrimitive.js +4 -4
- package/Source/Scene/computeFlyToLocationForRectangle.js +10 -1
- package/Source/Scene/createElevationBandMaterial.js +10 -15
- package/Source/Scene/getClipAndStyleCode.js +1 -1
- package/Source/Scene/getClippingFunction.js +3 -3
- package/Source/Scene/processVoxelProperties.js +1 -1
- package/Source/Shaders/AdjustTranslucentFS.glsl +9 -6
- package/Source/Shaders/AdjustTranslucentFS.js +9 -6
- package/Source/Shaders/Appearances/AllMaterialAppearanceFS.glsl +7 -7
- package/Source/Shaders/Appearances/AllMaterialAppearanceFS.js +7 -7
- package/Source/Shaders/Appearances/AllMaterialAppearanceVS.glsl +12 -12
- package/Source/Shaders/Appearances/AllMaterialAppearanceVS.js +12 -12
- package/Source/Shaders/Appearances/BasicMaterialAppearanceFS.glsl +4 -4
- package/Source/Shaders/Appearances/BasicMaterialAppearanceFS.js +4 -4
- package/Source/Shaders/Appearances/BasicMaterialAppearanceVS.glsl +6 -6
- package/Source/Shaders/Appearances/BasicMaterialAppearanceVS.js +6 -6
- package/Source/Shaders/Appearances/EllipsoidSurfaceAppearanceFS.glsl +5 -5
- package/Source/Shaders/Appearances/EllipsoidSurfaceAppearanceFS.js +5 -5
- package/Source/Shaders/Appearances/EllipsoidSurfaceAppearanceVS.glsl +7 -7
- package/Source/Shaders/Appearances/EllipsoidSurfaceAppearanceVS.js +7 -7
- package/Source/Shaders/Appearances/PerInstanceColorAppearanceFS.glsl +4 -4
- package/Source/Shaders/Appearances/PerInstanceColorAppearanceFS.js +4 -4
- package/Source/Shaders/Appearances/PerInstanceColorAppearanceVS.glsl +8 -8
- package/Source/Shaders/Appearances/PerInstanceColorAppearanceVS.js +8 -8
- package/Source/Shaders/Appearances/PerInstanceFlatColorAppearanceFS.glsl +2 -2
- package/Source/Shaders/Appearances/PerInstanceFlatColorAppearanceFS.js +2 -2
- package/Source/Shaders/Appearances/PerInstanceFlatColorAppearanceVS.glsl +5 -5
- package/Source/Shaders/Appearances/PerInstanceFlatColorAppearanceVS.js +5 -5
- package/Source/Shaders/Appearances/PolylineColorAppearanceVS.glsl +10 -10
- package/Source/Shaders/Appearances/PolylineColorAppearanceVS.js +10 -10
- package/Source/Shaders/Appearances/PolylineMaterialAppearanceVS.glsl +12 -12
- package/Source/Shaders/Appearances/PolylineMaterialAppearanceVS.js +12 -12
- package/Source/Shaders/Appearances/TexturedMaterialAppearanceFS.glsl +5 -5
- package/Source/Shaders/Appearances/TexturedMaterialAppearanceFS.js +5 -5
- package/Source/Shaders/Appearances/TexturedMaterialAppearanceVS.glsl +8 -8
- package/Source/Shaders/Appearances/TexturedMaterialAppearanceVS.js +8 -8
- package/Source/Shaders/BillboardCollectionFS.glsl +15 -15
- package/Source/Shaders/BillboardCollectionFS.js +15 -15
- package/Source/Shaders/BillboardCollectionVS.glsl +23 -23
- package/Source/Shaders/BillboardCollectionVS.js +23 -23
- package/Source/Shaders/BrdfLutGeneratorFS.glsl +2 -2
- package/Source/Shaders/BrdfLutGeneratorFS.js +2 -2
- package/Source/Shaders/Builtin/CzmBuiltins.js +2 -0
- package/Source/Shaders/Builtin/Functions/depthClamp.glsl +3 -3
- package/Source/Shaders/Builtin/Functions/depthClamp.js +3 -3
- package/Source/Shaders/Builtin/Functions/getWaterNoise.glsl +4 -4
- package/Source/Shaders/Builtin/Functions/getWaterNoise.js +4 -4
- package/Source/Shaders/Builtin/Functions/phong.glsl +1 -1
- package/Source/Shaders/Builtin/Functions/phong.js +1 -1
- package/Source/Shaders/Builtin/Functions/readDepth.glsl +1 -1
- package/Source/Shaders/Builtin/Functions/readDepth.js +1 -1
- package/Source/Shaders/Builtin/Functions/sampleOctahedralProjection.glsl +5 -5
- package/Source/Shaders/Builtin/Functions/sampleOctahedralProjection.js +5 -5
- package/Source/Shaders/Builtin/Functions/shadowDepthCompare.glsl +3 -3
- package/Source/Shaders/Builtin/Functions/shadowDepthCompare.js +3 -3
- package/Source/Shaders/Builtin/Functions/tangentToEyeSpaceMatrix.glsl +1 -1
- package/Source/Shaders/Builtin/Functions/tangentToEyeSpaceMatrix.js +1 -1
- package/Source/Shaders/Builtin/Functions/textureCube.glsl +17 -0
- package/Source/Shaders/Builtin/Functions/textureCube.js +18 -0
- package/Source/Shaders/Builtin/Functions/translateRelativeToEye.glsl +2 -2
- package/Source/Shaders/Builtin/Functions/translateRelativeToEye.js +2 -2
- package/Source/Shaders/Builtin/Functions/vertexLogDepth.glsl +2 -2
- package/Source/Shaders/Builtin/Functions/vertexLogDepth.js +2 -2
- package/Source/Shaders/Builtin/Functions/writeDepthClamp.glsl +5 -8
- package/Source/Shaders/Builtin/Functions/writeDepthClamp.js +5 -8
- package/Source/Shaders/Builtin/Functions/writeLogDepth.glsl +6 -6
- package/Source/Shaders/Builtin/Functions/writeLogDepth.js +6 -6
- package/Source/Shaders/CloudCollectionFS.glsl +18 -18
- package/Source/Shaders/CloudCollectionFS.js +18 -18
- package/Source/Shaders/CloudCollectionVS.glsl +11 -11
- package/Source/Shaders/CloudCollectionVS.js +11 -11
- package/Source/Shaders/CloudNoiseFS.glsl +5 -5
- package/Source/Shaders/CloudNoiseFS.js +5 -5
- package/Source/Shaders/CloudNoiseVS.glsl +2 -2
- package/Source/Shaders/CloudNoiseVS.js +2 -2
- package/Source/Shaders/CompareAndPackTranslucentDepth.glsl +4 -4
- package/Source/Shaders/CompareAndPackTranslucentDepth.js +4 -4
- package/Source/Shaders/CompositeOITFS.glsl +6 -6
- package/Source/Shaders/CompositeOITFS.js +6 -6
- package/Source/Shaders/DepthPlaneFS.glsl +2 -2
- package/Source/Shaders/DepthPlaneFS.js +2 -2
- package/Source/Shaders/DepthPlaneVS.glsl +2 -2
- package/Source/Shaders/DepthPlaneVS.js +2 -2
- package/Source/Shaders/EllipsoidFS.glsl +5 -13
- package/Source/Shaders/EllipsoidFS.js +6 -14
- package/Source/Shaders/EllipsoidVS.glsl +2 -2
- package/Source/Shaders/EllipsoidVS.js +2 -2
- package/Source/Shaders/FXAA3_11.glsl +4 -4
- package/Source/Shaders/FXAA3_11.js +4 -4
- package/Source/Shaders/GlobeFS.glsl +15 -15
- package/Source/Shaders/GlobeFS.js +15 -15
- package/Source/Shaders/GlobeVS.glsl +17 -17
- package/Source/Shaders/GlobeVS.js +17 -17
- package/Source/Shaders/Materials/AspectRampMaterial.glsl +1 -1
- package/Source/Shaders/Materials/AspectRampMaterial.js +1 -1
- package/Source/Shaders/Materials/BumpMapMaterial.glsl +3 -3
- package/Source/Shaders/Materials/BumpMapMaterial.js +3 -3
- package/Source/Shaders/Materials/ElevationBandMaterial.glsl +3 -3
- package/Source/Shaders/Materials/ElevationBandMaterial.js +3 -3
- package/Source/Shaders/Materials/ElevationContourMaterial.glsl +2 -1
- package/Source/Shaders/Materials/ElevationContourMaterial.js +2 -1
- package/Source/Shaders/Materials/ElevationRampMaterial.glsl +1 -1
- package/Source/Shaders/Materials/ElevationRampMaterial.js +1 -1
- package/Source/Shaders/Materials/GridMaterial.glsl +3 -2
- package/Source/Shaders/Materials/GridMaterial.js +3 -2
- package/Source/Shaders/Materials/NormalMapMaterial.glsl +1 -1
- package/Source/Shaders/Materials/NormalMapMaterial.js +1 -1
- package/Source/Shaders/Materials/PolylineArrowMaterial.glsl +3 -2
- package/Source/Shaders/Materials/PolylineArrowMaterial.js +3 -2
- package/Source/Shaders/Materials/PolylineDashMaterial.glsl +1 -1
- package/Source/Shaders/Materials/PolylineDashMaterial.js +1 -1
- package/Source/Shaders/Materials/PolylineOutlineMaterial.glsl +1 -1
- package/Source/Shaders/Materials/PolylineOutlineMaterial.js +1 -1
- package/Source/Shaders/Materials/SlopeRampMaterial.glsl +1 -1
- package/Source/Shaders/Materials/SlopeRampMaterial.js +1 -1
- package/Source/Shaders/Materials/Water.glsl +1 -1
- package/Source/Shaders/Materials/Water.js +1 -1
- package/Source/Shaders/Model/ImageBasedLightingStageFS.glsl +3 -3
- package/Source/Shaders/Model/ImageBasedLightingStageFS.js +3 -3
- package/Source/Shaders/Model/MaterialStageFS.glsl +10 -10
- package/Source/Shaders/Model/MaterialStageFS.js +10 -10
- package/Source/Shaders/Model/ModelClippingPlanesStageFS.glsl +3 -3
- package/Source/Shaders/Model/ModelClippingPlanesStageFS.js +3 -3
- package/Source/Shaders/Model/ModelFS.glsl +1 -1
- package/Source/Shaders/Model/ModelFS.js +1 -1
- package/Source/Shaders/Model/PrimitiveOutlineStageFS.glsl +3 -3
- package/Source/Shaders/Model/PrimitiveOutlineStageFS.js +3 -3
- package/Source/Shaders/Model/SelectedFeatureIdStageCommon.glsl +1 -1
- package/Source/Shaders/Model/SelectedFeatureIdStageCommon.js +1 -1
- package/Source/Shaders/OctahedralProjectionAtlasFS.glsl +8 -8
- package/Source/Shaders/OctahedralProjectionAtlasFS.js +8 -8
- package/Source/Shaders/OctahedralProjectionFS.glsl +4 -4
- package/Source/Shaders/OctahedralProjectionFS.js +4 -4
- package/Source/Shaders/OctahedralProjectionVS.glsl +3 -3
- package/Source/Shaders/OctahedralProjectionVS.js +3 -3
- package/Source/Shaders/PointPrimitiveCollectionFS.glsl +6 -6
- package/Source/Shaders/PointPrimitiveCollectionFS.js +6 -6
- package/Source/Shaders/PointPrimitiveCollectionVS.glsl +12 -12
- package/Source/Shaders/PointPrimitiveCollectionVS.js +12 -12
- package/Source/Shaders/PolylineFS.glsl +3 -3
- package/Source/Shaders/PolylineFS.js +3 -3
- package/Source/Shaders/PolylineShadowVolumeFS.glsl +12 -16
- package/Source/Shaders/PolylineShadowVolumeFS.js +12 -16
- package/Source/Shaders/PolylineShadowVolumeMorphFS.glsl +8 -8
- package/Source/Shaders/PolylineShadowVolumeMorphFS.js +8 -8
- package/Source/Shaders/PolylineShadowVolumeMorphVS.glsl +20 -20
- package/Source/Shaders/PolylineShadowVolumeMorphVS.js +20 -20
- package/Source/Shaders/PolylineShadowVolumeVS.glsl +20 -20
- package/Source/Shaders/PolylineShadowVolumeVS.js +20 -20
- package/Source/Shaders/PolylineVS.glsl +17 -17
- package/Source/Shaders/PolylineVS.js +17 -17
- package/Source/Shaders/PostProcessStages/AcesTonemappingStage.glsl +4 -4
- package/Source/Shaders/PostProcessStages/AcesTonemappingStage.js +4 -4
- package/Source/Shaders/PostProcessStages/AdditiveBlend.glsl +4 -4
- package/Source/Shaders/PostProcessStages/AdditiveBlend.js +4 -4
- package/Source/Shaders/PostProcessStages/AmbientOcclusionGenerate.glsl +4 -4
- package/Source/Shaders/PostProcessStages/AmbientOcclusionGenerate.js +4 -4
- package/Source/Shaders/PostProcessStages/AmbientOcclusionModulate.glsl +4 -4
- package/Source/Shaders/PostProcessStages/AmbientOcclusionModulate.js +4 -4
- package/Source/Shaders/PostProcessStages/BlackAndWhite.glsl +4 -4
- package/Source/Shaders/PostProcessStages/BlackAndWhite.js +4 -4
- package/Source/Shaders/PostProcessStages/BloomComposite.glsl +5 -5
- package/Source/Shaders/PostProcessStages/BloomComposite.js +5 -5
- package/Source/Shaders/PostProcessStages/BrightPass.glsl +3 -3
- package/Source/Shaders/PostProcessStages/BrightPass.js +3 -3
- package/Source/Shaders/PostProcessStages/Brightness.glsl +3 -3
- package/Source/Shaders/PostProcessStages/Brightness.js +3 -3
- package/Source/Shaders/PostProcessStages/CompositeTranslucentClassification.glsl +5 -5
- package/Source/Shaders/PostProcessStages/CompositeTranslucentClassification.js +5 -5
- package/Source/Shaders/PostProcessStages/ContrastBias.glsl +3 -3
- package/Source/Shaders/PostProcessStages/ContrastBias.js +3 -3
- package/Source/Shaders/PostProcessStages/DepthOfField.glsl +2 -2
- package/Source/Shaders/PostProcessStages/DepthOfField.js +2 -2
- package/Source/Shaders/PostProcessStages/DepthView.glsl +2 -2
- package/Source/Shaders/PostProcessStages/DepthView.js +2 -2
- package/Source/Shaders/PostProcessStages/DepthViewPacked.glsl +3 -3
- package/Source/Shaders/PostProcessStages/DepthViewPacked.js +3 -3
- package/Source/Shaders/PostProcessStages/EdgeDetection.glsl +7 -7
- package/Source/Shaders/PostProcessStages/EdgeDetection.js +7 -7
- package/Source/Shaders/PostProcessStages/FXAA.glsl +3 -3
- package/Source/Shaders/PostProcessStages/FXAA.js +3 -3
- package/Source/Shaders/PostProcessStages/FilmicTonemapping.glsl +4 -4
- package/Source/Shaders/PostProcessStages/FilmicTonemapping.js +4 -4
- package/Source/Shaders/PostProcessStages/GaussianBlur1D.glsl +5 -5
- package/Source/Shaders/PostProcessStages/GaussianBlur1D.js +5 -5
- package/Source/Shaders/PostProcessStages/LensFlare.glsl +13 -13
- package/Source/Shaders/PostProcessStages/LensFlare.js +13 -13
- package/Source/Shaders/PostProcessStages/ModifiedReinhardTonemapping.glsl +4 -4
- package/Source/Shaders/PostProcessStages/ModifiedReinhardTonemapping.js +4 -4
- package/Source/Shaders/PostProcessStages/NightVision.glsl +3 -3
- package/Source/Shaders/PostProcessStages/NightVision.js +3 -3
- package/Source/Shaders/PostProcessStages/PassThrough.glsl +2 -2
- package/Source/Shaders/PostProcessStages/PassThrough.js +2 -2
- package/Source/Shaders/PostProcessStages/PassThroughDepth.glsl +2 -2
- package/Source/Shaders/PostProcessStages/PassThroughDepth.js +2 -2
- package/Source/Shaders/PostProcessStages/PointCloudEyeDomeLighting.glsl +7 -9
- package/Source/Shaders/PostProcessStages/PointCloudEyeDomeLighting.js +8 -10
- package/Source/Shaders/PostProcessStages/ReinhardTonemapping.glsl +4 -4
- package/Source/Shaders/PostProcessStages/ReinhardTonemapping.js +4 -4
- package/Source/Shaders/PostProcessStages/Silhouette.glsl +4 -4
- package/Source/Shaders/PostProcessStages/Silhouette.js +4 -4
- package/Source/Shaders/ReprojectWebMercatorFS.glsl +2 -2
- package/Source/Shaders/ReprojectWebMercatorFS.js +2 -2
- package/Source/Shaders/ReprojectWebMercatorVS.glsl +3 -3
- package/Source/Shaders/ReprojectWebMercatorVS.js +3 -3
- package/Source/Shaders/ShadowVolumeAppearanceFS.glsl +19 -23
- package/Source/Shaders/ShadowVolumeAppearanceFS.js +20 -24
- package/Source/Shaders/ShadowVolumeAppearanceVS.glsl +12 -12
- package/Source/Shaders/ShadowVolumeAppearanceVS.js +12 -12
- package/Source/Shaders/ShadowVolumeFS.glsl +2 -6
- package/Source/Shaders/ShadowVolumeFS.js +3 -7
- package/Source/Shaders/SkyAtmosphereFS.glsl +6 -6
- package/Source/Shaders/SkyAtmosphereFS.js +6 -6
- package/Source/Shaders/SkyAtmosphereVS.glsl +6 -6
- package/Source/Shaders/SkyAtmosphereVS.js +6 -6
- package/Source/Shaders/SkyBoxFS.glsl +3 -3
- package/Source/Shaders/SkyBoxFS.js +3 -3
- package/Source/Shaders/SkyBoxVS.glsl +2 -2
- package/Source/Shaders/SkyBoxVS.js +2 -2
- package/Source/Shaders/SunFS.glsl +3 -3
- package/Source/Shaders/SunFS.js +3 -3
- package/Source/Shaders/SunTextureFS.glsl +2 -2
- package/Source/Shaders/SunTextureFS.js +2 -2
- package/Source/Shaders/SunVS.glsl +2 -2
- package/Source/Shaders/SunVS.js +2 -2
- package/Source/Shaders/Vector3DTileClampedPolylinesFS.glsl +9 -13
- package/Source/Shaders/Vector3DTileClampedPolylinesFS.js +9 -13
- package/Source/Shaders/Vector3DTileClampedPolylinesVS.glsl +12 -12
- package/Source/Shaders/Vector3DTileClampedPolylinesVS.js +12 -12
- package/Source/Shaders/Vector3DTilePolylinesVS.glsl +5 -5
- package/Source/Shaders/Vector3DTilePolylinesVS.js +5 -5
- package/Source/Shaders/VectorTileVS.glsl +2 -2
- package/Source/Shaders/VectorTileVS.js +2 -2
- package/Source/Shaders/ViewportQuadFS.glsl +2 -2
- package/Source/Shaders/ViewportQuadFS.js +2 -2
- package/Source/Shaders/ViewportQuadVS.glsl +3 -3
- package/Source/Shaders/ViewportQuadVS.js +3 -3
- package/Source/Shaders/Voxels/IntersectDepth.glsl +1 -1
- package/Source/Shaders/Voxels/IntersectDepth.js +1 -1
- package/Source/Shaders/Voxels/IntersectEllipsoid.glsl +12 -2
- package/Source/Shaders/Voxels/IntersectEllipsoid.js +12 -2
- package/Source/Shaders/Voxels/Megatexture.glsl +1 -1
- package/Source/Shaders/Voxels/Megatexture.js +1 -1
- package/Source/Shaders/Voxels/Octree.glsl +4 -4
- package/Source/Shaders/Voxels/Octree.js +4 -4
- package/Source/Shaders/Voxels/VoxelFS.glsl +2 -2
- package/Source/Shaders/Voxels/VoxelFS.js +2 -2
- package/Source/Shaders/Voxels/VoxelVS.glsl +1 -1
- package/Source/Shaders/Voxels/VoxelVS.js +1 -1
- package/Source/Shaders/Voxels/convertUvToCylinder.glsl +5 -9
- package/Source/Shaders/Voxels/convertUvToCylinder.js +5 -9
- package/Source/Shaders/Voxels/convertUvToEllipsoid.glsl +3 -6
- package/Source/Shaders/Voxels/convertUvToEllipsoid.js +3 -6
- package/Source/WorkersES6/decodeDraco.js +9 -1
- package/index.d.ts +26 -12
- package/index.js +53 -52
- package/package.json +1 -1
- package/Source/Renderer/modernizeShader.js +0 -242
package/Build/Workers/{AxisAlignedBoundingBox-a4321399.js → AxisAlignedBoundingBox-47525601.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Transforms-
|
|
1
|
+
define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Transforms-a05e5e6e'], (function (exports, Matrix3, Check, defaultValue, Transforms) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Creates an instance of an AxisAlignedBoundingBox from the minimum and maximum points along the x, y, and z axes.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Transforms-
|
|
1
|
+
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Transforms-a05e5e6e'], (function (exports, Matrix2, Matrix3, Check, defaultValue, Transforms) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A bounding rectangle given by a corner, width and height.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './VertexFormat-6b480673'], (function (exports, Transforms, Matrix3, Check, ComponentDatatype, defaultValue, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const diffScratch = new Matrix3.Cartesian3();
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Transforms-
|
|
1
|
+
define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Transforms-a05e5e6e', './Math-2dbd6b93'], (function (exports, Check, defaultValue, Transforms, Math$1) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function hue2rgb(m1, m2, h) {
|
|
4
4
|
if (h < 0) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './OrientedBoundingBox-
|
|
1
|
+
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './OrientedBoundingBox-79ee7cbb'], (function (exports, Matrix2, Matrix3, Check, OrientedBoundingBox) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @private
|
package/Build/Workers/{CorridorGeometryLibrary-7cbae7a0.js → CorridorGeometryLibrary-5039cd8e.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix3-315394f6', './PolylineVolumeGeometryLibrary-
|
|
1
|
+
define(['exports', './Matrix3-315394f6', './PolylineVolumeGeometryLibrary-97f0b94e', './defaultValue-0a909f67', './Math-2dbd6b93', './PolylinePipeline-5e2e1b21', './Transforms-a05e5e6e'], (function (exports, Matrix3, PolylineVolumeGeometryLibrary, defaultValue, Math$1, PolylinePipeline, Transforms) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @private
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './Matrix2-13178034', './Matrix3-315394f6', './ComponentDatatype-f7b11d02', './CylinderGeometryLibrary-372c07d8', './defaultValue-0a909f67', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './VertexFormat-6b480673'], (function (exports, Transforms, Matrix2, Matrix3, ComponentDatatype, CylinderGeometryLibrary, defaultValue, Check, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const radiusScratch = new Matrix2.Cartesian2();
|
|
4
4
|
const normalScratch = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './EllipseGeometryLibrary-855d4681', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryInstance-451dc1cd', './GeometryOffsetAttribute-04332ce7', './GeometryPipeline-8fb0db69', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './VertexFormat-6b480673'], (function (exports, Transforms, Matrix2, Matrix3, Check, ComponentDatatype, defaultValue, EllipseGeometryLibrary, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, IndexDatatype, Math$1, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCartesian1 = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchCartesian2 = new Matrix3.Cartesian3();
|
package/Build/Workers/{EllipseGeometryLibrary-b891b2f8.js → EllipseGeometryLibrary-855d4681.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix3-315394f6', './Math-2dbd6b93', './Transforms-
|
|
1
|
+
define(['exports', './Matrix3-315394f6', './Math-2dbd6b93', './Transforms-a05e5e6e'], (function (exports, Matrix3, Math$1, Transforms) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const EllipseGeometryLibrary = {};
|
|
4
4
|
|
package/Build/Workers/{EllipseOutlineGeometry-fbd72e07.js → EllipseOutlineGeometry-017a5929.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './Matrix3-315394f6', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './Check-666ab1a0', './EllipseGeometryLibrary-855d4681', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './Math-2dbd6b93'], (function (exports, Transforms, Matrix3, ComponentDatatype, defaultValue, Check, EllipseGeometryLibrary, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCartesian1 = new Matrix3.Cartesian3();
|
|
4
4
|
let boundingSphereCenter = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './Matrix2-13178034', './Matrix3-315394f6', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './VertexFormat-6b480673'], (function (exports, Transforms, Matrix2, Matrix3, ComponentDatatype, defaultValue, Check, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchPosition = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchNormal = new Matrix3.Cartesian3();
|
package/Build/Workers/{EllipsoidOutlineGeometry-3e8779bf.js → EllipsoidOutlineGeometry-784dcdb5.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './Matrix3-315394f6', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './Math-2dbd6b93'], (function (exports, Transforms, Matrix3, ComponentDatatype, defaultValue, Check, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const defaultRadii = new Matrix3.Cartesian3(1.0, 1.0, 1.0);
|
|
4
4
|
const cos = Math.cos;
|
package/Build/Workers/{EllipsoidTangentPlane-cfb50678.js → EllipsoidTangentPlane-ed9443a1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './AxisAlignedBoundingBox-
|
|
1
|
+
define(['exports', './AxisAlignedBoundingBox-47525601', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './IntersectionTests-27d49265', './Plane-900aa728', './Transforms-a05e5e6e'], (function (exports, AxisAlignedBoundingBox, Matrix2, Matrix3, Check, defaultValue, IntersectionTests, Plane, Transforms) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCart4 = new Matrix2.Cartesian4();
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './Matrix3-315394f6', './Matrix2-13178034', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './Math-2dbd6b93', './Plane-900aa728', './VertexFormat-6b480673'], (function (exports, Transforms, Matrix3, Matrix2, Check, ComponentDatatype, defaultValue, GeometryAttribute, GeometryAttributes, Math$1, Plane, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The culling volume defined by planes.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './WebGLConstants-a8cc3e8c', './Transforms-
|
|
1
|
+
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './WebGLConstants-a8cc3e8c', './Transforms-a05e5e6e'], (function (exports, Matrix2, Matrix3, Check, defaultValue, WebGLConstants, Transforms) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @private
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './AttributeCompression-b646d393', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b93', './Transforms-
|
|
1
|
+
define(['exports', './AttributeCompression-b646d393', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b93', './Transforms-a05e5e6e', './ComponentDatatype-f7b11d02', './EncodedCartesian3-81f70735', './GeometryAttribute-334718f8', './IndexDatatype-a55ceaa1', './IntersectionTests-27d49265', './Plane-900aa728'], (function (exports, AttributeCompression, Matrix2, Matrix3, Check, defaultValue, Math$1, Transforms, ComponentDatatype, EncodedCartesian3, GeometryAttribute, IndexDatatype, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCartesian1 = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchCartesian2$1 = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix3-315394f6', './defaultValue-0a909f67', './Check-666ab1a0', './Transforms-
|
|
1
|
+
define(['exports', './Matrix3-315394f6', './defaultValue-0a909f67', './Check-666ab1a0', './Transforms-a05e5e6e', './Math-2dbd6b93'], (function (exports, Matrix3, defaultValue, Check, Transforms, Math$1) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Defines functions for 2nd order polynomial functions of one variable with only real coefficients.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './EllipsoidTangentPlane-ed9443a1', './Math-2dbd6b93', './Plane-900aa728'], (function (exports, Transforms, Matrix2, Matrix3, Check, defaultValue, EllipsoidTangentPlane, Math$1, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Creates an instance of an OrientedBoundingBox.
|
package/Build/Workers/{PolygonGeometryLibrary-f918ac26.js → PolygonGeometryLibrary-6b5a29e9.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './ArcType-ce2e50ab', './arrayRemoveDuplicates-c2038105', './Matrix2-13178034', './Matrix3-315394f6', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './EllipsoidRhumbLine-19756602', './GeometryAttribute-
|
|
1
|
+
define(['exports', './ArcType-ce2e50ab', './arrayRemoveDuplicates-c2038105', './Matrix2-13178034', './Matrix3-315394f6', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './EllipsoidRhumbLine-19756602', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryPipeline-8fb0db69', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-21668b3f', './Transforms-a05e5e6e'], (function (exports, ArcType, arrayRemoveDuplicates, Matrix2, Matrix3, ComponentDatatype, defaultValue, EllipsoidRhumbLine, GeometryAttribute, GeometryAttributes, GeometryPipeline, IndexDatatype, Math$1, PolygonPipeline, Transforms) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A queue that can enqueue items at the end, and dequeue items from the front.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './EllipsoidRhumbLine-19756602', './GeometryAttribute-
|
|
1
|
+
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './EllipsoidRhumbLine-19756602', './GeometryAttribute-334718f8', './Math-2dbd6b93', './WebGLConstants-a8cc3e8c'], (function (exports, Matrix2, Matrix3, Check, ComponentDatatype, defaultValue, EllipsoidRhumbLine, GeometryAttribute, Math$1, WebGLConstants) { 'use strict';
|
|
2
2
|
|
|
3
3
|
var earcutExports = {};
|
|
4
4
|
var earcut$1 = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix3-315394f6', './defaultValue-0a909f67', './Check-666ab1a0', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-
|
|
1
|
+
define(['exports', './Matrix3-315394f6', './defaultValue-0a909f67', './Check-666ab1a0', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-27d49265', './Math-2dbd6b93', './Matrix2-13178034', './Plane-900aa728'], (function (exports, Matrix3, defaultValue, Check, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Math$1, Matrix2, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @private
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './EllipsoidTangentPlane-
|
|
1
|
+
define(['exports', './Matrix2-13178034', './Matrix3-315394f6', './EllipsoidTangentPlane-ed9443a1', './Math-2dbd6b93', './PolylinePipeline-5e2e1b21', './Transforms-a05e5e6e', './defaultValue-0a909f67', './Check-666ab1a0'], (function (exports, Matrix2, Matrix3, EllipsoidTangentPlane, Math$1, PolylinePipeline, Transforms, defaultValue, Check) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Style options for corners.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './Check-666ab1a0', './Matrix3-315394f6', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryPipeline-8fb0db69', './IndexDatatype-a55ceaa1', './Matrix2-13178034', './WebMercatorProjection-13a90d41'], (function (exports, Transforms, ComponentDatatype, defaultValue, Check, Matrix3, GeometryAttribute, GeometryAttributes, GeometryPipeline, IndexDatatype, Matrix2, WebMercatorProjection) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Value and type information for per-instance geometry attribute that determines the geometry instance offset
|
package/Build/Workers/{RectangleGeometryLibrary-0768db63.js → RectangleGeometryLibrary-d5457f7b.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Matrix3-315394f6', './defaultValue-0a909f67', './Check-666ab1a0', './Transforms-
|
|
1
|
+
define(['exports', './Matrix3-315394f6', './defaultValue-0a909f67', './Check-666ab1a0', './Transforms-a05e5e6e', './Math-2dbd6b93', './Matrix2-13178034'], (function (exports, Matrix3, defaultValue, Check, Transforms, Math$1, Matrix2) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const cos = Math.cos;
|
|
4
4
|
const sin = Math.sin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './Transforms-
|
|
1
|
+
define(['exports', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Matrix2-13178034', './AttributeCompression-b646d393', './ComponentDatatype-f7b11d02', './Math-2dbd6b93'], (function (exports, Transforms, Matrix3, Check, defaultValue, Matrix2, AttributeCompression, ComponentDatatype, Math$1) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Determine whether or not other objects are visible or hidden behind the visible horizon defined by
|
|
@@ -2320,6 +2320,23 @@ define(['require', 'exports', './Matrix3-315394f6', './Check-666ab1a0', './defau
|
|
|
2320
2320
|
FeatureDetection.supportsWebAssembly = function () {
|
|
2321
2321
|
return typeof WebAssembly !== "undefined";
|
|
2322
2322
|
};
|
|
2323
|
+
|
|
2324
|
+
/**
|
|
2325
|
+
* Detects whether the current browser supports a WebGL2 rendering context for the specified scene.
|
|
2326
|
+
*
|
|
2327
|
+
* @param {Scene} scene the Cesium scene specifying the rendering context
|
|
2328
|
+
* @returns {Boolean} true if the browser supports a WebGL2 rendering context, false if not.
|
|
2329
|
+
*
|
|
2330
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext|WebGL2RenderingContext}
|
|
2331
|
+
*/
|
|
2332
|
+
FeatureDetection.supportsWebgl2 = function (scene) {
|
|
2333
|
+
//>>includeStart('debug', pragmas.debug);
|
|
2334
|
+
Check.Check.defined("scene", scene);
|
|
2335
|
+
//>>includeEnd('debug');
|
|
2336
|
+
|
|
2337
|
+
return scene.context.webgl2;
|
|
2338
|
+
};
|
|
2339
|
+
|
|
2323
2340
|
var FeatureDetection$1 = FeatureDetection;
|
|
2324
2341
|
|
|
2325
2342
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './arrayRemoveDuplicates-c2038105', './Matrix3-315394f6', './defaultValue-0a909f67', './Math-2dbd6b93', './PolylinePipeline-
|
|
1
|
+
define(['exports', './arrayRemoveDuplicates-c2038105', './Matrix3-315394f6', './defaultValue-0a909f67', './Math-2dbd6b93', './PolylinePipeline-5e2e1b21'], (function (exports, arrayRemoveDuplicates, Matrix3, defaultValue, Math, PolylinePipeline) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @private
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.102
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -149,6 +149,9 @@ var requirejs, require, define;
|
|
|
149
149
|
}
|
|
150
150
|
function newContext(contextName) {
|
|
151
151
|
var inCheckLoaded, Module, context, handlers, checkLoadedTimeoutId, config = {
|
|
152
|
+
//Defaults. Do not set a default for map
|
|
153
|
+
//config to speed up normalize(), which
|
|
154
|
+
//will run faster if there is no default.
|
|
152
155
|
waitSeconds: 7,
|
|
153
156
|
baseUrl: "./",
|
|
154
157
|
paths: {},
|
|
@@ -531,6 +534,11 @@ var requirejs, require, define;
|
|
|
531
534
|
context.load(this.map.id, url);
|
|
532
535
|
}
|
|
533
536
|
},
|
|
537
|
+
/**
|
|
538
|
+
* Checks if the module is ready to define itself, and if so,
|
|
539
|
+
* define it.
|
|
540
|
+
* @private
|
|
541
|
+
*/
|
|
534
542
|
check: function() {
|
|
535
543
|
if (!this.enabled || this.enabling) {
|
|
536
544
|
return;
|
|
@@ -840,6 +848,11 @@ var requirejs, require, define;
|
|
|
840
848
|
makeModuleMap,
|
|
841
849
|
nextTick: req.nextTick,
|
|
842
850
|
onError,
|
|
851
|
+
/**
|
|
852
|
+
* @private
|
|
853
|
+
* Set a configuration for the context.
|
|
854
|
+
* @param {Object} cfg config object to integrate.
|
|
855
|
+
*/
|
|
843
856
|
configure: function(cfg2) {
|
|
844
857
|
if (cfg2.baseUrl) {
|
|
845
858
|
if (cfg2.baseUrl.charAt(cfg2.baseUrl.length - 1) !== "/") {
|
|
@@ -962,6 +975,11 @@ var requirejs, require, define;
|
|
|
962
975
|
}
|
|
963
976
|
mixin(localRequire, {
|
|
964
977
|
isBrowser,
|
|
978
|
+
/**
|
|
979
|
+
* Converts a module name + .extension into an URL path.
|
|
980
|
+
* *Requires* the use of a module name. It does not support using
|
|
981
|
+
* plain URLs like nameToUrl.
|
|
982
|
+
*/
|
|
965
983
|
toUrl: function(moduleNamePlusExt) {
|
|
966
984
|
var ext, index = moduleNamePlusExt.lastIndexOf("."), segment = moduleNamePlusExt.split("/")[0], isRelative = segment === "." || segment === "..";
|
|
967
985
|
if (index !== -1 && (!isRelative || index > 1)) {
|
|
@@ -1010,12 +1028,26 @@ var requirejs, require, define;
|
|
|
1010
1028
|
}
|
|
1011
1029
|
return localRequire;
|
|
1012
1030
|
},
|
|
1031
|
+
/**
|
|
1032
|
+
* @private
|
|
1033
|
+
* Called to enable a module if it is still in the registry
|
|
1034
|
+
* awaiting enablement. A second arg, parent, the parent module,
|
|
1035
|
+
* is passed in for context, when this method is overridden by
|
|
1036
|
+
* the optimizer. Not shown here to keep code compact.
|
|
1037
|
+
*/
|
|
1013
1038
|
enable: function(depMap) {
|
|
1014
1039
|
var mod = getOwn(registry, depMap.id);
|
|
1015
1040
|
if (mod) {
|
|
1016
1041
|
getModule(depMap).enable();
|
|
1017
1042
|
}
|
|
1018
1043
|
},
|
|
1044
|
+
/**
|
|
1045
|
+
* Internal method used by environment adapters to complete a load event.
|
|
1046
|
+
* A load event could be a script load or just a load pass from a synchronous
|
|
1047
|
+
* load call.
|
|
1048
|
+
* @param {String} moduleName the name of the module to potentially complete.
|
|
1049
|
+
* @private
|
|
1050
|
+
*/
|
|
1019
1051
|
completeLoad: function(moduleName) {
|
|
1020
1052
|
var found, args, mod, shim = getOwn(config.shim, moduleName) || {}, shExports = shim.exports;
|
|
1021
1053
|
takeGlobalQueue();
|
|
@@ -1054,6 +1086,14 @@ var requirejs, require, define;
|
|
|
1054
1086
|
}
|
|
1055
1087
|
checkLoaded();
|
|
1056
1088
|
},
|
|
1089
|
+
/**
|
|
1090
|
+
* @private
|
|
1091
|
+
* Converts a module name to a file path. Supports cases where
|
|
1092
|
+
* moduleName may actually be just an URL.
|
|
1093
|
+
* Note that it **does not** call normalize on the moduleName,
|
|
1094
|
+
* it is assumed to have already been normalized. This is an
|
|
1095
|
+
* internal API, not a public one. Use toUrl for the public API.
|
|
1096
|
+
*/
|
|
1057
1097
|
nameToUrl: function(moduleName, ext, skipExt) {
|
|
1058
1098
|
var paths, syms, i, parentModule, url, parentPath, bundleId, pkgMain = getOwn(config.pkgs, moduleName);
|
|
1059
1099
|
if (pkgMain) {
|
|
@@ -1085,12 +1125,27 @@ var requirejs, require, define;
|
|
|
1085
1125
|
}
|
|
1086
1126
|
return config.urlArgs ? url + ((url.indexOf("?") === -1 ? "?" : "&") + config.urlArgs) : url;
|
|
1087
1127
|
},
|
|
1128
|
+
//Delegates to req.load. Broken out as a separate function to
|
|
1129
|
+
//allow overriding in the optimizer.
|
|
1088
1130
|
load: function(id, url) {
|
|
1089
1131
|
req.load(context, id, url);
|
|
1090
1132
|
},
|
|
1133
|
+
/**
|
|
1134
|
+
* Executes a module callback function. Broken out as a separate function
|
|
1135
|
+
* solely to allow the build system to sequence the files in the built
|
|
1136
|
+
* layer in the right sequence.
|
|
1137
|
+
*
|
|
1138
|
+
* @private
|
|
1139
|
+
*/
|
|
1091
1140
|
execCb: function(name, callback, args, exports) {
|
|
1092
1141
|
return callback.apply(exports, args);
|
|
1093
1142
|
},
|
|
1143
|
+
/**
|
|
1144
|
+
* callback for script loads, used to check status of loading.
|
|
1145
|
+
* @private
|
|
1146
|
+
* @param {Event} evt the event from the browser for the script
|
|
1147
|
+
* that was loaded.
|
|
1148
|
+
*/
|
|
1094
1149
|
onScriptLoad: function(evt) {
|
|
1095
1150
|
if (evt.type === "load" || readyRegExp.test((evt.currentTarget || evt.srcElement).readyState)) {
|
|
1096
1151
|
interactiveScript = null;
|
|
@@ -1098,6 +1153,10 @@ var requirejs, require, define;
|
|
|
1098
1153
|
context.completeLoad(data.id);
|
|
1099
1154
|
}
|
|
1100
1155
|
},
|
|
1156
|
+
/**
|
|
1157
|
+
* @private
|
|
1158
|
+
* Callback for script errors.
|
|
1159
|
+
*/
|
|
1101
1160
|
onScriptError: function(evt) {
|
|
1102
1161
|
var data = getScriptData(evt);
|
|
1103
1162
|
if (!hasPathFallback(data.id)) {
|
|
@@ -1185,7 +1244,14 @@ var requirejs, require, define;
|
|
|
1185
1244
|
}
|
|
1186
1245
|
node.setAttribute("data-requirecontext", context.contextName);
|
|
1187
1246
|
node.setAttribute("data-requiremodule", moduleName);
|
|
1188
|
-
if (node.attachEvent &&
|
|
1247
|
+
if (node.attachEvent && //Check if node.attachEvent is artificially added by custom script or
|
|
1248
|
+
//natively supported by browser
|
|
1249
|
+
//read https://github.com/jrburke/requirejs/issues/187
|
|
1250
|
+
//if we can NOT find [native code] then it must NOT natively supported.
|
|
1251
|
+
//in IE8, node.attachEvent does not have toString()
|
|
1252
|
+
//Note the test for "[native code" with no closing brace, see:
|
|
1253
|
+
//https://github.com/jrburke/requirejs/issues/273
|
|
1254
|
+
!(node.attachEvent.toString && node.attachEvent.toString().indexOf("[native code") < 0) && !isOpera) {
|
|
1189
1255
|
useInteractive = true;
|
|
1190
1256
|
node.attachEvent("onreadystatechange", context.onScriptLoad);
|
|
1191
1257
|
} else {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./PrimitivePipeline-
|
|
1
|
+
define(['./PrimitivePipeline-5640850a', './createTaskProcessorWorker', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryPipeline-8fb0db69', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './IndexDatatype-a55ceaa1', './IntersectionTests-27d49265', './Plane-900aa728', './WebMercatorProjection-13a90d41'], (function (PrimitivePipeline, createTaskProcessorWorker, Transforms, Matrix3, Check, defaultValue, Math, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryPipeline, AttributeCompression, EncodedCartesian3, IndexDatatype, IntersectionTests, Plane, WebMercatorProjection) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function combineGeometry(packedParameters, transferableObjects) {
|
|
4
4
|
const parameters = PrimitivePipeline.PrimitivePipeline.unpackCombineGeometryParameters(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./BoxGeometry-
|
|
1
|
+
define(['./BoxGeometry-8c4b4125', './defaultValue-0a909f67', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './VertexFormat-6b480673'], (function (BoxGeometry, defaultValue, Transforms, Matrix3, Check, Math, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createBoxGeometry(boxGeometry, offset) {
|
|
4
4
|
if (defaultValue.defined(offset)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Transforms-
|
|
1
|
+
define(['./Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c'], (function (Transforms, Matrix3, Check, ComponentDatatype, defaultValue, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, Math, Matrix2, RuntimeError, combine, WebGLConstants) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const diffScratch = new Matrix3.Cartesian3();
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './EllipseGeometry-
|
|
1
|
+
define(['./Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './EllipseGeometry-a9c9b3be', './VertexFormat-6b480673', './Math-2dbd6b93', './Transforms-a05e5e6e', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './EllipseGeometryLibrary-855d4681', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryInstance-451dc1cd', './GeometryOffsetAttribute-04332ce7', './GeometryPipeline-8fb0db69', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './IndexDatatype-a55ceaa1', './IntersectionTests-27d49265', './Plane-900aa728'], (function (Matrix3, Check, defaultValue, EllipseGeometry, VertexFormat, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, EllipseGeometryLibrary, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, AttributeCompression, EncodedCartesian3, IndexDatatype, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A description of a circle on the ellipsoid. Circle geometry can be rendered with both {@link Primitive} and {@link GroundPrimitive}.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './EllipseOutlineGeometry-
|
|
1
|
+
define(['./Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './EllipseOutlineGeometry-017a5929', './Math-2dbd6b93', './Transforms-a05e5e6e', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './EllipseGeometryLibrary-855d4681', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1'], (function (Matrix3, Check, defaultValue, EllipseOutlineGeometry, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, EllipseGeometryLibrary, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A description of the outline of a circle on the ellipsoid.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./arrayRemoveDuplicates-c2038105', './BoundingRectangle-
|
|
1
|
+
define(['./arrayRemoveDuplicates-c2038105', './BoundingRectangle-93b263ac', './Transforms-a05e5e6e', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './CoplanarPolygonGeometryLibrary-33c4c1f8', './defaultValue-0a909f67', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryInstance-451dc1cd', './GeometryPipeline-8fb0db69', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonGeometryLibrary-6b5a29e9', './PolygonPipeline-21668b3f', './VertexFormat-6b480673', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c', './OrientedBoundingBox-79ee7cbb', './EllipsoidTangentPlane-ed9443a1', './AxisAlignedBoundingBox-47525601', './IntersectionTests-27d49265', './Plane-900aa728', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './ArcType-ce2e50ab', './EllipsoidRhumbLine-19756602'], (function (arrayRemoveDuplicates, BoundingRectangle, Transforms, Matrix2, Matrix3, Check, ComponentDatatype, CoplanarPolygonGeometryLibrary, defaultValue, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryPipeline, IndexDatatype, Math, PolygonGeometryLibrary, PolygonPipeline, VertexFormat, combine, RuntimeError, WebGLConstants, OrientedBoundingBox, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, AttributeCompression, EncodedCartesian3, ArcType, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchPosition = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchBR = new BoundingRectangle.BoundingRectangle();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./arrayRemoveDuplicates-c2038105', './Transforms-
|
|
1
|
+
define(['./arrayRemoveDuplicates-c2038105', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './CoplanarPolygonGeometryLibrary-33c4c1f8', './defaultValue-0a909f67', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryInstance-451dc1cd', './GeometryPipeline-8fb0db69', './IndexDatatype-a55ceaa1', './PolygonGeometryLibrary-6b5a29e9', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './OrientedBoundingBox-79ee7cbb', './EllipsoidTangentPlane-ed9443a1', './AxisAlignedBoundingBox-47525601', './IntersectionTests-27d49265', './Plane-900aa728', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './ArcType-ce2e50ab', './EllipsoidRhumbLine-19756602', './PolygonPipeline-21668b3f'], (function (arrayRemoveDuplicates, Transforms, Matrix3, Check, ComponentDatatype, CoplanarPolygonGeometryLibrary, defaultValue, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryPipeline, IndexDatatype, PolygonGeometryLibrary, Math, Matrix2, RuntimeError, combine, WebGLConstants, OrientedBoundingBox, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, AttributeCompression, EncodedCartesian3, ArcType, EllipsoidRhumbLine, PolygonPipeline) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createGeometryFromPositions(positions) {
|
|
4
4
|
const length = positions.length;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./arrayRemoveDuplicates-c2038105', './Transforms-
|
|
1
|
+
define(['./arrayRemoveDuplicates-c2038105', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './PolylineVolumeGeometryLibrary-97f0b94e', './CorridorGeometryLibrary-5039cd8e', './defaultValue-0a909f67', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-21668b3f', './Matrix2-13178034', './VertexFormat-6b480673', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-ed9443a1', './AxisAlignedBoundingBox-47525601', './IntersectionTests-27d49265', './Plane-900aa728', './PolylinePipeline-5e2e1b21', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602'], (function (arrayRemoveDuplicates, Transforms, Matrix3, Check, ComponentDatatype, PolylineVolumeGeometryLibrary, CorridorGeometryLibrary, defaultValue, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1, PolygonPipeline, Matrix2, VertexFormat, combine$1, RuntimeError, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const cartesian1 = new Matrix3.Cartesian3();
|
|
4
4
|
const cartesian2 = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./arrayRemoveDuplicates-c2038105', './Transforms-
|
|
1
|
+
define(['./arrayRemoveDuplicates-c2038105', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './PolylineVolumeGeometryLibrary-97f0b94e', './CorridorGeometryLibrary-5039cd8e', './defaultValue-0a909f67', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-21668b3f', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-ed9443a1', './AxisAlignedBoundingBox-47525601', './IntersectionTests-27d49265', './Plane-900aa728', './PolylinePipeline-5e2e1b21', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602'], (function (arrayRemoveDuplicates, Transforms, Matrix3, Check, ComponentDatatype, PolylineVolumeGeometryLibrary, CorridorGeometryLibrary, defaultValue, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1, PolygonPipeline, Matrix2, RuntimeError, combine$1, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const cartesian1 = new Matrix3.Cartesian3();
|
|
4
4
|
const cartesian2 = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./CylinderGeometry-
|
|
1
|
+
define(['./CylinderGeometry-3ac44974', './defaultValue-0a909f67', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './CylinderGeometryLibrary-372c07d8', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './VertexFormat-6b480673'], (function (CylinderGeometry, defaultValue, Transforms, Matrix3, Check, Math, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, CylinderGeometryLibrary, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createCylinderGeometry(cylinderGeometry, offset) {
|
|
4
4
|
if (defaultValue.defined(offset)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Transforms-
|
|
1
|
+
define(['./Transforms-a05e5e6e', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './CylinderGeometryLibrary-372c07d8', './defaultValue-0a909f67', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c'], (function (Transforms, Matrix2, Matrix3, Check, ComponentDatatype, CylinderGeometryLibrary, defaultValue, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1, combine, RuntimeError, WebGLConstants) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const radiusScratch = new Matrix2.Cartesian2();
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Matrix3-315394f6', './defaultValue-0a909f67', './EllipseGeometry-
|
|
1
|
+
define(['./Matrix3-315394f6', './defaultValue-0a909f67', './EllipseGeometry-a9c9b3be', './Check-666ab1a0', './Math-2dbd6b93', './Transforms-a05e5e6e', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './EllipseGeometryLibrary-855d4681', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryInstance-451dc1cd', './GeometryOffsetAttribute-04332ce7', './GeometryPipeline-8fb0db69', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './IndexDatatype-a55ceaa1', './IntersectionTests-27d49265', './Plane-900aa728', './VertexFormat-6b480673'], (function (Matrix3, defaultValue, EllipseGeometry, Check, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, EllipseGeometryLibrary, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, AttributeCompression, EncodedCartesian3, IndexDatatype, IntersectionTests, Plane, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createEllipseGeometry(ellipseGeometry, offset) {
|
|
4
4
|
if (defaultValue.defined(offset)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Matrix3-315394f6', './defaultValue-0a909f67', './EllipseOutlineGeometry-
|
|
1
|
+
define(['./Matrix3-315394f6', './defaultValue-0a909f67', './EllipseOutlineGeometry-017a5929', './Check-666ab1a0', './Math-2dbd6b93', './Transforms-a05e5e6e', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './EllipseGeometryLibrary-855d4681', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1'], (function (Matrix3, defaultValue, EllipseOutlineGeometry, Check, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, EllipseGeometryLibrary, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createEllipseOutlineGeometry(ellipseGeometry, offset) {
|
|
4
4
|
if (defaultValue.defined(offset)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './EllipsoidGeometry-
|
|
1
|
+
define(['./defaultValue-0a909f67', './EllipsoidGeometry-826e7bce', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './VertexFormat-6b480673'], (function (defaultValue, EllipsoidGeometry, Transforms, Matrix3, Check, Math, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createEllipsoidGeometry(ellipsoidGeometry, offset) {
|
|
4
4
|
if (defaultValue.defined(offset)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './EllipsoidOutlineGeometry-
|
|
1
|
+
define(['./defaultValue-0a909f67', './EllipsoidOutlineGeometry-784dcdb5', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1'], (function (defaultValue, EllipsoidOutlineGeometry, Transforms, Matrix3, Check, Math, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createEllipsoidOutlineGeometry(ellipsoidGeometry, offset) {
|
|
4
4
|
if (defaultValue.defined(ellipsoidGeometry.buffer)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './FrustumGeometry-
|
|
1
|
+
define(['./defaultValue-0a909f67', './FrustumGeometry-9f1ee4d8', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './Plane-900aa728', './VertexFormat-6b480673'], (function (defaultValue, FrustumGeometry, Transforms, Matrix3, Check, Math, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, Plane, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createFrustumGeometry(frustumGeometry, offset) {
|
|
4
4
|
if (defaultValue.defined(offset)) {
|