@pggis/pg-sdk 3.3.10 → 3.5.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 (163) hide show
  1. package/README.md +8 -8
  2. package/dist/index.js +1966 -4
  3. package/dist/pggis.min.css +1 -1
  4. package/dist/resources/ThirdParty/Workers/pako_deflate.min.js +1 -2
  5. package/dist/resources/ThirdParty/Workers/pako_inflate.min.js +1 -2
  6. package/dist/resources/ThirdParty/Workers/z-worker-pako.js +1 -1
  7. package/dist/resources/ThirdParty/google-earth-dbroot-parser.js +1 -8337
  8. package/dist/resources/ThirdParty/wasm_splats_bg.wasm +0 -0
  9. package/dist/resources/Workers/chunk-35SHYARM.js +26 -0
  10. package/dist/resources/Workers/chunk-37F5JSTI.js +26 -0
  11. package/dist/resources/Workers/chunk-3SSKC3VN.js +26 -0
  12. package/dist/resources/Workers/chunk-3W4GT7KQ.js +26 -0
  13. package/dist/resources/Workers/chunk-4IW2T6GF.js +26 -0
  14. package/dist/resources/Workers/chunk-5YEWO3HT.js +26 -0
  15. package/dist/resources/Workers/chunk-64RSHJUE.js +28 -0
  16. package/dist/resources/Workers/chunk-77IHZJJ3.js +26 -0
  17. package/dist/resources/Workers/chunk-7HTKERZY.js +26 -0
  18. package/dist/resources/Workers/{chunk-F3YA3Y2Z.js → chunk-A56XVLQR.js} +2 -13
  19. package/dist/resources/Workers/chunk-AJYK4IVJ.js +26 -0
  20. package/dist/resources/Workers/{chunk-EHWHNOEX.js → chunk-ARG42DC4.js} +2 -31
  21. package/dist/resources/Workers/chunk-AU7IKHOH.js +26 -0
  22. package/dist/resources/Workers/chunk-B4AA3ARO.js +26 -0
  23. package/dist/resources/Workers/chunk-CNCV5UL7.js +26 -0
  24. package/dist/resources/Workers/chunk-CYCB63OH.js +26 -0
  25. package/dist/resources/Workers/{chunk-4H7PY4U5.js → chunk-D6AA5QVT.js} +2 -20
  26. package/dist/resources/Workers/chunk-D6C66QON.js +26 -0
  27. package/dist/resources/Workers/chunk-DEPHB2WM.js +26 -0
  28. package/dist/resources/Workers/chunk-DMEY62ID.js +26 -0
  29. package/dist/resources/Workers/chunk-DQQ63PYM.js +26 -0
  30. package/dist/resources/Workers/chunk-ED5JPB3S.js +27 -0
  31. package/dist/resources/Workers/chunk-EZUYS2JF.js +26 -0
  32. package/dist/resources/Workers/chunk-FEVXJ54I.js +26 -0
  33. package/dist/resources/Workers/chunk-G5AGHVVC.js +26 -0
  34. package/dist/resources/Workers/{chunk-BBWDMCVU.js → chunk-GBYLG25F.js} +2 -15
  35. package/dist/resources/Workers/chunk-GILIDQNQ.js +26 -0
  36. package/dist/resources/Workers/chunk-HMIYSTF6.js +26 -0
  37. package/dist/resources/Workers/chunk-HTFSEEMT.js +26 -0
  38. package/dist/resources/Workers/chunk-HWXX4CWK.js +26 -0
  39. package/dist/resources/Workers/chunk-IYTZ52EY.js +26 -0
  40. package/dist/resources/Workers/chunk-J6UP6FLE.js +26 -0
  41. package/dist/resources/Workers/chunk-LEYMRMBK.js +27 -0
  42. package/dist/resources/Workers/chunk-M3MGYQSL.js +26 -0
  43. package/dist/resources/Workers/chunk-N4VJKXZS.js +26 -0
  44. package/dist/resources/Workers/chunk-NB3ML6JO.js +26 -0
  45. package/dist/resources/Workers/chunk-OFUUQVMR.js +26 -0
  46. package/dist/resources/Workers/chunk-OSW76XDF.js +26 -0
  47. package/dist/resources/Workers/chunk-PSPPBZWI.js +66 -0
  48. package/dist/resources/Workers/chunk-QN3VOORQ.js +26 -0
  49. package/dist/resources/Workers/chunk-QOUAJ6TL.js +26 -0
  50. package/dist/resources/Workers/chunk-RCV6KWXS.js +26 -0
  51. package/dist/resources/Workers/chunk-TCGIRNHN.js +26 -0
  52. package/dist/resources/Workers/chunk-U4IEOH5K.js +26 -0
  53. package/dist/resources/Workers/chunk-UP6I5URU.js +26 -0
  54. package/dist/resources/Workers/chunk-VTAIKJXX.js +26 -0
  55. package/dist/resources/Workers/chunk-VTBDSFTG.js +26 -0
  56. package/dist/resources/Workers/chunk-VW6VD53G.js +26 -0
  57. package/dist/resources/Workers/chunk-WGGIH7QW.js +26 -0
  58. package/dist/resources/Workers/chunk-WWA5PL4H.js +26 -0
  59. package/dist/resources/Workers/chunk-WZDE3RYP.js +28 -0
  60. package/dist/resources/Workers/chunk-XRL4AVS5.js +26 -0
  61. package/dist/resources/Workers/combineGeometry.js +2 -44
  62. package/dist/resources/Workers/createBoxGeometry.js +2 -34
  63. package/dist/resources/Workers/createBoxOutlineGeometry.js +2 -211
  64. package/dist/resources/Workers/createCircleGeometry.js +2 -173
  65. package/dist/resources/Workers/createCircleOutlineGeometry.js +2 -123
  66. package/dist/resources/Workers/createCoplanarPolygonGeometry.js +2 -482
  67. package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +2 -201
  68. package/dist/resources/Workers/createCorridorGeometry.js +2 -1239
  69. package/dist/resources/Workers/createCorridorOutlineGeometry.js +2 -544
  70. package/dist/resources/Workers/createCylinderGeometry.js +2 -36
  71. package/dist/resources/Workers/createCylinderOutlineGeometry.js +2 -207
  72. package/dist/resources/Workers/createEllipseGeometry.js +2 -47
  73. package/dist/resources/Workers/createEllipseOutlineGeometry.js +2 -40
  74. package/dist/resources/Workers/createEllipsoidGeometry.js +2 -35
  75. package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +2 -37
  76. package/dist/resources/Workers/createFrustumGeometry.js +2 -34
  77. package/dist/resources/Workers/createFrustumOutlineGeometry.js +2 -211
  78. package/dist/resources/Workers/createGeometry.js +2 -147
  79. package/dist/resources/Workers/createGroundPolylineGeometry.js +2 -1584
  80. package/dist/resources/Workers/createPlaneGeometry.js +2 -200
  81. package/dist/resources/Workers/createPlaneOutlineGeometry.js +2 -100
  82. package/dist/resources/Workers/createPolygonGeometry.js +2 -1387
  83. package/dist/resources/Workers/createPolygonOutlineGeometry.js +2 -519
  84. package/dist/resources/Workers/createPolylineGeometry.js +2 -472
  85. package/dist/resources/Workers/createPolylineVolumeGeometry.js +2 -355
  86. package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +2 -253
  87. package/dist/resources/Workers/createRectangleGeometry.js +2 -1250
  88. package/dist/resources/Workers/createRectangleOutlineGeometry.js +2 -455
  89. package/dist/resources/Workers/createSimplePolylineGeometry.js +2 -376
  90. package/dist/resources/Workers/createSphereGeometry.js +2 -94
  91. package/dist/resources/Workers/createSphereOutlineGeometry.js +2 -94
  92. package/dist/resources/Workers/createTaskProcessorWorker.js +2 -8
  93. package/dist/resources/Workers/createVectorTileClampedPolylines.js +2 -468
  94. package/dist/resources/Workers/createVectorTileGeometries.js +2 -363
  95. package/dist/resources/Workers/createVectorTilePoints.js +2 -88
  96. package/dist/resources/Workers/createVectorTilePolygons.js +2 -361
  97. package/dist/resources/Workers/createVectorTilePolylines.js +2 -238
  98. package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -545
  99. package/dist/resources/Workers/createVerticesFromHeightmap.js +2 -2254
  100. package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -722
  101. package/dist/resources/Workers/createWallGeometry.js +2 -466
  102. package/dist/resources/Workers/createWallOutlineGeometry.js +2 -314
  103. package/dist/resources/Workers/decodeDraco.js +2 -345
  104. package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2626
  105. package/dist/resources/Workers/decodeI3S.js +2 -1320
  106. package/dist/resources/Workers/gaussianSplatSorter.js +26 -0
  107. package/dist/resources/Workers/gaussianSplatTextureGenerator.js +26 -0
  108. package/dist/resources/Workers/transcodeKTX2.js +29 -3398
  109. package/dist/resources/Workers/transferTypedArrayTest.js +2 -17
  110. package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +2 -795
  111. package/package.json +9 -8
  112. package/dist/pggis.min.js +0 -14796
  113. package/dist/resources/ThirdParty/Workers/basis_transcoder.js +0 -21
  114. package/dist/resources/Workers/chunk-23UFSGND.js +0 -236
  115. package/dist/resources/Workers/chunk-2A75IWRS.js +0 -218
  116. package/dist/resources/Workers/chunk-2FRVPMCS.js +0 -1258
  117. package/dist/resources/Workers/chunk-2FWRMUTY.js +0 -138
  118. package/dist/resources/Workers/chunk-2UPKWTMJ.js +0 -117
  119. package/dist/resources/Workers/chunk-34FXV7D7.js +0 -73
  120. package/dist/resources/Workers/chunk-3VAZEH7M.js +0 -101
  121. package/dist/resources/Workers/chunk-4DO5W5XZ.js +0 -196
  122. package/dist/resources/Workers/chunk-5QULIR53.js +0 -501
  123. package/dist/resources/Workers/chunk-7TC63SJW.js +0 -302
  124. package/dist/resources/Workers/chunk-7ZFGPDJA.js +0 -122
  125. package/dist/resources/Workers/chunk-A5DWLWCY.js +0 -834
  126. package/dist/resources/Workers/chunk-BG4UCVXN.js +0 -73
  127. package/dist/resources/Workers/chunk-BIKA3NRA.js +0 -59
  128. package/dist/resources/Workers/chunk-BROJAZRZ.js +0 -390
  129. package/dist/resources/Workers/chunk-DDUQAJ4P.js +0 -476
  130. package/dist/resources/Workers/chunk-EERJKOAF.js +0 -305
  131. package/dist/resources/Workers/chunk-EG6PTBY2.js +0 -2716
  132. package/dist/resources/Workers/chunk-F4HFJMGM.js +0 -353
  133. package/dist/resources/Workers/chunk-FJKNFAKQ.js +0 -8219
  134. package/dist/resources/Workers/chunk-FNIRWHJB.js +0 -289
  135. package/dist/resources/Workers/chunk-FZRIVR7Y.js +0 -100
  136. package/dist/resources/Workers/chunk-G43QFN4Q.js +0 -157
  137. package/dist/resources/Workers/chunk-GATZHF3K.js +0 -1860
  138. package/dist/resources/Workers/chunk-GRC2ZTAF.js +0 -398
  139. package/dist/resources/Workers/chunk-HU6N6EXB.js +0 -767
  140. package/dist/resources/Workers/chunk-I46ZRR5W.js +0 -1052
  141. package/dist/resources/Workers/chunk-JURN7NPV.js +0 -1075
  142. package/dist/resources/Workers/chunk-KKCR2YOP.js +0 -421
  143. package/dist/resources/Workers/chunk-LPR3YNP2.js +0 -138
  144. package/dist/resources/Workers/chunk-M7ERACJJ.js +0 -511
  145. package/dist/resources/Workers/chunk-MDWEGWPA.js +0 -1007
  146. package/dist/resources/Workers/chunk-OGXZVPPM.js +0 -2365
  147. package/dist/resources/Workers/chunk-PGSJK77E.js +0 -634
  148. package/dist/resources/Workers/chunk-PPH7OFP3.js +0 -258
  149. package/dist/resources/Workers/chunk-SH5USDPI.js +0 -456
  150. package/dist/resources/Workers/chunk-SOWMRMWA.js +0 -629
  151. package/dist/resources/Workers/chunk-STW2DGFI.js +0 -58
  152. package/dist/resources/Workers/chunk-T3XIFPYR.js +0 -1477
  153. package/dist/resources/Workers/chunk-TTUZP4BO.js +0 -501
  154. package/dist/resources/Workers/chunk-UEXTBDBE.js +0 -693
  155. package/dist/resources/Workers/chunk-VOXYEYJT.js +0 -684
  156. package/dist/resources/Workers/chunk-X4356LRH.js +0 -368
  157. package/dist/resources/Workers/chunk-XGI5BXZY.js +0 -163
  158. package/dist/resources/Workers/chunk-Y2ME2IJV.js +0 -781
  159. package/dist/resources/Workers/chunk-Y5UQJLYE.js +0 -171
  160. package/dist/resources/Workers/chunk-YJEBABKH.js +0 -2977
  161. package/dist/resources/Workers/chunk-YWTJ2B4B.js +0 -77
  162. package/dist/resources/Workers/chunk-Z3TIFFGF.js +0 -430
  163. package/dist/resources/Workers/chunk-ZT7KWISZ.js +0 -102
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.115
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,378 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- Color_default
28
- } from "./chunk-PGSJK77E.js";
29
- import {
30
- ArcType_default
31
- } from "./chunk-EHWHNOEX.js";
32
- import {
33
- PolylinePipeline_default
34
- } from "./chunk-KKCR2YOP.js";
35
- import "./chunk-F4HFJMGM.js";
36
- import "./chunk-SH5USDPI.js";
37
- import "./chunk-2FRVPMCS.js";
38
- import "./chunk-Y5UQJLYE.js";
39
- import {
40
- IndexDatatype_default
41
- } from "./chunk-LPR3YNP2.js";
42
- import {
43
- GeometryAttributes_default
44
- } from "./chunk-4H7PY4U5.js";
45
- import {
46
- GeometryAttribute_default,
47
- Geometry_default,
48
- PrimitiveType_default
49
- } from "./chunk-7TC63SJW.js";
50
- import {
51
- BoundingSphere_default
52
- } from "./chunk-FJKNFAKQ.js";
53
- import "./chunk-TTUZP4BO.js";
54
- import "./chunk-BG4UCVXN.js";
55
- import "./chunk-YJEBABKH.js";
56
- import {
57
- ComponentDatatype_default
58
- } from "./chunk-PPH7OFP3.js";
59
- import {
60
- Cartesian3_default,
61
- Ellipsoid_default
62
- } from "./chunk-OGXZVPPM.js";
63
- import {
64
- Math_default
65
- } from "./chunk-5QULIR53.js";
66
- import "./chunk-SOWMRMWA.js";
67
- import "./chunk-STW2DGFI.js";
68
- import {
69
- defaultValue_default
70
- } from "./chunk-BBWDMCVU.js";
71
- import {
72
- DeveloperError_default
73
- } from "./chunk-XGI5BXZY.js";
74
- import {
75
- defined_default
76
- } from "./chunk-YWTJ2B4B.js";
77
-
78
- // packages/engine/Source/Core/SimplePolylineGeometry.js
79
- function interpolateColors(p0, p1, color0, color1, minDistance, array, offset) {
80
- const numPoints = PolylinePipeline_default.numberOfPoints(p0, p1, minDistance);
81
- let i;
82
- const r0 = color0.red;
83
- const g0 = color0.green;
84
- const b0 = color0.blue;
85
- const a0 = color0.alpha;
86
- const r1 = color1.red;
87
- const g1 = color1.green;
88
- const b1 = color1.blue;
89
- const a1 = color1.alpha;
90
- if (Color_default.equals(color0, color1)) {
91
- for (i = 0; i < numPoints; i++) {
92
- array[offset++] = Color_default.floatToByte(r0);
93
- array[offset++] = Color_default.floatToByte(g0);
94
- array[offset++] = Color_default.floatToByte(b0);
95
- array[offset++] = Color_default.floatToByte(a0);
96
- }
97
- return offset;
98
- }
99
- const redPerVertex = (r1 - r0) / numPoints;
100
- const greenPerVertex = (g1 - g0) / numPoints;
101
- const bluePerVertex = (b1 - b0) / numPoints;
102
- const alphaPerVertex = (a1 - a0) / numPoints;
103
- let index = offset;
104
- for (i = 0; i < numPoints; i++) {
105
- array[index++] = Color_default.floatToByte(r0 + i * redPerVertex);
106
- array[index++] = Color_default.floatToByte(g0 + i * greenPerVertex);
107
- array[index++] = Color_default.floatToByte(b0 + i * bluePerVertex);
108
- array[index++] = Color_default.floatToByte(a0 + i * alphaPerVertex);
109
- }
110
- return index;
111
- }
112
- function SimplePolylineGeometry(options) {
113
- options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
114
- const positions = options.positions;
115
- const colors = options.colors;
116
- const colorsPerVertex = defaultValue_default(options.colorsPerVertex, false);
117
- if (!defined_default(positions) || positions.length < 2) {
118
- throw new DeveloperError_default("At least two positions are required.");
119
- }
120
- if (defined_default(colors) && (colorsPerVertex && colors.length < positions.length || !colorsPerVertex && colors.length < positions.length - 1)) {
121
- throw new DeveloperError_default("colors has an invalid length.");
122
- }
123
- this._positions = positions;
124
- this._colors = colors;
125
- this._colorsPerVertex = colorsPerVertex;
126
- this._arcType = defaultValue_default(options.arcType, ArcType_default.GEODESIC);
127
- this._granularity = defaultValue_default(
128
- options.granularity,
129
- Math_default.RADIANS_PER_DEGREE
130
- );
131
- this._ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.WGS84);
132
- this._workerName = "createSimplePolylineGeometry";
133
- let numComponents = 1 + positions.length * Cartesian3_default.packedLength;
134
- numComponents += defined_default(colors) ? 1 + colors.length * Color_default.packedLength : 1;
135
- this.packedLength = numComponents + Ellipsoid_default.packedLength + 3;
136
- }
137
- SimplePolylineGeometry.pack = function(value, array, startingIndex) {
138
- if (!defined_default(value)) {
139
- throw new DeveloperError_default("value is required");
140
- }
141
- if (!defined_default(array)) {
142
- throw new DeveloperError_default("array is required");
143
- }
144
- startingIndex = defaultValue_default(startingIndex, 0);
145
- let i;
146
- const positions = value._positions;
147
- let length = positions.length;
148
- array[startingIndex++] = length;
149
- for (i = 0; i < length; ++i, startingIndex += Cartesian3_default.packedLength) {
150
- Cartesian3_default.pack(positions[i], array, startingIndex);
151
- }
152
- const colors = value._colors;
153
- length = defined_default(colors) ? colors.length : 0;
154
- array[startingIndex++] = length;
155
- for (i = 0; i < length; ++i, startingIndex += Color_default.packedLength) {
156
- Color_default.pack(colors[i], array, startingIndex);
157
- }
158
- Ellipsoid_default.pack(value._ellipsoid, array, startingIndex);
159
- startingIndex += Ellipsoid_default.packedLength;
160
- array[startingIndex++] = value._colorsPerVertex ? 1 : 0;
161
- array[startingIndex++] = value._arcType;
162
- array[startingIndex] = value._granularity;
163
- return array;
164
- };
165
- SimplePolylineGeometry.unpack = function(array, startingIndex, result) {
166
- if (!defined_default(array)) {
167
- throw new DeveloperError_default("array is required");
168
- }
169
- startingIndex = defaultValue_default(startingIndex, 0);
170
- let i;
171
- let length = array[startingIndex++];
172
- const positions = new Array(length);
173
- for (i = 0; i < length; ++i, startingIndex += Cartesian3_default.packedLength) {
174
- positions[i] = Cartesian3_default.unpack(array, startingIndex);
175
- }
176
- length = array[startingIndex++];
177
- const colors = length > 0 ? new Array(length) : void 0;
178
- for (i = 0; i < length; ++i, startingIndex += Color_default.packedLength) {
179
- colors[i] = Color_default.unpack(array, startingIndex);
180
- }
181
- const ellipsoid = Ellipsoid_default.unpack(array, startingIndex);
182
- startingIndex += Ellipsoid_default.packedLength;
183
- const colorsPerVertex = array[startingIndex++] === 1;
184
- const arcType = array[startingIndex++];
185
- const granularity = array[startingIndex];
186
- if (!defined_default(result)) {
187
- return new SimplePolylineGeometry({
188
- positions,
189
- colors,
190
- ellipsoid,
191
- colorsPerVertex,
192
- arcType,
193
- granularity
194
- });
195
- }
196
- result._positions = positions;
197
- result._colors = colors;
198
- result._ellipsoid = ellipsoid;
199
- result._colorsPerVertex = colorsPerVertex;
200
- result._arcType = arcType;
201
- result._granularity = granularity;
202
- return result;
203
- };
204
- var scratchArray1 = new Array(2);
205
- var scratchArray2 = new Array(2);
206
- var generateArcOptionsScratch = {
207
- positions: scratchArray1,
208
- height: scratchArray2,
209
- ellipsoid: void 0,
210
- minDistance: void 0,
211
- granularity: void 0
212
- };
213
- SimplePolylineGeometry.createGeometry = function(simplePolylineGeometry) {
214
- const positions = simplePolylineGeometry._positions;
215
- const colors = simplePolylineGeometry._colors;
216
- const colorsPerVertex = simplePolylineGeometry._colorsPerVertex;
217
- const arcType = simplePolylineGeometry._arcType;
218
- const granularity = simplePolylineGeometry._granularity;
219
- const ellipsoid = simplePolylineGeometry._ellipsoid;
220
- const minDistance = Math_default.chordLength(
221
- granularity,
222
- ellipsoid.maximumRadius
223
- );
224
- const perSegmentColors = defined_default(colors) && !colorsPerVertex;
225
- let i;
226
- const length = positions.length;
227
- let positionValues;
228
- let numberOfPositions;
229
- let colorValues;
230
- let color;
231
- let offset = 0;
232
- if (arcType === ArcType_default.GEODESIC || arcType === ArcType_default.RHUMB) {
233
- let subdivisionSize;
234
- let numberOfPointsFunction;
235
- let generateArcFunction;
236
- if (arcType === ArcType_default.GEODESIC) {
237
- subdivisionSize = Math_default.chordLength(
238
- granularity,
239
- ellipsoid.maximumRadius
240
- );
241
- numberOfPointsFunction = PolylinePipeline_default.numberOfPoints;
242
- generateArcFunction = PolylinePipeline_default.generateArc;
243
- } else {
244
- subdivisionSize = granularity;
245
- numberOfPointsFunction = PolylinePipeline_default.numberOfPointsRhumbLine;
246
- generateArcFunction = PolylinePipeline_default.generateRhumbArc;
247
- }
248
- const heights = PolylinePipeline_default.extractHeights(positions, ellipsoid);
249
- const generateArcOptions = generateArcOptionsScratch;
250
- if (arcType === ArcType_default.GEODESIC) {
251
- generateArcOptions.minDistance = minDistance;
252
- } else {
253
- generateArcOptions.granularity = granularity;
254
- }
255
- generateArcOptions.ellipsoid = ellipsoid;
256
- if (perSegmentColors) {
257
- let positionCount = 0;
258
- for (i = 0; i < length - 1; i++) {
259
- positionCount += numberOfPointsFunction(
260
- positions[i],
261
- positions[i + 1],
262
- subdivisionSize
263
- ) + 1;
264
- }
265
- positionValues = new Float64Array(positionCount * 3);
266
- colorValues = new Uint8Array(positionCount * 4);
267
- generateArcOptions.positions = scratchArray1;
268
- generateArcOptions.height = scratchArray2;
269
- let ci = 0;
270
- for (i = 0; i < length - 1; ++i) {
271
- scratchArray1[0] = positions[i];
272
- scratchArray1[1] = positions[i + 1];
273
- scratchArray2[0] = heights[i];
274
- scratchArray2[1] = heights[i + 1];
275
- const pos = generateArcFunction(generateArcOptions);
276
- if (defined_default(colors)) {
277
- const segLen = pos.length / 3;
278
- color = colors[i];
279
- for (let k = 0; k < segLen; ++k) {
280
- colorValues[ci++] = Color_default.floatToByte(color.red);
281
- colorValues[ci++] = Color_default.floatToByte(color.green);
282
- colorValues[ci++] = Color_default.floatToByte(color.blue);
283
- colorValues[ci++] = Color_default.floatToByte(color.alpha);
284
- }
285
- }
286
- positionValues.set(pos, offset);
287
- offset += pos.length;
288
- }
289
- } else {
290
- generateArcOptions.positions = positions;
291
- generateArcOptions.height = heights;
292
- positionValues = new Float64Array(
293
- generateArcFunction(generateArcOptions)
294
- );
295
- if (defined_default(colors)) {
296
- colorValues = new Uint8Array(positionValues.length / 3 * 4);
297
- for (i = 0; i < length - 1; ++i) {
298
- const p0 = positions[i];
299
- const p1 = positions[i + 1];
300
- const c0 = colors[i];
301
- const c1 = colors[i + 1];
302
- offset = interpolateColors(
303
- p0,
304
- p1,
305
- c0,
306
- c1,
307
- minDistance,
308
- colorValues,
309
- offset
310
- );
311
- }
312
- const lastColor = colors[length - 1];
313
- colorValues[offset++] = Color_default.floatToByte(lastColor.red);
314
- colorValues[offset++] = Color_default.floatToByte(lastColor.green);
315
- colorValues[offset++] = Color_default.floatToByte(lastColor.blue);
316
- colorValues[offset++] = Color_default.floatToByte(lastColor.alpha);
317
- }
318
- }
319
- } else {
320
- numberOfPositions = perSegmentColors ? length * 2 - 2 : length;
321
- positionValues = new Float64Array(numberOfPositions * 3);
322
- colorValues = defined_default(colors) ? new Uint8Array(numberOfPositions * 4) : void 0;
323
- let positionIndex = 0;
324
- let colorIndex = 0;
325
- for (i = 0; i < length; ++i) {
326
- const p = positions[i];
327
- if (perSegmentColors && i > 0) {
328
- Cartesian3_default.pack(p, positionValues, positionIndex);
329
- positionIndex += 3;
330
- color = colors[i - 1];
331
- colorValues[colorIndex++] = Color_default.floatToByte(color.red);
332
- colorValues[colorIndex++] = Color_default.floatToByte(color.green);
333
- colorValues[colorIndex++] = Color_default.floatToByte(color.blue);
334
- colorValues[colorIndex++] = Color_default.floatToByte(color.alpha);
335
- }
336
- if (perSegmentColors && i === length - 1) {
337
- break;
338
- }
339
- Cartesian3_default.pack(p, positionValues, positionIndex);
340
- positionIndex += 3;
341
- if (defined_default(colors)) {
342
- color = colors[i];
343
- colorValues[colorIndex++] = Color_default.floatToByte(color.red);
344
- colorValues[colorIndex++] = Color_default.floatToByte(color.green);
345
- colorValues[colorIndex++] = Color_default.floatToByte(color.blue);
346
- colorValues[colorIndex++] = Color_default.floatToByte(color.alpha);
347
- }
348
- }
349
- }
350
- const attributes = new GeometryAttributes_default();
351
- attributes.position = new GeometryAttribute_default({
352
- componentDatatype: ComponentDatatype_default.DOUBLE,
353
- componentsPerAttribute: 3,
354
- values: positionValues
355
- });
356
- if (defined_default(colors)) {
357
- attributes.color = new GeometryAttribute_default({
358
- componentDatatype: ComponentDatatype_default.UNSIGNED_BYTE,
359
- componentsPerAttribute: 4,
360
- values: colorValues,
361
- normalize: true
362
- });
363
- }
364
- numberOfPositions = positionValues.length / 3;
365
- const numberOfIndices = (numberOfPositions - 1) * 2;
366
- const indices = IndexDatatype_default.createTypedArray(
367
- numberOfPositions,
368
- numberOfIndices
369
- );
370
- let index = 0;
371
- for (i = 0; i < numberOfPositions - 1; ++i) {
372
- indices[index++] = i;
373
- indices[index++] = i + 1;
374
- }
375
- return new Geometry_default({
376
- attributes,
377
- indices,
378
- primitiveType: PrimitiveType_default.LINES,
379
- boundingSphere: BoundingSphere_default.fromPoints(positions)
380
- });
381
- };
382
- var SimplePolylineGeometry_default = SimplePolylineGeometry;
383
-
384
- // packages/engine/Source/Workers/createSimplePolylineGeometry.js
385
- function createSimplePolylineGeometry(simplePolylineGeometry, offset) {
386
- if (defined_default(offset)) {
387
- simplePolylineGeometry = SimplePolylineGeometry_default.unpack(
388
- simplePolylineGeometry,
389
- offset
390
- );
391
- }
392
- simplePolylineGeometry._ellipsoid = Ellipsoid_default.clone(
393
- simplePolylineGeometry._ellipsoid
394
- );
395
- return SimplePolylineGeometry_default.createGeometry(simplePolylineGeometry);
396
- }
397
- var createSimplePolylineGeometry_default = createSimplePolylineGeometry;
398
- export {
399
- createSimplePolylineGeometry_default as default
400
- };
26
+ import{a as r}from"./chunk-HMIYSTF6.js";import{a as L}from"./chunk-J6UP6FLE.js";import{a as P}from"./chunk-XRL4AVS5.js";import"./chunk-U4IEOH5K.js";import"./chunk-G5AGHVVC.js";import"./chunk-DMEY62ID.js";import"./chunk-HTFSEEMT.js";import{a as X}from"./chunk-OFUUQVMR.js";import{a as W}from"./chunk-A56XVLQR.js";import{b as K,c as Q,d as H}from"./chunk-RCV6KWXS.js";import{d as j}from"./chunk-4IW2T6GF.js";import"./chunk-PSPPBZWI.js";import{a as v}from"./chunk-AU7IKHOH.js";import{a as A,d as w,f as J}from"./chunk-64RSHJUE.js";import{a as G}from"./chunk-3SSKC3VN.js";import"./chunk-OSW76XDF.js";import"./chunk-ED5JPB3S.js";import{a as D}from"./chunk-LEYMRMBK.js";import{e as u}from"./chunk-VTAIKJXX.js";function Z(t,e,o,i,s,c,p){let g=P.numberOfPoints(t,e,s),f,n=o.red,m=o.green,d=o.blue,T=o.alpha,l=i.red,h=i.green,y=i.blue,S=i.alpha;if(r.equals(o,i)){for(f=0;f<g;f++)c[p++]=r.floatToByte(n),c[p++]=r.floatToByte(m),c[p++]=r.floatToByte(d),c[p++]=r.floatToByte(T);return p}let N=(l-n)/g,V=(h-m)/g,R=(y-d)/g,_=(S-T)/g,a=p;for(f=0;f<g;f++)c[a++]=r.floatToByte(n+f*N),c[a++]=r.floatToByte(m+f*V),c[a++]=r.floatToByte(d+f*R),c[a++]=r.floatToByte(T+f*_);return a}function O(t){t=t??J.EMPTY_OBJECT;let e=t.positions,o=t.colors,i=t.colorsPerVertex??!1;if(!u(e)||e.length<2)throw new D("At least two positions are required.");if(u(o)&&(i&&o.length<e.length||!i&&o.length<e.length-1))throw new D("colors has an invalid length.");this._positions=e,this._colors=o,this._colorsPerVertex=i,this._arcType=t.arcType??L.GEODESIC,this._granularity=t.granularity??G.RADIANS_PER_DEGREE,this._ellipsoid=t.ellipsoid??w.default,this._workerName="createSimplePolylineGeometry";let s=1+e.length*A.packedLength;s+=u(o)?1+o.length*r.packedLength:1,this.packedLength=s+w.packedLength+3}O.pack=function(t,e,o){if(!u(t))throw new D("value is required");if(!u(e))throw new D("array is required");o=o??0;let i,s=t._positions,c=s.length;for(e[o++]=c,i=0;i<c;++i,o+=A.packedLength)A.pack(s[i],e,o);let p=t._colors;for(c=u(p)?p.length:0,e[o++]=c,i=0;i<c;++i,o+=r.packedLength)r.pack(p[i],e,o);return w.pack(t._ellipsoid,e,o),o+=w.packedLength,e[o++]=t._colorsPerVertex?1:0,e[o++]=t._arcType,e[o]=t._granularity,e};O.unpack=function(t,e,o){if(!u(t))throw new D("array is required");e=e??0;let i,s=t[e++],c=new Array(s);for(i=0;i<s;++i,e+=A.packedLength)c[i]=A.unpack(t,e);s=t[e++];let p=s>0?new Array(s):void 0;for(i=0;i<s;++i,e+=r.packedLength)p[i]=r.unpack(t,e);let g=w.unpack(t,e);e+=w.packedLength;let f=t[e++]===1,n=t[e++],m=t[e];return u(o)?(o._positions=c,o._colors=p,o._ellipsoid=g,o._colorsPerVertex=f,o._arcType=n,o._granularity=m,o):new O({positions:c,colors:p,ellipsoid:g,colorsPerVertex:f,arcType:n,granularity:m})};var U=new Array(2),q=new Array(2),$={positions:U,height:q,ellipsoid:void 0,minDistance:void 0,granularity:void 0};O.createGeometry=function(t){let e=t._positions,o=t._colors,i=t._colorsPerVertex,s=t._arcType,c=t._granularity,p=t._ellipsoid,g=G.chordLength(c,p.maximumRadius),f=u(o)&&!i,n,m=e.length,d,T,l,h,y=0;if(s===L.GEODESIC||s===L.RHUMB){let _,a,k;s===L.GEODESIC?(_=G.chordLength(c,p.maximumRadius),a=P.numberOfPoints,k=P.generateArc):(_=c,a=P.numberOfPointsRhumbLine,k=P.generateRhumbArc);let z=P.extractHeights(e,p),B=$;if(s===L.GEODESIC?B.minDistance=g:B.granularity=c,B.ellipsoid=p,f){let b=0;for(n=0;n<m-1;n++)b+=a(e[n],e[n+1],_)+1;d=new Float64Array(b*3),l=new Uint8Array(b*4),B.positions=U,B.height=q;let E=0;for(n=0;n<m-1;++n){U[0]=e[n],U[1]=e[n+1],q[0]=z[n],q[1]=z[n+1];let C=k(B);if(u(o)){let M=C.length/3;h=o[n];for(let F=0;F<M;++F)l[E++]=r.floatToByte(h.red),l[E++]=r.floatToByte(h.green),l[E++]=r.floatToByte(h.blue),l[E++]=r.floatToByte(h.alpha)}d.set(C,y),y+=C.length}}else if(B.positions=e,B.height=z,d=new Float64Array(k(B)),u(o)){for(l=new Uint8Array(d.length/3*4),n=0;n<m-1;++n){let E=e[n],C=e[n+1],M=o[n],F=o[n+1];y=Z(E,C,M,F,g,l,y)}let b=o[m-1];l[y++]=r.floatToByte(b.red),l[y++]=r.floatToByte(b.green),l[y++]=r.floatToByte(b.blue),l[y++]=r.floatToByte(b.alpha)}}else{T=f?m*2-2:m,d=new Float64Array(T*3),l=u(o)?new Uint8Array(T*4):void 0;let _=0,a=0;for(n=0;n<m;++n){let k=e[n];if(f&&n>0&&(A.pack(k,d,_),_+=3,h=o[n-1],l[a++]=r.floatToByte(h.red),l[a++]=r.floatToByte(h.green),l[a++]=r.floatToByte(h.blue),l[a++]=r.floatToByte(h.alpha)),f&&n===m-1)break;A.pack(k,d,_),_+=3,u(o)&&(h=o[n],l[a++]=r.floatToByte(h.red),l[a++]=r.floatToByte(h.green),l[a++]=r.floatToByte(h.blue),l[a++]=r.floatToByte(h.alpha))}}let S=new W;S.position=new H({componentDatatype:v.DOUBLE,componentsPerAttribute:3,values:d}),u(o)&&(S.color=new H({componentDatatype:v.UNSIGNED_BYTE,componentsPerAttribute:4,values:l,normalize:!0})),T=d.length/3;let N=(T-1)*2,V=X.createTypedArray(T,N),R=0;for(n=0;n<T-1;++n)V[R++]=n,V[R++]=n+1;return new Q({attributes:S,indices:V,primitiveType:K.LINES,boundingSphere:j.fromPoints(e)})};var Y=O;function x(t,e){return u(e)&&(t=Y.unpack(t,e)),t._ellipsoid=w.clone(t._ellipsoid),Y.createGeometry(t)}var _e=x;export{_e as default};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.115
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,96 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- EllipsoidGeometry_default
28
- } from "./chunk-M7ERACJJ.js";
29
- import "./chunk-F3YA3Y2Z.js";
30
- import {
31
- VertexFormat_default
32
- } from "./chunk-2FWRMUTY.js";
33
- import "./chunk-LPR3YNP2.js";
34
- import "./chunk-4H7PY4U5.js";
35
- import "./chunk-7TC63SJW.js";
36
- import "./chunk-FJKNFAKQ.js";
37
- import "./chunk-TTUZP4BO.js";
38
- import "./chunk-BG4UCVXN.js";
39
- import "./chunk-YJEBABKH.js";
40
- import "./chunk-PPH7OFP3.js";
41
- import {
42
- Cartesian3_default
43
- } from "./chunk-OGXZVPPM.js";
44
- import "./chunk-5QULIR53.js";
45
- import "./chunk-SOWMRMWA.js";
46
- import "./chunk-STW2DGFI.js";
47
- import {
48
- defaultValue_default
49
- } from "./chunk-BBWDMCVU.js";
50
- import {
51
- Check_default
52
- } from "./chunk-XGI5BXZY.js";
53
- import {
54
- defined_default
55
- } from "./chunk-YWTJ2B4B.js";
56
-
57
- // packages/engine/Source/Core/SphereGeometry.js
58
- function SphereGeometry(options) {
59
- const radius = defaultValue_default(options.radius, 1);
60
- const radii = new Cartesian3_default(radius, radius, radius);
61
- const ellipsoidOptions = {
62
- radii,
63
- stackPartitions: options.stackPartitions,
64
- slicePartitions: options.slicePartitions,
65
- vertexFormat: options.vertexFormat
66
- };
67
- this._ellipsoidGeometry = new EllipsoidGeometry_default(ellipsoidOptions);
68
- this._workerName = "createSphereGeometry";
69
- }
70
- SphereGeometry.packedLength = EllipsoidGeometry_default.packedLength;
71
- SphereGeometry.pack = function(value, array, startingIndex) {
72
- Check_default.typeOf.object("value", value);
73
- return EllipsoidGeometry_default.pack(value._ellipsoidGeometry, array, startingIndex);
74
- };
75
- var scratchEllipsoidGeometry = new EllipsoidGeometry_default();
76
- var scratchOptions = {
77
- radius: void 0,
78
- radii: new Cartesian3_default(),
79
- vertexFormat: new VertexFormat_default(),
80
- stackPartitions: void 0,
81
- slicePartitions: void 0
82
- };
83
- SphereGeometry.unpack = function(array, startingIndex, result) {
84
- const ellipsoidGeometry = EllipsoidGeometry_default.unpack(
85
- array,
86
- startingIndex,
87
- scratchEllipsoidGeometry
88
- );
89
- scratchOptions.vertexFormat = VertexFormat_default.clone(
90
- ellipsoidGeometry._vertexFormat,
91
- scratchOptions.vertexFormat
92
- );
93
- scratchOptions.stackPartitions = ellipsoidGeometry._stackPartitions;
94
- scratchOptions.slicePartitions = ellipsoidGeometry._slicePartitions;
95
- if (!defined_default(result)) {
96
- scratchOptions.radius = ellipsoidGeometry._radii.x;
97
- return new SphereGeometry(scratchOptions);
98
- }
99
- Cartesian3_default.clone(ellipsoidGeometry._radii, scratchOptions.radii);
100
- result._ellipsoidGeometry = new EllipsoidGeometry_default(scratchOptions);
101
- return result;
102
- };
103
- SphereGeometry.createGeometry = function(sphereGeometry) {
104
- return EllipsoidGeometry_default.createGeometry(sphereGeometry._ellipsoidGeometry);
105
- };
106
- var SphereGeometry_default = SphereGeometry;
107
-
108
- // packages/engine/Source/Workers/createSphereGeometry.js
109
- function createSphereGeometry(sphereGeometry, offset) {
110
- if (defined_default(offset)) {
111
- sphereGeometry = SphereGeometry_default.unpack(sphereGeometry, offset);
112
- }
113
- return SphereGeometry_default.createGeometry(sphereGeometry);
114
- }
115
- var createSphereGeometry_default = createSphereGeometry;
116
- export {
117
- createSphereGeometry_default as default
118
- };
26
+ import{a as r}from"./chunk-37F5JSTI.js";import"./chunk-GBYLG25F.js";import{a as m}from"./chunk-CYCB63OH.js";import"./chunk-OFUUQVMR.js";import"./chunk-A56XVLQR.js";import"./chunk-RCV6KWXS.js";import"./chunk-4IW2T6GF.js";import"./chunk-PSPPBZWI.js";import"./chunk-AU7IKHOH.js";import{a as s}from"./chunk-64RSHJUE.js";import"./chunk-3SSKC3VN.js";import"./chunk-OSW76XDF.js";import"./chunk-ED5JPB3S.js";import{b as p}from"./chunk-LEYMRMBK.js";import{e as c}from"./chunk-VTAIKJXX.js";function a(e){let t=e.radius??1,o={radii:new s(t,t,t),stackPartitions:e.stackPartitions,slicePartitions:e.slicePartitions,vertexFormat:e.vertexFormat};this._ellipsoidGeometry=new r(o),this._workerName="createSphereGeometry"}a.packedLength=r.packedLength;a.pack=function(e,t,n){return p.typeOf.object("value",e),r.pack(e._ellipsoidGeometry,t,n)};var l=new r,i={radius:void 0,radii:new s,vertexFormat:new m,stackPartitions:void 0,slicePartitions:void 0};a.unpack=function(e,t,n){let o=r.unpack(e,t,l);return i.vertexFormat=m.clone(o._vertexFormat,i.vertexFormat),i.stackPartitions=o._stackPartitions,i.slicePartitions=o._slicePartitions,c(n)?(s.clone(o._radii,i.radii),n._ellipsoidGeometry=new r(i),n):(i.radius=o._radii.x,new a(i))};a.createGeometry=function(e){return r.createGeometry(e._ellipsoidGeometry)};var d=a;function f(e,t){return c(t)&&(e=d.unpack(e,t)),d.createGeometry(e)}var w=f;export{w as default};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.115
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,96 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- EllipsoidOutlineGeometry_default
28
- } from "./chunk-X4356LRH.js";
29
- import "./chunk-F3YA3Y2Z.js";
30
- import "./chunk-LPR3YNP2.js";
31
- import "./chunk-4H7PY4U5.js";
32
- import "./chunk-7TC63SJW.js";
33
- import "./chunk-FJKNFAKQ.js";
34
- import "./chunk-TTUZP4BO.js";
35
- import "./chunk-BG4UCVXN.js";
36
- import "./chunk-YJEBABKH.js";
37
- import "./chunk-PPH7OFP3.js";
38
- import {
39
- Cartesian3_default
40
- } from "./chunk-OGXZVPPM.js";
41
- import "./chunk-5QULIR53.js";
42
- import "./chunk-SOWMRMWA.js";
43
- import "./chunk-STW2DGFI.js";
44
- import {
45
- defaultValue_default
46
- } from "./chunk-BBWDMCVU.js";
47
- import {
48
- Check_default
49
- } from "./chunk-XGI5BXZY.js";
50
- import {
51
- defined_default
52
- } from "./chunk-YWTJ2B4B.js";
53
-
54
- // packages/engine/Source/Core/SphereOutlineGeometry.js
55
- function SphereOutlineGeometry(options) {
56
- const radius = defaultValue_default(options.radius, 1);
57
- const radii = new Cartesian3_default(radius, radius, radius);
58
- const ellipsoidOptions = {
59
- radii,
60
- stackPartitions: options.stackPartitions,
61
- slicePartitions: options.slicePartitions,
62
- subdivisions: options.subdivisions
63
- };
64
- this._ellipsoidGeometry = new EllipsoidOutlineGeometry_default(ellipsoidOptions);
65
- this._workerName = "createSphereOutlineGeometry";
66
- }
67
- SphereOutlineGeometry.packedLength = EllipsoidOutlineGeometry_default.packedLength;
68
- SphereOutlineGeometry.pack = function(value, array, startingIndex) {
69
- Check_default.typeOf.object("value", value);
70
- return EllipsoidOutlineGeometry_default.pack(
71
- value._ellipsoidGeometry,
72
- array,
73
- startingIndex
74
- );
75
- };
76
- var scratchEllipsoidGeometry = new EllipsoidOutlineGeometry_default();
77
- var scratchOptions = {
78
- radius: void 0,
79
- radii: new Cartesian3_default(),
80
- stackPartitions: void 0,
81
- slicePartitions: void 0,
82
- subdivisions: void 0
83
- };
84
- SphereOutlineGeometry.unpack = function(array, startingIndex, result) {
85
- const ellipsoidGeometry = EllipsoidOutlineGeometry_default.unpack(
86
- array,
87
- startingIndex,
88
- scratchEllipsoidGeometry
89
- );
90
- scratchOptions.stackPartitions = ellipsoidGeometry._stackPartitions;
91
- scratchOptions.slicePartitions = ellipsoidGeometry._slicePartitions;
92
- scratchOptions.subdivisions = ellipsoidGeometry._subdivisions;
93
- if (!defined_default(result)) {
94
- scratchOptions.radius = ellipsoidGeometry._radii.x;
95
- return new SphereOutlineGeometry(scratchOptions);
96
- }
97
- Cartesian3_default.clone(ellipsoidGeometry._radii, scratchOptions.radii);
98
- result._ellipsoidGeometry = new EllipsoidOutlineGeometry_default(scratchOptions);
99
- return result;
100
- };
101
- SphereOutlineGeometry.createGeometry = function(sphereGeometry) {
102
- return EllipsoidOutlineGeometry_default.createGeometry(
103
- sphereGeometry._ellipsoidGeometry
104
- );
105
- };
106
- var SphereOutlineGeometry_default = SphereOutlineGeometry;
107
-
108
- // packages/engine/Source/Workers/createSphereOutlineGeometry.js
109
- function createSphereOutlineGeometry(sphereGeometry, offset) {
110
- if (defined_default(offset)) {
111
- sphereGeometry = SphereOutlineGeometry_default.unpack(sphereGeometry, offset);
112
- }
113
- return SphereOutlineGeometry_default.createGeometry(sphereGeometry);
114
- }
115
- var createSphereOutlineGeometry_default = createSphereOutlineGeometry;
116
- export {
117
- createSphereOutlineGeometry_default as default
118
- };
26
+ import{a as t}from"./chunk-D6C66QON.js";import"./chunk-GBYLG25F.js";import"./chunk-OFUUQVMR.js";import"./chunk-A56XVLQR.js";import"./chunk-RCV6KWXS.js";import"./chunk-4IW2T6GF.js";import"./chunk-PSPPBZWI.js";import"./chunk-AU7IKHOH.js";import{a as c}from"./chunk-64RSHJUE.js";import"./chunk-3SSKC3VN.js";import"./chunk-OSW76XDF.js";import"./chunk-ED5JPB3S.js";import{b as u}from"./chunk-LEYMRMBK.js";import{e as a}from"./chunk-VTAIKJXX.js";function s(i){let e=i.radius??1,r={radii:new c(e,e,e),stackPartitions:i.stackPartitions,slicePartitions:i.slicePartitions,subdivisions:i.subdivisions};this._ellipsoidGeometry=new t(r),this._workerName="createSphereOutlineGeometry"}s.packedLength=t.packedLength;s.pack=function(i,e,o){return u.typeOf.object("value",i),t.pack(i._ellipsoidGeometry,e,o)};var l=new t,n={radius:void 0,radii:new c,stackPartitions:void 0,slicePartitions:void 0,subdivisions:void 0};s.unpack=function(i,e,o){let r=t.unpack(i,e,l);return n.stackPartitions=r._stackPartitions,n.slicePartitions=r._slicePartitions,n.subdivisions=r._subdivisions,a(o)?(c.clone(r._radii,n.radii),o._ellipsoidGeometry=new t(n),o):(n.radius=r._radii.x,new s(n))};s.createGeometry=function(i){return t.createGeometry(i._ellipsoidGeometry)};var d=s;function m(i,e){return a(e)&&(i=d.unpack(i,e)),d.createGeometry(i)}var h=m;export{h as default};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.115
4
+ * Version 1.132
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -23,10 +23,4 @@
23
23
  * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
24
  */
25
25
 
26
- import {
27
- createTaskProcessorWorker_default
28
- } from "./chunk-3VAZEH7M.js";
29
- import "./chunk-YWTJ2B4B.js";
30
- export {
31
- createTaskProcessorWorker_default as default
32
- };
26
+ import{a}from"./chunk-WZDE3RYP.js";import"./chunk-VTAIKJXX.js";export{a as default};