@cesium/engine 18.3.1-ion.0 → 19.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.
Files changed (171) hide show
  1. package/Build/ThirdParty/Workers/z-worker-pako.js +75 -91
  2. package/Build/Workers/{chunk-VOGSSU24.js → chunk-23FRF5ZP.js} +9 -9
  3. package/Build/Workers/{chunk-AZK5KSZ4.js → chunk-25USKS4R.js} +6 -6
  4. package/Build/Workers/{chunk-4B4HLHFO.js → chunk-34DFERFC.js} +12 -12
  5. package/Build/Workers/{chunk-HTB5PIYZ.js → chunk-37IYBZDZ.js} +9 -9
  6. package/Build/Workers/{chunk-NZVPOOOT.js → chunk-4NRFVAG2.js} +5 -5
  7. package/Build/Workers/{chunk-QXOWDZYZ.js → chunk-4QWLEG4L.js} +14 -14
  8. package/Build/Workers/{chunk-XW6DEZZE.js → chunk-5VPO47LB.js} +8 -8
  9. package/Build/Workers/{chunk-FKO2XRXZ.js → chunk-5YCDPN3O.js} +1 -1
  10. package/Build/Workers/{chunk-HRF2GFMF.js → chunk-6T2PQKYP.js} +4 -4
  11. package/Build/Workers/{chunk-IDHHSZTD.js → chunk-AABNX23Q.js} +5 -5
  12. package/Build/Workers/{chunk-6FY4D6KD.js → chunk-AZPKFL5X.js} +5 -5
  13. package/Build/Workers/{chunk-HQCLIHYE.js → chunk-C36VNKTH.js} +4 -4
  14. package/Build/Workers/{chunk-AX3B4SGH.js → chunk-DAHXCIOX.js} +8 -8
  15. package/Build/Workers/{chunk-QKYGO6XL.js → chunk-DNCRKMCI.js} +6 -6
  16. package/Build/Workers/{chunk-S2BFGC4W.js → chunk-DPFAUGBE.js} +2 -2
  17. package/Build/Workers/{chunk-ADA7OX2I.js → chunk-DXYAD4ED.js} +1 -1
  18. package/Build/Workers/{chunk-Z2GDV3MT.js → chunk-E6NMEKSS.js} +4 -4
  19. package/Build/Workers/{chunk-52DTHTKR.js → chunk-ECWQXDZY.js} +16 -16
  20. package/Build/Workers/{chunk-NGFYQUAX.js → chunk-ESDVZ4QL.js} +10 -10
  21. package/Build/Workers/{chunk-BF2HFWMG.js → chunk-ETCPCGKC.js} +2 -2
  22. package/Build/Workers/{chunk-SKVVOFGK.js → chunk-EV4PBU7O.js} +1 -1
  23. package/Build/Workers/{chunk-XLDLCV2F.js → chunk-FQNSMOZT.js} +4 -4
  24. package/Build/Workers/{chunk-76WKZOUK.js → chunk-GO3IRH6U.js} +6 -6
  25. package/Build/Workers/{chunk-UXCG22U4.js → chunk-GVO3YIU2.js} +4 -4
  26. package/Build/Workers/{chunk-SMLHKQNB.js → chunk-HHHBRTSW.js} +9 -9
  27. package/Build/Workers/{chunk-UHLWUS37.js → chunk-HJ6KFRM7.js} +16 -16
  28. package/Build/Workers/{chunk-JUYK3CDA.js → chunk-IE2BEHLE.js} +12 -12
  29. package/Build/Workers/{chunk-IYXAFSJX.js → chunk-JZVUMRYA.js} +13 -13
  30. package/Build/Workers/{chunk-E7KSST7M.js → chunk-K5VGMGFM.js} +7 -7
  31. package/Build/Workers/{chunk-DILVD7VK.js → chunk-KTDHOEXR.js} +1 -1
  32. package/Build/Workers/{chunk-TLR6NX6R.js → chunk-MBDKO456.js} +5 -5
  33. package/Build/Workers/{chunk-WMSBRWGI.js → chunk-MUL374P3.js} +2 -2
  34. package/Build/Workers/{chunk-QREBKKN5.js → chunk-NKM2EV46.js} +1 -1
  35. package/Build/Workers/{chunk-2XJLU3UN.js → chunk-NMAT4IJ6.js} +7 -7
  36. package/Build/Workers/{chunk-7G2O6QH3.js → chunk-PAH73ETP.js} +5 -5
  37. package/Build/Workers/{chunk-G2VBRELF.js → chunk-Q2QXUN33.js} +2 -2
  38. package/Build/Workers/{chunk-B3LHDD7Q.js → chunk-RIQM3XY5.js} +4 -4
  39. package/Build/Workers/{chunk-ILTPHRDS.js → chunk-RZJA77TX.js} +6 -6
  40. package/Build/Workers/{chunk-MIUZNGES.js → chunk-SO2Z6H6F.js} +2 -2
  41. package/Build/Workers/{chunk-UX2S2KIQ.js → chunk-SOYVF5RC.js} +2 -2
  42. package/Build/Workers/{chunk-VFEUHPSM.js → chunk-SVGHDIZG.js} +5 -5
  43. package/Build/Workers/{chunk-NL2YZDVI.js → chunk-SXMHGVZ7.js} +12 -12
  44. package/Build/Workers/{chunk-S2JHBHWB.js → chunk-T7C73J6H.js} +4 -4
  45. package/Build/Workers/{chunk-KGB6H3RI.js → chunk-UPU755HO.js} +12 -12
  46. package/Build/Workers/{chunk-IHRAESIS.js → chunk-VCCR35R6.js} +11 -11
  47. package/Build/Workers/{chunk-QMKOMHVM.js → chunk-W32QSECR.js} +6 -6
  48. package/Build/Workers/{chunk-3UEVA4NO.js → chunk-WUMTX3FI.js} +6 -6
  49. package/Build/Workers/{chunk-2Y2IF6ZP.js → chunk-XUYCCEG6.js} +5 -5
  50. package/Build/Workers/{chunk-Q6SJKTTQ.js → chunk-Y3PM6G2V.js} +3 -3
  51. package/Build/Workers/{chunk-FBPIDRZN.js → chunk-Y6LLFNXN.js} +10 -10
  52. package/Build/Workers/{chunk-ERTHACXD.js → chunk-YPNIIVIF.js} +6 -6
  53. package/Build/Workers/{chunk-EZUKH7KU.js → chunk-ZNEIUXBK.js} +7 -7
  54. package/Build/Workers/combineGeometry.js +21 -21
  55. package/Build/Workers/createBoxGeometry.js +15 -15
  56. package/Build/Workers/createBoxOutlineGeometry.js +13 -13
  57. package/Build/Workers/createCircleGeometry.js +23 -23
  58. package/Build/Workers/createCircleOutlineGeometry.js +16 -16
  59. package/Build/Workers/createCoplanarPolygonGeometry.js +30 -30
  60. package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +28 -28
  61. package/Build/Workers/createCorridorGeometry.js +26 -26
  62. package/Build/Workers/createCorridorOutlineGeometry.js +25 -25
  63. package/Build/Workers/createCylinderGeometry.js +17 -17
  64. package/Build/Workers/createCylinderOutlineGeometry.js +15 -15
  65. package/Build/Workers/createEllipseGeometry.js +23 -23
  66. package/Build/Workers/createEllipseOutlineGeometry.js +16 -16
  67. package/Build/Workers/createEllipsoidGeometry.js +16 -16
  68. package/Build/Workers/createEllipsoidOutlineGeometry.js +15 -15
  69. package/Build/Workers/createFrustumGeometry.js +15 -15
  70. package/Build/Workers/createFrustumOutlineGeometry.js +15 -15
  71. package/Build/Workers/createGeometry.js +21 -21
  72. package/Build/Workers/createGroundPolylineGeometry.js +19 -19
  73. package/Build/Workers/createPlaneGeometry.js +13 -13
  74. package/Build/Workers/createPlaneOutlineGeometry.js +12 -12
  75. package/Build/Workers/createPolygonGeometry.js +29 -29
  76. package/Build/Workers/createPolygonOutlineGeometry.js +27 -27
  77. package/Build/Workers/createPolylineGeometry.js +22 -22
  78. package/Build/Workers/createPolylineVolumeGeometry.js +28 -28
  79. package/Build/Workers/createPolylineVolumeOutlineGeometry.js +24 -24
  80. package/Build/Workers/createRectangleGeometry.js +24 -24
  81. package/Build/Workers/createRectangleOutlineGeometry.js +17 -17
  82. package/Build/Workers/createSimplePolylineGeometry.js +20 -20
  83. package/Build/Workers/createSphereGeometry.js +16 -16
  84. package/Build/Workers/createSphereOutlineGeometry.js +15 -15
  85. package/Build/Workers/createTaskProcessorWorker.js +3 -3
  86. package/Build/Workers/createVectorTileClampedPolylines.js +12 -12
  87. package/Build/Workers/createVectorTileGeometries.js +21 -21
  88. package/Build/Workers/createVectorTilePoints.js +11 -11
  89. package/Build/Workers/createVectorTilePolygons.js +19 -19
  90. package/Build/Workers/createVectorTilePolylines.js +12 -12
  91. package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +19 -19
  92. package/Build/Workers/createVerticesFromHeightmap.js +19 -19
  93. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +16 -16
  94. package/Build/Workers/createWallGeometry.js +21 -21
  95. package/Build/Workers/createWallOutlineGeometry.js +20 -20
  96. package/Build/Workers/decodeDraco.js +10 -10
  97. package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
  98. package/Build/Workers/decodeI3S.js +9 -9
  99. package/Build/Workers/gaussianSplatSorter.js +4 -4
  100. package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
  101. package/Build/Workers/transcodeKTX2.js +6 -6
  102. package/Build/Workers/transferTypedArrayTest.js +1 -1
  103. package/Build/Workers/upsampleQuantizedTerrainMesh.js +19 -19
  104. package/LICENSE.md +32 -25
  105. package/Source/Core/ITwinPlatform.js +8 -1
  106. package/Source/Core/Ion.js +1 -1
  107. package/Source/Core/ScreenSpaceEventHandler.js +3 -3
  108. package/Source/Core/addAllToArray.js +40 -0
  109. package/Source/DataSources/StaticGroundGeometryPerMaterialBatch.js +54 -26
  110. package/Source/Renderer/Context.js +8 -4
  111. package/Source/Renderer/Renderbuffer.js +4 -2
  112. package/Source/Renderer/Sampler.js +13 -0
  113. package/Source/Renderer/ShaderBuilder.js +7 -6
  114. package/Source/Renderer/SharedContext.js +186 -0
  115. package/Source/Renderer/Texture.js +4 -5
  116. package/Source/Renderer/Texture3D.js +17 -7
  117. package/Source/Scene/ArcGisMapService.js +1 -1
  118. package/Source/Scene/BillboardCollection.js +1 -1
  119. package/Source/Scene/Cesium3DTileBatchTable.js +6 -4
  120. package/Source/Scene/Cesium3DTileStyle.js +4 -3
  121. package/Source/Scene/Cesium3DTileset.js +1 -1
  122. package/Source/Scene/ConditionsExpression.js +3 -2
  123. package/Source/Scene/GaussianSplatPrimitive.js +1 -1
  124. package/Source/Scene/GltfLoader.js +3 -2
  125. package/Source/Scene/GltfPipeline/ForEach.js +7 -7
  126. package/Source/Scene/GltfPipeline/addDefaults.js +1 -2
  127. package/Source/Scene/GltfPipeline/addToArray.js +2 -0
  128. package/Source/Scene/GltfPipeline/findAccessorMinMax.js +1 -1
  129. package/Source/Scene/GltfPipeline/getComponentReader.js +16 -16
  130. package/Source/Scene/GltfPipeline/moveTechniqueRenderStates.js +1 -1
  131. package/Source/Scene/GltfPipeline/moveTechniquesToExtension.js +3 -3
  132. package/Source/Scene/GltfPipeline/parseGlb.js +1 -1
  133. package/Source/Scene/GltfPipeline/readAccessorPacked.js +2 -2
  134. package/Source/Scene/GltfPipeline/removeUnusedElements.js +5 -6
  135. package/Source/Scene/GltfPipeline/updateAccessorComponentTypes.js +1 -1
  136. package/Source/Scene/GltfPipeline/updateVersion.js +13 -13
  137. package/Source/Scene/GltfSpzLoader.js +3 -1
  138. package/Source/Scene/HeightReference.js +1 -1
  139. package/Source/Scene/ITwinData.js +97 -34
  140. package/Source/Scene/ImageBasedLighting.js +6 -2
  141. package/Source/Scene/ImageryLayer.js +10 -10
  142. package/Source/Scene/MetadataTableProperty.js +2 -1
  143. package/Source/Scene/Model/ClassificationModelDrawCommand.js +7 -6
  144. package/Source/Scene/Model/GeoJsonLoader.js +3 -1
  145. package/Source/Scene/Model/ImageryConfiguration.js +1 -0
  146. package/Source/Scene/Model/ImageryPipelineStage.js +8 -2
  147. package/Source/Scene/Model/InstancingPipelineStage.js +3 -8
  148. package/Source/Scene/Model/MaterialPipelineStage.js +10 -1
  149. package/Source/Scene/Model/ModelImagery.js +3 -0
  150. package/Source/Scene/Model/ModelSceneGraph.js +2 -1
  151. package/Source/Scene/Picking.js +41 -1
  152. package/Source/Scene/Primitive.js +0 -1
  153. package/Source/Scene/PrimitiveCollection.js +32 -6
  154. package/Source/Scene/PrimitiveLoadPlan.js +0 -36
  155. package/Source/Scene/PropertyTable.js +7 -12
  156. package/Source/Scene/Scene.js +41 -32
  157. package/Source/Scene/ScreenSpaceCameraController.js +2 -0
  158. package/Source/Shaders/Builtin/Functions/modelToWindowCoordinates.glsl +2 -1
  159. package/Source/Shaders/Builtin/Functions/modelToWindowCoordinates.js +2 -1
  160. package/Source/Shaders/EllipsoidVS.glsl +4 -4
  161. package/Source/Shaders/EllipsoidVS.js +4 -4
  162. package/Source/Shaders/FXAA3_11.glsl +2 -0
  163. package/Source/Shaders/FXAA3_11.js +2 -0
  164. package/Source/Shaders/GlobeVS.glsl +2 -1
  165. package/Source/Shaders/GlobeVS.js +2 -1
  166. package/Source/Shaders/SkyAtmosphereVS.glsl +2 -1
  167. package/Source/Shaders/SkyAtmosphereVS.js +2 -1
  168. package/Source/ThirdParty/Workers/z-worker-pako.js +1 -1
  169. package/index.d.ts +82 -53
  170. package/index.js +244 -242
  171. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,50 +25,50 @@
