@cesium/engine 1.0.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/{AttributeCompression-4589338a.js → AttributeCompression-b646d393.js} +1 -1
- package/Build/Workers/{AxisAlignedBoundingBox-bfb1234f.js → AxisAlignedBoundingBox-47525601.js} +1 -1
- package/Build/Workers/{BoundingRectangle-7ffc2153.js → BoundingRectangle-93b263ac.js} +1 -1
- package/Build/Workers/{BoxGeometry-93f344a3.js → BoxGeometry-8c4b4125.js} +1 -1
- package/Build/Workers/{Color-0c5aaf47.js → Color-52c60ed7.js} +1 -1
- package/Build/Workers/{CoplanarPolygonGeometryLibrary-6597982a.js → CoplanarPolygonGeometryLibrary-33c4c1f8.js} +1 -1
- package/Build/Workers/{CorridorGeometryLibrary-2119580e.js → CorridorGeometryLibrary-5039cd8e.js} +1 -1
- package/Build/Workers/{CylinderGeometry-f9503c6d.js → CylinderGeometry-3ac44974.js} +1 -1
- package/Build/Workers/{EllipseGeometry-fedf72d5.js → EllipseGeometry-a9c9b3be.js} +1 -1
- package/Build/Workers/{EllipseGeometryLibrary-4ea68687.js → EllipseGeometryLibrary-855d4681.js} +1 -1
- package/Build/Workers/{EllipseOutlineGeometry-e2ae6a35.js → EllipseOutlineGeometry-017a5929.js} +1 -1
- package/Build/Workers/{EllipsoidGeodesic-16de63ea.js → EllipsoidGeodesic-98c62a56.js} +1 -1
- package/Build/Workers/{EllipsoidGeometry-95c0330e.js → EllipsoidGeometry-826e7bce.js} +1 -1
- package/Build/Workers/{EllipsoidOutlineGeometry-d6d2ceec.js → EllipsoidOutlineGeometry-784dcdb5.js} +1 -1
- package/Build/Workers/{EllipsoidRhumbLine-ae5e65e0.js → EllipsoidRhumbLine-19756602.js} +1 -1
- package/Build/Workers/{EllipsoidTangentPlane-bfc674bf.js → EllipsoidTangentPlane-ed9443a1.js} +1 -1
- package/Build/Workers/{EncodedCartesian3-f473ea18.js → EncodedCartesian3-81f70735.js} +1 -1
- package/Build/Workers/{FrustumGeometry-3bf2e4eb.js → FrustumGeometry-9f1ee4d8.js} +1 -1
- package/Build/Workers/{GeometryAttribute-df5f473e.js → GeometryAttribute-334718f8.js} +1 -1
- package/Build/Workers/{GeometryInstance-aa75b4cf.js → GeometryInstance-451dc1cd.js} +1 -1
- package/Build/Workers/{GeometryPipeline-f0e46c42.js → GeometryPipeline-8fb0db69.js} +1 -1
- package/Build/Workers/{IntersectionTests-9de29d51.js → IntersectionTests-27d49265.js} +1 -1
- package/Build/Workers/{Matrix2-ce637455.js → Matrix2-13178034.js} +4 -2
- package/Build/Workers/{Matrix3-4f4df527.js → Matrix3-315394f6.js} +2 -1
- package/Build/Workers/{OrientedBoundingBox-d3ff3d4d.js → OrientedBoundingBox-79ee7cbb.js} +5 -5
- package/Build/Workers/{Plane-b81241c2.js → Plane-900aa728.js} +1 -1
- package/Build/Workers/{PolygonGeometryLibrary-6f4937bb.js → PolygonGeometryLibrary-6b5a29e9.js} +1 -1
- package/Build/Workers/PolygonPipeline-21668b3f.js +1345 -0
- package/Build/Workers/{PolylinePipeline-2e2b015c.js → PolylinePipeline-5e2e1b21.js} +1 -1
- package/Build/Workers/{PolylineVolumeGeometryLibrary-7ee1d449.js → PolylineVolumeGeometryLibrary-97f0b94e.js} +1 -1
- package/Build/Workers/{PrimitivePipeline-a9b7aae0.js → PrimitivePipeline-5640850a.js} +1 -1
- package/Build/Workers/{RectangleGeometryLibrary-9aa6c8f6.js → RectangleGeometryLibrary-d5457f7b.js} +1 -1
- package/Build/Workers/{TerrainEncoding-b52dcfc5.js → TerrainEncoding-bfdf2021.js} +1 -1
- package/Build/Workers/{Transforms-2f755df8.js → Transforms-a05e5e6e.js} +114 -83
- package/Build/Workers/{WallGeometryLibrary-ab19a93d.js → WallGeometryLibrary-6db0ebb6.js} +1 -1
- package/Build/Workers/{WebMercatorProjection-9f25de49.js → WebMercatorProjection-13a90d41.js} +1 -1
- package/Build/Workers/cesiumWorkerBootstrapper.js +92 -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/createVectorTileClampedPolylines.js +1 -1
- package/Build/Workers/createVectorTileGeometries.js +1 -1
- package/Build/Workers/createVectorTilePoints.js +1 -1
- package/Build/Workers/createVectorTilePolygons.js +1 -1
- package/Build/Workers/createVectorTilePolylines.js +1 -1
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
- package/Build/Workers/createVerticesFromHeightmap.js +7 -3
- 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/decodeI3S.js +1 -1
- package/Build/Workers/package.js +25 -1
- package/Build/Workers/transcodeKTX2.js +22 -2
- package/Build/Workers/transferTypedArrayTest.js +25 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +1 -1
- package/README.md +14 -16
- package/Source/Core/EarthOrientationParameters.js +67 -63
- package/Source/Core/FeatureDetection.js +18 -0
- package/Source/Core/Ion.js +1 -2
- package/Source/Core/Matrix2.js +2 -1
- package/Source/Core/Matrix3.js +2 -1
- package/Source/Core/Matrix4.js +1 -0
- package/Source/Core/OrientedBoundingBox.js +4 -4
- package/Source/Core/PixelFormat.js +22 -2
- package/Source/Core/S2Cell.js +3 -3
- package/Source/Core/Transforms.js +3 -7
- package/Source/Core/sampleTerrain.js +5 -0
- package/Source/DataSources/GpxDataSource.js +4 -6
- package/Source/DataSources/KmlDataSource.js +3 -5
- package/Source/Renderer/AutomaticUniforms.js +3 -3
- package/Source/Renderer/Context.js +20 -12
- package/Source/Renderer/Pass.js +3 -2
- 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/Cesium3DTileContentType.js +19 -0
- package/Source/Scene/Cesium3DTilesVoxelProvider.js +494 -0
- package/Source/Scene/Cesium3DTileset.js +6 -1
- package/Source/Scene/Cesium3DTilesetMetadata.js +2 -2
- package/Source/Scene/ClassificationPrimitive.js +3 -8
- package/Source/Scene/ContentMetadata.js +2 -2
- 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 +15 -22
- package/Source/Scene/EllipsoidPrimitive.js +0 -7
- package/Source/Scene/Expression.js +1 -1
- package/Source/Scene/Globe.js +10 -0
- package/Source/Scene/GlobeSurfaceTileProvider.js +7 -0
- package/Source/Scene/GlobeTranslucencyState.js +6 -6
- package/Source/Scene/GltfImageLoader.js +1 -1
- package/Source/Scene/GltfVertexBufferLoader.js +10 -2
- package/Source/Scene/GroundPolylinePrimitive.js +2 -4
- package/Source/Scene/GroupMetadata.js +2 -2
- package/Source/Scene/ImplicitMetadataView.js +2 -2
- package/Source/Scene/ImplicitSubtreeCache.js +127 -0
- package/Source/Scene/ImplicitSubtreeMetadata.js +2 -2
- package/Source/Scene/ImplicitTileset.js +3 -2
- package/Source/Scene/InvertClassification.js +9 -10
- package/Source/Scene/KeyframeNode.js +47 -0
- package/Source/Scene/Material.js +6 -6
- package/Source/Scene/Megatexture.js +490 -0
- package/Source/Scene/MetadataClass.js +60 -25
- package/Source/Scene/MetadataClassProperty.js +132 -68
- package/Source/Scene/MetadataComponentType.js +78 -57
- package/Source/Scene/MetadataEnum.js +59 -23
- package/Source/Scene/MetadataEnumValue.js +49 -15
- package/Source/Scene/MetadataSchema.js +53 -24
- package/Source/Scene/MetadataSchemaLoader.js +2 -2
- package/Source/Scene/MetadataSemantic.js +8 -0
- package/Source/Scene/MetadataTableProperty.js +2 -2
- package/Source/Scene/MetadataType.js +6 -14
- package/Source/Scene/Model/CustomShader.js +1 -1
- package/Source/Scene/Model/FeatureIdPipelineStage.js +4 -4
- package/Source/Scene/Model/GeoJsonLoader.js +1 -1
- package/Source/Scene/Model/LightingModel.js +1 -1
- package/Source/Scene/Model/MetadataPipelineStage.js +1 -1
- package/Source/Scene/Model/Model.js +2 -3
- package/Source/Scene/Model/PickingPipelineStage.js +1 -1
- package/Source/Scene/Model/buildDrawCommand.js +19 -11
- package/Source/Scene/OIT.js +211 -119
- package/Source/Scene/PickDepth.js +2 -2
- package/Source/Scene/PointCloud.js +12 -12
- 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/PropertyAttribute.js +2 -2
- package/Source/Scene/PropertyAttributeProperty.js +2 -2
- package/Source/Scene/PropertyTable.js +2 -2
- package/Source/Scene/PropertyTexture.js +2 -2
- package/Source/Scene/PropertyTextureProperty.js +2 -2
- package/Source/Scene/ResourceCache.js +9 -1
- package/Source/Scene/ResourceCacheKey.js +9 -1
- package/Source/Scene/Scene.js +17 -0
- package/Source/Scene/ShadowMap.js +7 -7
- package/Source/Scene/ShadowMapShader.js +9 -9
- package/Source/Scene/ShadowVolumeAppearance.js +1 -1
- package/Source/Scene/SpatialNode.js +375 -0
- package/Source/Scene/StructuralMetadata.js +2 -2
- package/Source/Scene/TextureAtlas.js +5 -3
- package/Source/Scene/TileMetadata.js +2 -2
- package/Source/Scene/TilesetMetadata.js +2 -2
- package/Source/Scene/Vector3DTilePolylines.js +1 -1
- package/Source/Scene/Vector3DTilePrimitive.js +2 -2
- package/Source/Scene/VoxelBoxShape.js +527 -0
- package/Source/Scene/VoxelContent.js +169 -0
- package/Source/Scene/VoxelCylinderShape.js +937 -0
- package/Source/Scene/VoxelEllipsoidShape.js +945 -0
- package/Source/Scene/VoxelPrimitive.js +1919 -0
- package/Source/Scene/VoxelProvider.js +255 -0
- package/Source/Scene/VoxelRenderResources.js +224 -0
- package/Source/Scene/VoxelShape.js +152 -0
- package/Source/Scene/VoxelShapeType.js +105 -0
- package/Source/Scene/VoxelTraversal.js +1144 -0
- package/Source/Scene/buildVoxelDrawCommands.js +116 -0
- 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/parseBatchTable.js +18 -2
- package/Source/Scene/preprocess3DTileContent.js +8 -0
- package/Source/Scene/processVoxelProperties.js +455 -0
- 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 +24 -24
- package/Source/Shaders/BillboardCollectionVS.js +24 -24
- package/Source/Shaders/BrdfLutGeneratorFS.glsl +2 -2
- package/Source/Shaders/BrdfLutGeneratorFS.js +2 -2
- package/Source/Shaders/Builtin/Constants/passOverlay.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passOverlay.js +1 -1
- package/Source/Shaders/Builtin/Constants/passVoxels.glsl +9 -0
- package/Source/Shaders/Builtin/Constants/passVoxels.js +11 -0
- package/Source/Shaders/Builtin/CzmBuiltins.js +19 -15
- 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/windowToEyeCoordinates.glsl +55 -43
- package/Source/Shaders/Builtin/Functions/windowToEyeCoordinates.js +55 -43
- 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 +17 -16
- package/Source/Shaders/GlobeFS.js +17 -16
- 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 +17 -14
- package/Source/Shaders/PointPrimitiveCollectionVS.js +17 -14
- 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/IntersectBox.glsl +79 -0
- package/Source/Shaders/Voxels/IntersectBox.js +81 -0
- package/Source/Shaders/Voxels/IntersectClippingPlanes.glsl +70 -0
- package/Source/Shaders/Voxels/IntersectClippingPlanes.js +72 -0
- package/Source/Shaders/Voxels/IntersectCylinder.glsl +273 -0
- package/Source/Shaders/Voxels/IntersectCylinder.js +275 -0
- package/Source/Shaders/Voxels/IntersectDepth.glsl +23 -0
- package/Source/Shaders/Voxels/IntersectDepth.js +25 -0
- package/Source/Shaders/Voxels/IntersectEllipsoid.glsl +347 -0
- package/Source/Shaders/Voxels/IntersectEllipsoid.js +349 -0
- package/Source/Shaders/Voxels/Intersection.glsl +54 -0
- package/Source/Shaders/Voxels/Intersection.js +56 -0
- package/Source/Shaders/Voxels/IntersectionUtils.glsl +151 -0
- package/Source/Shaders/Voxels/IntersectionUtils.js +153 -0
- package/Source/Shaders/Voxels/Megatexture.glsl +136 -0
- package/Source/Shaders/Voxels/Megatexture.js +138 -0
- package/Source/Shaders/Voxels/Octree.glsl +221 -0
- package/Source/Shaders/Voxels/Octree.js +223 -0
- package/Source/Shaders/Voxels/VoxelFS.glsl +150 -0
- package/Source/Shaders/Voxels/VoxelFS.js +152 -0
- package/Source/Shaders/Voxels/VoxelVS.glsl +11 -0
- package/Source/Shaders/Voxels/VoxelVS.js +13 -0
- package/Source/Shaders/Voxels/convertUvToBox.glsl +16 -0
- package/Source/Shaders/Voxels/convertUvToBox.js +18 -0
- package/Source/Shaders/Voxels/convertUvToCylinder.glsl +75 -0
- package/Source/Shaders/Voxels/convertUvToCylinder.js +77 -0
- package/Source/Shaders/Voxels/convertUvToEllipsoid.glsl +130 -0
- package/Source/Shaders/Voxels/convertUvToEllipsoid.js +132 -0
- package/Source/ThirdParty/Workers/z-worker-pako.js +0 -0
- package/Source/WorkersES6/decodeDraco.js +9 -1
- package/index.d.ts +3148 -2297
- package/index.js +1118 -1085
- package/package.json +3 -4
- package/Build/Workers/PolygonPipeline-774a8aaf.js +0 -1341
- package/Source/Renderer/modernizeShader.js +0 -242
|
@@ -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-
|
|
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-
|
|
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)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Transforms-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './FrustumGeometry-9f1ee4d8', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './Plane-900aa728', './VertexFormat-6b480673'], (function (defaultValue, Transforms, Matrix3, Check, ComponentDatatype, FrustumGeometry, GeometryAttribute, GeometryAttributes, Math, Matrix2, RuntimeError, combine, WebGLConstants, Plane, VertexFormat) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const PERSPECTIVE = 0;
|
|
4
4
|
const ORTHOGRAPHIC = 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './PrimitivePipeline-
|
|
1
|
+
define(['./defaultValue-0a909f67', './PrimitivePipeline-5640850a', './createTaskProcessorWorker', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './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 (defaultValue, PrimitivePipeline, createTaskProcessorWorker, Transforms, Matrix3, Check, Math, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryPipeline, AttributeCompression, EncodedCartesian3, IndexDatatype, IntersectionTests, Plane, WebMercatorProjection) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/* global require */
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Transforms-
|
|
1
|
+
define(['./Transforms-a05e5e6e', './Matrix2-13178034', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b93', './ArcType-ce2e50ab', './arrayRemoveDuplicates-c2038105', './ComponentDatatype-f7b11d02', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './EncodedCartesian3-81f70735', './GeometryAttribute-334718f8', './IntersectionTests-27d49265', './Plane-900aa728', './WebMercatorProjection-13a90d41', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c'], (function (Transforms, Matrix2, Matrix3, Check, defaultValue, Math$1, ArcType, arrayRemoveDuplicates, ComponentDatatype, EllipsoidGeodesic, EllipsoidRhumbLine, EncodedCartesian3, GeometryAttribute, IntersectionTests, Plane, WebMercatorProjection, combine, RuntimeError, WebGLConstants) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A tiling scheme for geometry referenced to a simple {@link GeographicProjection} where
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Transforms-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './VertexFormat-6b480673', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c'], (function (defaultValue, Transforms, Matrix3, Check, ComponentDatatype, GeometryAttribute, GeometryAttributes, VertexFormat, Math$1, Matrix2, RuntimeError, combine, WebGLConstants) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes geometry representing a plane centered at the origin, with a unit width and length.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Transforms-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Transforms-a05e5e6e', './Matrix3-315394f6', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './Math-2dbd6b93', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c'], (function (defaultValue, Transforms, Matrix3, Check, ComponentDatatype, GeometryAttribute, GeometryAttributes, Math$1, Matrix2, RuntimeError, combine, WebGLConstants) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes geometry representing the outline of a plane centered at the origin, with a unit width and length.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './ArcType-ce2e50ab', './BoundingRectangle-93b263ac', './Transforms-a05e5e6e', './Matrix2-13178034', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './EllipsoidGeodesic-98c62a56', './EllipsoidTangentPlane-ed9443a1', './GeometryAttribute-334718f8', './GeometryInstance-451dc1cd', './GeometryOffsetAttribute-04332ce7', './GeometryPipeline-8fb0db69', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonGeometryLibrary-6b5a29e9', './PolygonPipeline-21668b3f', './VertexFormat-6b480673', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c', './AxisAlignedBoundingBox-47525601', './IntersectionTests-27d49265', './Plane-900aa728', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './arrayRemoveDuplicates-c2038105', './EllipsoidRhumbLine-19756602', './GeometryAttributes-f06a2792'], (function (defaultValue, Matrix3, ArcType, BoundingRectangle, Transforms, Matrix2, Check, ComponentDatatype, EllipsoidGeodesic, EllipsoidTangentPlane, GeometryAttribute, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, IndexDatatype, Math$1, PolygonGeometryLibrary, PolygonPipeline, VertexFormat, combine, RuntimeError, WebGLConstants, AxisAlignedBoundingBox, IntersectionTests, Plane, AttributeCompression, EncodedCartesian3, arrayRemoveDuplicates, EllipsoidRhumbLine, GeometryAttributes) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCarto1 = new Matrix3.Cartographic();
|
|
4
4
|
const scratchCarto2 = new Matrix3.Cartographic();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './ArcType-ce2e50ab', './Transforms-a05e5e6e', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './EllipsoidTangentPlane-ed9443a1', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryInstance-451dc1cd', './GeometryOffsetAttribute-04332ce7', './GeometryPipeline-8fb0db69', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonGeometryLibrary-6b5a29e9', './PolygonPipeline-21668b3f', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './AxisAlignedBoundingBox-47525601', './IntersectionTests-27d49265', './Plane-900aa728', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './arrayRemoveDuplicates-c2038105', './EllipsoidRhumbLine-19756602'], (function (defaultValue, Matrix3, ArcType, Transforms, Check, ComponentDatatype, EllipsoidTangentPlane, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, IndexDatatype, Math$1, PolygonGeometryLibrary, PolygonPipeline, Matrix2, RuntimeError, combine, WebGLConstants, AxisAlignedBoundingBox, IntersectionTests, Plane, AttributeCompression, EncodedCartesian3, arrayRemoveDuplicates, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const createGeometryFromPositionsPositions = [];
|
|
4
4
|
const createGeometryFromPositionsSubdivided = [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './ArcType-ce2e50ab', './arrayRemoveDuplicates-c2038105', './Transforms-a05e5e6e', './Color-52c60ed7', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolylinePipeline-5e2e1b21', './VertexFormat-6b480673', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-27d49265', './Plane-900aa728'], (function (defaultValue, Matrix3, ArcType, arrayRemoveDuplicates, Transforms, Color, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math$1, PolylinePipeline, VertexFormat, Matrix2, RuntimeError, combine, WebGLConstants, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchInterpolateColorsArray = [];
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './arrayRemoveDuplicates-c2038105', './BoundingRectangle-93b263ac', './Transforms-a05e5e6e', './Matrix2-13178034', './ComponentDatatype-f7b11d02', './PolylineVolumeGeometryLibrary-97f0b94e', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryPipeline-8fb0db69', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-21668b3f', './VertexFormat-6b480673', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-ed9443a1', './AxisAlignedBoundingBox-47525601', './IntersectionTests-27d49265', './Plane-900aa728', './PolylinePipeline-5e2e1b21', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735'], (function (defaultValue, Matrix3, arrayRemoveDuplicates, BoundingRectangle, Transforms, Matrix2, ComponentDatatype, PolylineVolumeGeometryLibrary, Check, GeometryAttribute, GeometryAttributes, GeometryPipeline, IndexDatatype, Math, PolygonPipeline, VertexFormat, combine, RuntimeError, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, AttributeCompression, EncodedCartesian3) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function computeAttributes(
|
|
4
4
|
combinedPositions,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './arrayRemoveDuplicates-c2038105', './BoundingRectangle-93b263ac', './Transforms-a05e5e6e', './Matrix2-13178034', './ComponentDatatype-f7b11d02', './PolylineVolumeGeometryLibrary-97f0b94e', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-21668b3f', './combine-ca22a614', './RuntimeError-06c93819', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-ed9443a1', './AxisAlignedBoundingBox-47525601', './IntersectionTests-27d49265', './Plane-900aa728', './PolylinePipeline-5e2e1b21', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602'], (function (defaultValue, Matrix3, arrayRemoveDuplicates, BoundingRectangle, Transforms, Matrix2, ComponentDatatype, PolylineVolumeGeometryLibrary, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, PolygonPipeline, combine, RuntimeError, WebGLConstants, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function computeAttributes(positions, shape) {
|
|
4
4
|
const attributes = new GeometryAttributes.GeometryAttributes();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Matrix2-13178034', './Transforms-a05e5e6e', './Check-666ab1a0', './ComponentDatatype-f7b11d02', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryInstance-451dc1cd', './GeometryOffsetAttribute-04332ce7', './GeometryPipeline-8fb0db69', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-21668b3f', './RectangleGeometryLibrary-d5457f7b', './VertexFormat-6b480673', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './AttributeCompression-b646d393', './EncodedCartesian3-81f70735', './IntersectionTests-27d49265', './Plane-900aa728', './EllipsoidRhumbLine-19756602'], (function (defaultValue, Matrix3, Matrix2, Transforms, Check, ComponentDatatype, GeometryAttribute, GeometryAttributes, GeometryInstance, GeometryOffsetAttribute, GeometryPipeline, IndexDatatype, Math$1, PolygonPipeline, RectangleGeometryLibrary, VertexFormat, RuntimeError, combine, WebGLConstants, AttributeCompression, EncodedCartesian3, IntersectionTests, Plane, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const positionScratch = new Matrix3.Cartesian3();
|
|
4
4
|
const normalScratch = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Matrix2-13178034', './Transforms-a05e5e6e', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolygonPipeline-21668b3f', './RectangleGeometryLibrary-d5457f7b', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './EllipsoidRhumbLine-19756602'], (function (defaultValue, Matrix3, Matrix2, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype, Math$1, PolygonPipeline, RectangleGeometryLibrary, RuntimeError, combine, WebGLConstants, EllipsoidRhumbLine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const bottomBoundingSphere = new Transforms.BoundingSphere();
|
|
4
4
|
const topBoundingSphere = new Transforms.BoundingSphere();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './ArcType-ce2e50ab', './Transforms-a05e5e6e', './Color-52c60ed7', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolylinePipeline-5e2e1b21', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-27d49265', './Plane-900aa728'], (function (defaultValue, Matrix3, ArcType, Transforms, Color, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, PolylinePipeline, Matrix2, RuntimeError, combine, WebGLConstants, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function interpolateColors(p0, p1, color0, color1, minDistance, array, offset) {
|
|
4
4
|
const numPoints = PolylinePipeline.PolylinePipeline.numberOfPoints(p0, p1, minDistance);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './EllipsoidGeometry-826e7bce', './VertexFormat-6b480673', './Math-2dbd6b93', './Transforms-a05e5e6e', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1'], (function (defaultValue, Matrix3, Check, EllipsoidGeometry, VertexFormat, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A description of a sphere centered at the origin.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './EllipsoidOutlineGeometry-784dcdb5', './Math-2dbd6b93', './Transforms-a05e5e6e', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1'], (function (defaultValue, Matrix3, Check, EllipsoidOutlineGeometry, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A description of the outline of a sphere.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AttributeCompression-
|
|
1
|
+
define(['./AttributeCompression-b646d393', './Matrix3-315394f6', './combine-ca22a614', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './Matrix2-13178034', './createTaskProcessorWorker', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './Check-666ab1a0', './WebGLConstants-a8cc3e8c', './RuntimeError-06c93819'], (function (AttributeCompression, Matrix3, combine, IndexDatatype, Math$1, Matrix2, createTaskProcessorWorker, ComponentDatatype, defaultValue, Check, WebGLConstants, RuntimeError) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const MAX_SHORT = 32767;
|
|
4
4
|
const MITER_BREAK = Math.cos(Math$1.CesiumMath.toRadians(150.0));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Transforms-
|
|
1
|
+
define(['./Transforms-a05e5e6e', './BoxGeometry-8c4b4125', './Matrix3-315394f6', './Color-52c60ed7', './CylinderGeometry-3ac44974', './defaultValue-0a909f67', './EllipsoidGeometry-826e7bce', './IndexDatatype-a55ceaa1', './Matrix2-13178034', './createTaskProcessorWorker', './Check-666ab1a0', './Math-2dbd6b93', './combine-ca22a614', './RuntimeError-06c93819', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './VertexFormat-6b480673', './CylinderGeometryLibrary-372c07d8'], (function (Transforms, BoxGeometry, Matrix3, Color, CylinderGeometry, defaultValue, EllipsoidGeometry, IndexDatatype, Matrix2, createTaskProcessorWorker, Check, Math$1, combine, RuntimeError, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, VertexFormat, CylinderGeometryLibrary) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes a renderable batch of geometry.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AttributeCompression-
|
|
1
|
+
define(['./AttributeCompression-b646d393', './Matrix3-315394f6', './Math-2dbd6b93', './Matrix2-13178034', './createTaskProcessorWorker', './ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './Check-666ab1a0', './WebGLConstants-a8cc3e8c', './RuntimeError-06c93819'], (function (AttributeCompression, Matrix3, Math, Matrix2, createTaskProcessorWorker, ComponentDatatype, defaultValue, Check, WebGLConstants, RuntimeError) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const maxShort = 32767;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AttributeCompression-
|
|
1
|
+
define(['./AttributeCompression-b646d393', './Matrix3-315394f6', './Color-52c60ed7', './defaultValue-0a909f67', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './OrientedBoundingBox-79ee7cbb', './Matrix2-13178034', './createTaskProcessorWorker', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './WebGLConstants-a8cc3e8c', './Transforms-a05e5e6e', './combine-ca22a614', './RuntimeError-06c93819', './EllipsoidTangentPlane-ed9443a1', './AxisAlignedBoundingBox-47525601', './IntersectionTests-27d49265', './Plane-900aa728'], (function (AttributeCompression, Matrix3, Color, defaultValue, IndexDatatype, Math$1, OrientedBoundingBox, Matrix2, createTaskProcessorWorker, ComponentDatatype, Check, WebGLConstants, Transforms, combine, RuntimeError, EllipsoidTangentPlane, AxisAlignedBoundingBox, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCenter = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchEllipsoid = new Matrix3.Ellipsoid();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Matrix3-
|
|
1
|
+
define(['./Matrix3-315394f6', './combine-ca22a614', './AttributeCompression-b646d393', './Math-2dbd6b93', './IndexDatatype-a55ceaa1', './Matrix2-13178034', './createTaskProcessorWorker', './Check-666ab1a0', './defaultValue-0a909f67', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './RuntimeError-06c93819'], (function (Matrix3, combine, AttributeCompression, Math, IndexDatatype, Matrix2, createTaskProcessorWorker, Check, defaultValue, ComponentDatatype, WebGLConstants, RuntimeError) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const maxShort = 32767;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AxisAlignedBoundingBox-
|
|
1
|
+
define(['./AxisAlignedBoundingBox-47525601', './Transforms-a05e5e6e', './Matrix2-13178034', './Matrix3-315394f6', './defaultValue-0a909f67', './TerrainEncoding-bfdf2021', './Math-2dbd6b93', './OrientedBoundingBox-79ee7cbb', './RuntimeError-06c93819', './WebMercatorProjection-13a90d41', './createTaskProcessorWorker', './Check-666ab1a0', './combine-ca22a614', './AttributeCompression-b646d393', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-ed9443a1', './IntersectionTests-27d49265', './Plane-900aa728'], (function (AxisAlignedBoundingBox, Transforms, Matrix2, Matrix3, defaultValue, TerrainEncoding, Math$1, OrientedBoundingBox, RuntimeError, WebMercatorProjection, createTaskProcessorWorker, Check, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const sizeOfUint16 = Uint16Array.BYTES_PER_ELEMENT;
|
|
4
4
|
const sizeOfInt32 = Int32Array.BYTES_PER_ELEMENT;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./Matrix3-
|
|
1
|
+
define(['./Matrix3-315394f6', './AxisAlignedBoundingBox-47525601', './Transforms-a05e5e6e', './Matrix2-13178034', './defaultValue-0a909f67', './Check-666ab1a0', './TerrainEncoding-bfdf2021', './Math-2dbd6b93', './OrientedBoundingBox-79ee7cbb', './WebMercatorProjection-13a90d41', './RuntimeError-06c93819', './createTaskProcessorWorker', './combine-ca22a614', './AttributeCompression-b646d393', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './EllipsoidTangentPlane-ed9443a1', './IntersectionTests-27d49265', './Plane-900aa728'], (function (Matrix3, AxisAlignedBoundingBox, Transforms, Matrix2, defaultValue, Check, TerrainEncoding, Math$1, OrientedBoundingBox, WebMercatorProjection, RuntimeError, createTaskProcessorWorker, combine, AttributeCompression, ComponentDatatype, WebGLConstants, EllipsoidTangentPlane, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The encoding that is used for a heightmap
|
|
@@ -545,7 +545,11 @@ define(['./Matrix3-4f4df527', './AxisAlignedBoundingBox-bfb1234f', './Transforms
|
|
|
545
545
|
};
|
|
546
546
|
var HeightmapTessellator$1 = HeightmapTessellator;
|
|
547
547
|
|
|
548
|
-
var
|
|
548
|
+
var LercDecodeExports = {};
|
|
549
|
+
var LercDecode = {
|
|
550
|
+
get exports(){ return LercDecodeExports; },
|
|
551
|
+
set exports(v){ LercDecodeExports = v; },
|
|
552
|
+
};
|
|
549
553
|
|
|
550
554
|
/* jshint forin: false, bitwise: false */
|
|
551
555
|
|
|
@@ -2654,7 +2658,7 @@ define(['./Matrix3-4f4df527', './AxisAlignedBoundingBox-bfb1234f', './Transforms
|
|
|
2654
2658
|
})();
|
|
2655
2659
|
} (LercDecode));
|
|
2656
2660
|
|
|
2657
|
-
var Lerc =
|
|
2661
|
+
var Lerc = LercDecodeExports;
|
|
2658
2662
|
|
|
2659
2663
|
function createVerticesFromHeightmap(parameters, transferableObjects) {
|
|
2660
2664
|
// LERC encoded buffers must be decoded, then we can process them like normal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./AxisAlignedBoundingBox-
|
|
1
|
+
define(['./AxisAlignedBoundingBox-47525601', './Matrix2-13178034', './Matrix3-315394f6', './defaultValue-0a909f67', './TerrainEncoding-bfdf2021', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './Check-666ab1a0', './Transforms-a05e5e6e', './WebMercatorProjection-13a90d41', './createTaskProcessorWorker', './RuntimeError-06c93819', './AttributeCompression-b646d393', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './combine-ca22a614'], (function (AxisAlignedBoundingBox, Matrix2, Matrix3, defaultValue, TerrainEncoding, IndexDatatype, Math$1, Check, Transforms, WebMercatorProjection, createTaskProcessorWorker, RuntimeError, AttributeCompression, ComponentDatatype, WebGLConstants, combine) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Provides terrain or other geometry for the surface of an ellipsoid. The surface geometry is
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Transforms-a05e5e6e', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './VertexFormat-6b480673', './WallGeometryLibrary-6db0ebb6', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './arrayRemoveDuplicates-c2038105', './PolylinePipeline-5e2e1b21', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-27d49265', './Plane-900aa728'], (function (defaultValue, Matrix3, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, VertexFormat, WallGeometryLibrary, Matrix2, RuntimeError, combine, WebGLConstants, arrayRemoveDuplicates, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCartesian3Position1 = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchCartesian3Position2 = new Matrix3.Cartesian3();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./defaultValue-0a909f67', './Matrix3-
|
|
1
|
+
define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Transforms-a05e5e6e', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-334718f8', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './WallGeometryLibrary-6db0ebb6', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './arrayRemoveDuplicates-c2038105', './PolylinePipeline-5e2e1b21', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-27d49265', './Plane-900aa728'], (function (defaultValue, Matrix3, Transforms, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, WallGeometryLibrary, Matrix2, RuntimeError, combine, WebGLConstants, arrayRemoveDuplicates, PolylinePipeline, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const scratchCartesian3Position1 = new Matrix3.Cartesian3();
|
|
4
4
|
const scratchCartesian3Position2 = new Matrix3.Cartesian3();
|
|
@@ -46,7 +46,7 @@ define(['./ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './IndexDatat
|
|
|
46
46
|
dracoAttribute,
|
|
47
47
|
attributeData
|
|
48
48
|
);
|
|
49
|
-
} else {
|
|
49
|
+
} else if (quantization.quantizationBits <= 16) {
|
|
50
50
|
attributeData = new draco.DracoUInt16Array();
|
|
51
51
|
vertexArray = new Uint16Array(vertexArrayLength);
|
|
52
52
|
dracoDecoder.GetAttributeUInt16ForAllPoints(
|
|
@@ -54,6 +54,14 @@ define(['./ComponentDatatype-f7b11d02', './defaultValue-0a909f67', './IndexDatat
|
|
|
54
54
|
dracoAttribute,
|
|
55
55
|
attributeData
|
|
56
56
|
);
|
|
57
|
+
} else {
|
|
58
|
+
attributeData = new draco.DracoFloat32Array();
|
|
59
|
+
vertexArray = new Float32Array(vertexArrayLength);
|
|
60
|
+
dracoDecoder.GetAttributeFloatForAllPoints(
|
|
61
|
+
dracoGeometry,
|
|
62
|
+
dracoAttribute,
|
|
63
|
+
attributeData
|
|
64
|
+
);
|
|
57
65
|
}
|
|
58
66
|
|
|
59
67
|
for (let i = 0; i < vertexArrayLength; ++i) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['./createTaskProcessorWorker', './defaultValue-0a909f67', './WebMercatorProjection-
|
|
1
|
+
define(['./createTaskProcessorWorker', './defaultValue-0a909f67', './WebMercatorProjection-13a90d41', './Matrix3-315394f6', './Math-2dbd6b93', './Check-666ab1a0'], (function (createTaskProcessorWorker, defaultValue, WebMercatorProjection, Matrix3, Math$1, Check) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/* global require */
|
|
4
4
|
|
package/Build/Workers/package.js
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.102
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
2
26
|
module.exports = { type: "commonjs" };
|
|
@@ -127,6 +127,22 @@ define(['./defaultValue-0a909f67', './Check-666ab1a0', './WebGLConstants-a8cc3e8
|
|
|
127
127
|
*/
|
|
128
128
|
ALPHA: WebGLConstants.WebGLConstants.ALPHA,
|
|
129
129
|
|
|
130
|
+
/**
|
|
131
|
+
* A pixel format containing a red channel
|
|
132
|
+
*
|
|
133
|
+
* @type {Number}
|
|
134
|
+
* @constant
|
|
135
|
+
*/
|
|
136
|
+
RED: WebGLConstants.WebGLConstants.RED,
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* A pixel format containing red and green channels.
|
|
140
|
+
*
|
|
141
|
+
* @type {Number}
|
|
142
|
+
* @constant
|
|
143
|
+
*/
|
|
144
|
+
RG: WebGLConstants.WebGLConstants.RG,
|
|
145
|
+
|
|
130
146
|
/**
|
|
131
147
|
* A pixel format containing red, green, and blue channels.
|
|
132
148
|
*
|
|
@@ -274,8 +290,10 @@ define(['./defaultValue-0a909f67', './Check-666ab1a0', './WebGLConstants-a8cc3e8
|
|
|
274
290
|
case PixelFormat.RGBA:
|
|
275
291
|
return 4;
|
|
276
292
|
case PixelFormat.LUMINANCE_ALPHA:
|
|
293
|
+
case PixelFormat.RG:
|
|
277
294
|
return 2;
|
|
278
295
|
case PixelFormat.ALPHA:
|
|
296
|
+
case PixelFormat.RED:
|
|
279
297
|
case PixelFormat.LUMINANCE:
|
|
280
298
|
return 1;
|
|
281
299
|
default:
|
|
@@ -291,6 +309,8 @@ define(['./defaultValue-0a909f67', './Check-666ab1a0', './WebGLConstants-a8cc3e8
|
|
|
291
309
|
pixelFormat === PixelFormat.DEPTH_COMPONENT ||
|
|
292
310
|
pixelFormat === PixelFormat.DEPTH_STENCIL ||
|
|
293
311
|
pixelFormat === PixelFormat.ALPHA ||
|
|
312
|
+
pixelFormat === PixelFormat.RED ||
|
|
313
|
+
pixelFormat === PixelFormat.RG ||
|
|
294
314
|
pixelFormat === PixelFormat.RGB ||
|
|
295
315
|
pixelFormat === PixelFormat.RGBA ||
|
|
296
316
|
pixelFormat === PixelFormat.LUMINANCE ||
|
|
@@ -565,7 +585,7 @@ define(['./defaultValue-0a909f67', './Check-666ab1a0', './WebGLConstants-a8cc3e8
|
|
|
565
585
|
return WebGLConstants.WebGLConstants.RGB32F;
|
|
566
586
|
case PixelFormat.RG:
|
|
567
587
|
return WebGLConstants.WebGLConstants.RG32F;
|
|
568
|
-
case PixelFormat.
|
|
588
|
+
case PixelFormat.RED:
|
|
569
589
|
return WebGLConstants.WebGLConstants.R32F;
|
|
570
590
|
}
|
|
571
591
|
}
|
|
@@ -578,7 +598,7 @@ define(['./defaultValue-0a909f67', './Check-666ab1a0', './WebGLConstants-a8cc3e8
|
|
|
578
598
|
return WebGLConstants.WebGLConstants.RGB16F;
|
|
579
599
|
case PixelFormat.RG:
|
|
580
600
|
return WebGLConstants.WebGLConstants.RG16F;
|
|
581
|
-
case PixelFormat.
|
|
601
|
+
case PixelFormat.RED:
|
|
582
602
|
return WebGLConstants.WebGLConstants.R16F;
|
|
583
603
|
}
|
|
584
604
|
}
|