25
25
 
26
26
  import {
27
27
  WallGeometryLibrary_default
28
- } from "./chunk-QMKOMHVM.js";
29
- import "./chunk-NGFYQUAX.js";
30
- import "./chunk-TLR6NX6R.js";
28
+ } from "./chunk-W32QSECR.js";
29
+ import "./chunk-ESDVZ4QL.js";
30
+ import "./chunk-MBDKO456.js";
31
31
  import {
32
32
  VertexFormat_default
33
- } from "./chunk-HRF2GFMF.js";
34
- import "./chunk-B3LHDD7Q.js";
35
- import "./chunk-2Y2IF6ZP.js";
36
- import "./chunk-AZK5KSZ4.js";
37
- import "./chunk-ILTPHRDS.js";
33
+ } from "./chunk-6T2PQKYP.js";
34
+ import "./chunk-RIQM3XY5.js";
35
+ import "./chunk-XUYCCEG6.js";
36
+ import "./chunk-25USKS4R.js";
37
+ import "./chunk-RZJA77TX.js";
38
38
  import {
39
39
  IndexDatatype_default
40
- } from "./chunk-6FY4D6KD.js";
40
+ } from "./chunk-AZPKFL5X.js";
41
41
  import {
42
42
  GeometryAttributes_default
43
- } from "./chunk-BF2HFWMG.js";
43
+ } from "./chunk-ETCPCGKC.js";
44
44
  import {
45
45
  GeometryAttribute_default,
46
46
  Geometry_default,
47
47
  PrimitiveType_default
48
- } from "./chunk-QKYGO6XL.js";
48
+ } from "./chunk-DNCRKMCI.js";
49
49
  import {
50
50
  BoundingSphere_default
51
- } from "./chunk-76WKZOUK.js";
52
- import "./chunk-3UEVA4NO.js";
51
+ } from "./chunk-GO3IRH6U.js";
52
+ import "./chunk-WUMTX3FI.js";
53
53
  import {
54
54
  ComponentDatatype_default
55
- } from "./chunk-XLDLCV2F.js";
55
+ } from "./chunk-FQNSMOZT.js";
56
56
  import {
57
57
  Cartesian3_default,
58
58
  Ellipsoid_default,
59
59
  Frozen_default
60
- } from "./chunk-Z2GDV3MT.js";
60
+ } from "./chunk-E6NMEKSS.js";
61
61
  import {
62
62
  Math_default
63
- } from "./chunk-Q6SJKTTQ.js";
64
- import "./chunk-ADA7OX2I.js";
65
- import "./chunk-G2VBRELF.js";
63
+ } from "./chunk-Y3PM6G2V.js";
64
+ import "./chunk-DXYAD4ED.js";
65
+ import "./chunk-Q2QXUN33.js";
66
66
  import {
67
67
  DeveloperError_default
68
- } from "./chunk-UX2S2KIQ.js";
68
+ } from "./chunk-SOYVF5RC.js";
69
69
  import {
70
70
  defined_default
71
- } from "./chunk-SKVVOFGK.js";
71
+ } from "./chunk-EV4PBU7O.js";
72
72
 
73
73
  // packages/engine/Source/Core/WallGeometry.js
74
74
  var scratchCartesian3Position1 = new Cartesian3_default();
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,47 +25,47 @@
25
25
 
26
26
  import {
27
27
  WallGeometryLibrary_default
28
- } from "./chunk-QMKOMHVM.js";
29
- import "./chunk-NGFYQUAX.js";
30
- import "./chunk-TLR6NX6R.js";
31
- import "./chunk-B3LHDD7Q.js";
32
- import "./chunk-2Y2IF6ZP.js";
33
- import "./chunk-AZK5KSZ4.js";
34
- import "./chunk-ILTPHRDS.js";
28
+ } from "./chunk-W32QSECR.js";
29
+ import "./chunk-ESDVZ4QL.js";
30
+ import "./chunk-MBDKO456.js";
31
+ import "./chunk-RIQM3XY5.js";
32
+ import "./chunk-XUYCCEG6.js";
33
+ import "./chunk-25USKS4R.js";
34
+ import "./chunk-RZJA77TX.js";
35
35
  import {
36
36
  IndexDatatype_default
37
- } from "./chunk-6FY4D6KD.js";
37
+ } from "./chunk-AZPKFL5X.js";
38
38
  import {
39
39
  GeometryAttributes_default
40
- } from "./chunk-BF2HFWMG.js";
40
+ } from "./chunk-ETCPCGKC.js";
41
41
  import {
42
42
  GeometryAttribute_default,
43
43
  Geometry_default,
44
44
  PrimitiveType_default
45
- } from "./chunk-QKYGO6XL.js";
45
+ } from "./chunk-DNCRKMCI.js";
46
46
  import {
47
47
  BoundingSphere_default
48
- } from "./chunk-76WKZOUK.js";
49
- import "./chunk-3UEVA4NO.js";
48
+ } from "./chunk-GO3IRH6U.js";
49
+ import "./chunk-WUMTX3FI.js";
50
50
  import {
51
51
  ComponentDatatype_default
52
- } from "./chunk-XLDLCV2F.js";
52
+ } from "./chunk-FQNSMOZT.js";
53
53
  import {
54
54
  Cartesian3_default,
55
55
  Ellipsoid_default,
56
56
  Frozen_default
57
- } from "./chunk-Z2GDV3MT.js";
57
+ } from "./chunk-E6NMEKSS.js";
58
58
  import {
59
59
  Math_default
60
- } from "./chunk-Q6SJKTTQ.js";
61
- import "./chunk-ADA7OX2I.js";
62
- import "./chunk-G2VBRELF.js";
60
+ } from "./chunk-Y3PM6G2V.js";
61
+ import "./chunk-DXYAD4ED.js";
62
+ import "./chunk-Q2QXUN33.js";
63
63
  import {
64
64
  DeveloperError_default
65
- } from "./chunk-UX2S2KIQ.js";
65
+ } from "./chunk-SOYVF5RC.js";
66
66
  import {
67
67
  defined_default
68
- } from "./chunk-SKVVOFGK.js";
68
+ } from "./chunk-EV4PBU7O.js";
69
69
 
70
70
  // packages/engine/Source/Core/WallOutlineGeometry.js
71
71
  var scratchCartesian3Position1 = new Cartesian3_default();
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,26 +25,26 @@
25
25
 
26
26
  import {
27
27
  require_draco_decoder_nodejs
28
- } from "./chunk-WMSBRWGI.js";
28
+ } from "./chunk-MUL374P3.js";
29
29
  import {
30
30
  createTaskProcessorWorker_default
31
- } from "./chunk-S2BFGC4W.js";
31
+ } from "./chunk-DPFAUGBE.js";
32
32
  import {
33
33
  IndexDatatype_default
34
- } from "./chunk-6FY4D6KD.js";
34
+ } from "./chunk-AZPKFL5X.js";
35
35
  import {
36
36
  ComponentDatatype_default
37
- } from "./chunk-XLDLCV2F.js";
38
- import "./chunk-Q6SJKTTQ.js";
39
- import "./chunk-ADA7OX2I.js";
37
+ } from "./chunk-FQNSMOZT.js";
38
+ import "./chunk-Y3PM6G2V.js";
39
+ import "./chunk-DXYAD4ED.js";
40
40
  import {
41
41
  RuntimeError_default
42
- } from "./chunk-G2VBRELF.js";
43
- import "./chunk-UX2S2KIQ.js";
42
+ } from "./chunk-Q2QXUN33.js";
43
+ import "./chunk-SOYVF5RC.js";
44
44
  import {
45
45
  __toESM,
46
46
  defined_default
47
- } from "./chunk-SKVVOFGK.js";
47
+ } from "./chunk-EV4PBU7O.js";
48
48
 
49
49
  // packages/engine/Source/Workers/decodeDraco.js
50
50
  var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,18 +25,18 @@
25
25
 
26
26
  import {
27
27
  createTaskProcessorWorker_default
28
- } from "./chunk-S2BFGC4W.js";
28
+ } from "./chunk-DPFAUGBE.js";
29
29
  import {
30
30
  RuntimeError_default
31
- } from "./chunk-G2VBRELF.js";
31
+ } from "./chunk-Q2QXUN33.js";
32
32
  import {
33
33
  Check_default
34
- } from "./chunk-UX2S2KIQ.js";
34
+ } from "./chunk-SOYVF5RC.js";
35
35
  import {
36
36
  __commonJS,
37
37
  __toESM,
38
38
  defined_default
39
- } from "./chunk-SKVVOFGK.js";
39
+ } from "./chunk-EV4PBU7O.js";
40
40
 
41
41
  // node_modules/pako/lib/zlib/adler32.js
42
42
  var require_adler32 = __commonJS({
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,32 +25,32 @@
25
25
 
26
26
  import {
27
27
  require_draco_decoder_nodejs
28
- } from "./chunk-WMSBRWGI.js";
28
+ } from "./chunk-MUL374P3.js";
29
29
  import {
30
30
  Color_default
31
- } from "./chunk-VFEUHPSM.js";
31
+ } from "./chunk-SVGHDIZG.js";
32
32
  import {
33
33
  createTaskProcessorWorker_default
34
- } from "./chunk-S2BFGC4W.js";
34
+ } from "./chunk-DPFAUGBE.js";
35
35
  import {
36
36
  WebMercatorProjection_default
37
- } from "./chunk-NZVPOOOT.js";
37
+ } from "./chunk-4NRFVAG2.js";
38
38
  import {
39
39
  Cartesian3_default,
40
40
  Cartographic_default,
41
41
  Ellipsoid_default,
42
42
  Matrix3_default
43
- } from "./chunk-Z2GDV3MT.js";
43
+ } from "./chunk-E6NMEKSS.js";
44
44
  import {
45
45
  Math_default
46
- } from "./chunk-Q6SJKTTQ.js";
46
+ } from "./chunk-Y3PM6G2V.js";
47
47
  import {
48
48
  Check_default
49
- } from "./chunk-UX2S2KIQ.js";
49
+ } from "./chunk-SOYVF5RC.js";
50
50
  import {
51
51
  __toESM,
52
52
  defined_default
53
- } from "./chunk-SKVVOFGK.js";
53
+ } from "./chunk-EV4PBU7O.js";
54
54
 
55
55
  // packages/engine/Source/Workers/decodeI3S.js
56
56
  var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -26,13 +26,13 @@
26
26
  import {
27
27
  initSync,
28
28
  radix_sort_gaussians_indexes
29
- } from "./chunk-DILVD7VK.js";
29
+ } from "./chunk-KTDHOEXR.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-S2BFGC4W.js";
32
+ } from "./chunk-DPFAUGBE.js";
33
33
  import {
34
34
  defined_default
35
- } from "./chunk-SKVVOFGK.js";
35
+ } from "./chunk-EV4PBU7O.js";
36
36
 
37
37
  // packages/engine/Source/Workers/gaussianSplatSorter.js
38
38
  async function initWorker(parameters, transferableObjects) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -26,13 +26,13 @@
26
26
  import {
27
27
  generate_splat_texture,
28
28
  initSync
29
- } from "./chunk-DILVD7VK.js";
29
+ } from "./chunk-KTDHOEXR.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-S2BFGC4W.js";
32
+ } from "./chunk-DPFAUGBE.js";
33
33
  import {
34
34
  defined_default
35
- } from "./chunk-SKVVOFGK.js";
35
+ } from "./chunk-EV4PBU7O.js";
36
36
 
37
37
  // packages/engine/Source/Workers/gaussianSplatTextureGenerator.js
38
38
  async function initWorker(parameters, transferableObjects) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,22 +25,22 @@
25
25
 
26
26
  import {
27
27
  createTaskProcessorWorker_default
28
- } from "./chunk-S2BFGC4W.js";
28
+ } from "./chunk-DPFAUGBE.js";
29
29
  import {
30
30
  WebGLConstants_default
31
- } from "./chunk-ADA7OX2I.js";
31
+ } from "./chunk-DXYAD4ED.js";
32
32
  import {
33
33
  RuntimeError_default
34
- } from "./chunk-G2VBRELF.js";
34
+ } from "./chunk-Q2QXUN33.js";
35
35
  import {
36
36
  Check_default
37
- } from "./chunk-UX2S2KIQ.js";
37
+ } from "./chunk-SOYVF5RC.js";
38
38
  import {
39
39
  __commonJS,
40
40
  __require,
41
41
  __toESM,
42
42
  defined_default
43
- } from "./chunk-SKVVOFGK.js";
43
+ } from "./chunk-EV4PBU7O.js";
44
44
 
45
45
  // packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
46
46
  var require_basis_transcoder = __commonJS({
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.131.1-ion
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -26,48 +26,48 @@
26
26
  import {
27
27
  EllipsoidalOccluder_default,
28
28
  TerrainEncoding_default
29
- } from "./chunk-VOGSSU24.js";
29
+ } from "./chunk-23FRF5ZP.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-S2BFGC4W.js";
32
+ } from "./chunk-DPFAUGBE.js";
33
33
  import {
34
34
  OrientedBoundingBox_default
35
- } from "./chunk-SMLHKQNB.js";
35
+ } from "./chunk-HHHBRTSW.js";
36
36
  import {
37
37
  AttributeCompression_default
38
- } from "./chunk-E7KSST7M.js";
39
- import "./chunk-AX3B4SGH.js";
40
- import "./chunk-IDHHSZTD.js";
41
- import "./chunk-AZK5KSZ4.js";
42
- import "./chunk-ILTPHRDS.js";
38
+ } from "./chunk-K5VGMGFM.js";
39
+ import "./chunk-DAHXCIOX.js";
40
+ import "./chunk-AABNX23Q.js";
41
+ import "./chunk-25USKS4R.js";
42
+ import "./chunk-RZJA77TX.js";
43
43
  import {
44
44
  IndexDatatype_default
45
- } from "./chunk-6FY4D6KD.js";
45
+ } from "./chunk-AZPKFL5X.js";
46
46
  import {
47
47
  BoundingSphere_default
48
- } from "./chunk-76WKZOUK.js";
48
+ } from "./chunk-GO3IRH6U.js";
49
49
  import {
50
50
  Rectangle_default
51
- } from "./chunk-3UEVA4NO.js";
52
- import "./chunk-XLDLCV2F.js";
51
+ } from "./chunk-WUMTX3FI.js";
52
+ import "./chunk-FQNSMOZT.js";
53
53
  import {
54
54
  Cartesian2_default,
55
55
  Cartesian3_default,
56
56
  Cartographic_default,
57
57
  Ellipsoid_default
58
- } from "./chunk-Z2GDV3MT.js";
58
+ } from "./chunk-E6NMEKSS.js";
59
59
  import {
60
60
  Math_default
61
- } from "./chunk-Q6SJKTTQ.js";
62
- import "./chunk-ADA7OX2I.js";
63
- import "./chunk-G2VBRELF.js";
61
+ } from "./chunk-Y3PM6G2V.js";
62
+ import "./chunk-DXYAD4ED.js";
63
+ import "./chunk-Q2QXUN33.js";
64
64
  import {
65
65
  Check_default,
66
66
  DeveloperError_default
67
- } from "./chunk-UX2S2KIQ.js";
67
+ } from "./chunk-SOYVF5RC.js";
68
68
  import {
69
69
  defined_default
70
- } from "./chunk-SKVVOFGK.js";
70
+ } from "./chunk-EV4PBU7O.js";
71
71
 
72
72
  // packages/engine/Source/Core/Intersections2D.js
73
73
  var Intersections2D = {};
package/LICENSE.md CHANGED
@@ -305,35 +305,42 @@ https://gist.github.com/banksean/300494
305
305
  >
306
306
  > THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
307
307
 
308
- ### NVIDIA GameWorks Graphics Samples
308
+ ### NVIDIA GameWorks FXAA Shader
309
309
 
310
- https://github.com/NVIDIAGameWorks/GraphicsSamples
310
+ Original source (archived): https://archive.org/details/nvidiagame-works-graphics-samples-master
311
+ Fork: https://github.com/lyntel/GraphicsSamples/blob/3d30817ebeeade64fe6a4fc3aa1fe4265c29b6fd/samples/es3-kepler/FXAA/FXAA3_11.h
311
312
 
312
- > Copyright 2016 NVIDIA Corporation
313
+ > ----------------------------------------------------------------------------------
314
+ > File: es3-kepler\FXAA/FXAA3_11.h
315
+ > SDK Version: v3.00
316
+ > Email: gameworks@nvidia.com
317
+ > Site: http://developer.nvidia.com/
313
318
  >
314
- > BY DOWNLOADING THE SOFTWARE AND OTHER AVAILABLE MATERIALS, YOU ("DEVELOPER") AGREE TO BE BOUND BY THE FOLLOWING TERMS AND CONDITIONS
319
+ > Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
315
320
  >
316
- > The materials available for download to Developers may include software in both sample source ("Source Code") and object code ("Object Code") versions, documentation ("Documentation"), certain art work ("Art Assets") and other materials (collectively, these materials referred to herein as "Materials"). Except as expressly indicated herein, all terms and conditions of this Agreement apply to all of the Materials.
317
- >
318
- > Except as expressly set forth herein, NVIDIA owns all of the Materials and makes them available to Developer only under the terms and conditions set forth in this Agreement.
319
- >
320
- > License: Subject to the terms of this Agreement, NVIDIA hereby grants to Developer a royalty-free, non-exclusive license to possess and to use the Materials. The following terms apply to the specified type of Material:
321
- >
322
- > Source Code: Developer shall have the right to modify and create derivative works with the Source Code. Developer shall own any derivative works ("Derivatives") it creates to the Source Code, provided that Developer uses the Materials in accordance with the terms of this Agreement. Developer may distribute the Derivatives, provided that all NVIDIA copyright notices and trademarks are used properly and the Derivatives include the following statement: "This software contains source code provided by NVIDIA Corporation."
323
- >
324
- > Object Code: Developer agrees not to disassemble, decompile or reverse engineer the Object Code versions of any of the Materials. Developer acknowledges that certain of the Materials provided in Object Code version may contain third party components that may be subject to restrictions, and expressly agrees not to attempt to modify or distribute such Materials without first receiving consent from NVIDIA.
325
- >
326
- > Art Assets: Developer shall have the right to modify and create Derivatives of the Art Assets, but may not distribute any of the Art Assets or Derivatives created therefrom without NVIDIA's prior written consent.
327
- >
328
- > Government End Users: If you are acquiring the Software on behalf of any unit or agency of the United States Government, the following provisions apply. The Government agrees the Software and documentation were developed at private expense and are provided with "RESTRICTED RIGHTS". Use, duplication, or disclosure by the Government is subject to restrictions as set forth in DFARS 227.7202-1(a) and 227.7202-3(a) (1995), DFARS 252.227-7013(c)(1)(ii) (Oct 1988), FAR 12.212(a)(1995), FAR 52.227-19, (June 1987) or FAR 52.227-14(ALT III) (June 1987),as amended from time to time. In the event that this License, or any part thereof, is deemed inconsistent with the minimum rights identified in the Restricted Rights provisions, the minimum rights shall prevail.
329
- > No Other License. No rights or licenses are granted by NVIDIA under this License, expressly or by implication, with respect to any proprietary information or patent, copyright, trade secret or other intellectual property right owned or controlled by NVIDIA, except as expressly provided in this License.
330
- > Term: This License is effective until terminated. NVIDIA may terminate this Agreement (and with it, all of Developer's right to the Materials) immediately upon written notice (which may include email) to Developer, with or without cause.
331
- >
332
- > Support: NVIDIA has no obligation to support or to continue providing or updating any of the Materials.
333
- >
334
- > No Warranty: THE SOFTWARE AND ANY OTHER MATERIALS PROVIDED BY NVIDIA TO DEVELOPER HEREUNDER ARE PROVIDED "AS IS." NVIDIA DISCLAIMS ALL WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
335
- >
336
- > LIMITATION OF LIABILITY: NVIDIA SHALL NOT BE LIABLE TO DEVELOPER, DEVELOPER'S CUSTOMERS, OR ANY OTHER PERSON OR ENTITY CLAIMING THROUGH OR UNDER DEVELOPER FOR ANY LOSS OF PROFITS, INCOME, SAVINGS, OR ANY OTHER CONSEQUENTIAL, INCIDENTAL, SPECIAL, PUNITIVE, DIRECT OR INDIRECT DAMAGES (WHETHER IN AN ACTION IN CONTRACT, TORT OR BASED ON A WARRANTY), EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF THE ESSENTIAL PURPOSE OF ANY LIMITED REMEDY. IN NO EVENT SHALL NVIDIA'S AGGREGATE LIABILITY TO DEVELOPER OR ANY OTHER PERSON OR ENTITY CLAIMING THROUGH OR UNDER DEVELOPER EXCEED THE AMOUNT OF MONEY ACTUALLY PAID BY DEVELOPER TO NVIDIA FOR THE SOFTWARE OR ANY OTHER MATERIALS.
321
+ > Redistribution and use in source and binary forms, with or without
322
+ > modification, are permitted provided that the following conditions
323
+ > are met:
324
+ > * Redistributions of source code must retain the above copyright
325
+ > notice, this list of conditions and the following disclaimer.
326
+ > * Redistributions in binary form must reproduce the above copyright
327
+ > notice, this list of conditions and the following disclaimer in the
328
+ > documentation and/or other materials provided with the distribution.
329
+ > * Neither the name of NVIDIA CORPORATION nor the names of its
330
+ > contributors may be used to endorse or promote products derived
331
+ > from this software without specific prior written permission.
332
+ >
333
+ > THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
334
+ > EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
335
+ > IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
336
+ > PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
337
+ > CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
338
+ > EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
339
+ > PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
340
+ > PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
341
+ > OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
342
+ > (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
343
+ > OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
337
344
 
338
345
  ### jsep
339
346
 
@@ -153,13 +153,17 @@ ITwinPlatform.apiEndpoint = new Resource({
153
153
  * @private
154
154
  *
155
155
  * @param {string} iModelId iModel id
156
+ * @param {string} [changesetId] The id of the changeset to filter results by. If not provided, exports from the latest available changesets will be returned.
156
157
  * @returns {Promise<GetExportsResponse>}
157
158
  *
158
159
  * @throws {RuntimeError} If the iTwin API request is not successful
159
160
  */
160
- ITwinPlatform.getExports = async function (iModelId) {
161
+ ITwinPlatform.getExports = async function (iModelId, changesetId) {
161
162
  //>>includeStart('debug', pragmas.debug);
162
163
  Check.typeOf.string("iModelId", iModelId);
164
+ if (defined(changesetId)) {
165
+ Check.typeOf.string("changesetId", changesetId);
166
+ }
163
167
  if (
164
168
  !defined(ITwinPlatform.defaultAccessToken) &&
165
169
  !defined(ITwinPlatform.defaultShareKey)
@@ -191,6 +195,9 @@ ITwinPlatform.getExports = async function (iModelId) {
191
195
  if (typeof CESIUM_VERSION !== "undefined") {
192
196
  resource.appendQueryParameters({ clientVersion: CESIUM_VERSION });
193
197
  }
198
+ if (defined(changesetId) && changesetId !== "") {
199
+ resource.appendQueryParameters({ changesetId: changesetId });
200
+ }
194
201
 
195
202
  try {
196
203
  const response = await resource.fetchJson();
@@ -4,7 +4,7 @@ import Resource from "./Resource.js";
4
4
 
5
5
  let defaultTokenCredit;
6
6
  const defaultAccessToken =
7
- "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIwNDljNWFmZC03MzRlLTRiMDMtYWIwMi00Yjk4YWQ4NzQwZGEiLCJpZCI6MjU5LCJpYXQiOjE3NTEzNzkyMzR9.OTqPNs3UGNnT1LYkPTavV80wN8Es_YphpJgQcpdnqWc";
7
+ "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhNzg4MTAwYi1kMTg5LTRjNDItYTVlMi0wOTlhNGM0NTc5Y2YiLCJpZCI6MjU5LCJpYXQiOjE3NTQwNjAzNjJ9.5ei_XzXku4PefU_uHUlbhQnPS1sbv-BHo28oU2fj0Ig";
8
8
  /**
9
9
  * Default settings for accessing the Cesium ion API.
10
10
  *
@@ -981,9 +981,9 @@ function handlePointerMove(screenSpaceEventHandler, event) {
981
981
  function ScreenSpaceEventHandler(element) {
982
982
  this._inputEvents = {};
983
983
  this._buttonDown = {
984
- LEFT: false,
985
- MIDDLE: false,
986
- RIGHT: false,
984
+ [MouseButton.LEFT]: false,
985
+ [MouseButton.MIDDLE]: false,
986
+ [MouseButton.RIGHT]: false,
987
987
  };
988
988
  this._isPinching = false;
989
989
  this._isTouchHolding = false;
@@ -0,0 +1,40 @@
1
+ import defined from "./defined.js";
2
+
3
+ /**
4
+ * Adds all elements from the given source array to the given target array.
5
+ *
6
+ * If the <code>source</code> is <code>null</code>, <code>undefined</code>,
7
+ * or empty, then nothing will be done. Otherwise, this has the same
8
+ * semantics as<br>
9
+ * <code>for (const s of source) target.push(s);</code><br>
10
+ * but is usually more efficient than a <code>for</code>-loop, and does not
11
+ * put the elements of the source on the stack, as it would be done with the
12
+ * spread operator or when using <code>target.push.apply(source)</code>.
13
+ *
14
+ * @function
15
+ * @private
16
+ *
17
+ * @param {Array} target The target array
18
+ * @param {Array|undefined} source The source array
19
+ *
20
+ * @example
21
+ * const target = [ 0, 1, 2 ];
22
+ * const source = [ 3, 4, 5 ];
23
+ * Cesium.addAllToArray(target, source);
24
+ * // The target is now [ 0, 1, 2, 3, 4, 5 ]
25
+ */
26
+ function addAllToArray(target, source) {
27
+ if (!defined(source)) {
28
+ return;
29
+ }
30
+ const sourceLength = source.length;
31
+ if (sourceLength === 0) {
32
+ return;
33
+ }
34
+ const targetLength = target.length;
35
+ target.length += sourceLength;
36
+ for (let i = 0; i < sourceLength; i++) {
37
+ target[targetLength + i] = source[i];
38
+ }
39
+ }
40
+ export default addAllToArray;