@navaramap/engine-worker 0.0.0 → 0.0.2

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.
@@ -21,7 +21,7 @@ export class Aabb {
21
21
  _assertClass(extent, Vec3);
22
22
  var ptr1 = extent.__destroy_into_raw();
23
23
  const ret = wasm.aabb_new(ptr0, ptr1);
24
- this.__wbg_ptr = ret >>> 0;
24
+ this.__wbg_ptr = ret;
25
25
  AabbFinalization.register(this, this.__wbg_ptr, this);
26
26
  return this;
27
27
  }
@@ -121,7 +121,7 @@ export class BillboardMaterial {
121
121
  */
122
122
  get alphaTest() {
123
123
  const ret = wasm.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);
124
- return ret === 0x100000001 ? undefined : ret;
124
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
125
125
  }
126
126
  /**
127
127
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
@@ -144,7 +144,26 @@ export class BillboardMaterial {
144
144
  */
145
145
  get color() {
146
146
  const ret = wasm.__wbg_get_billboardmaterial_color(this.__wbg_ptr);
147
- return ret === 0x100000001 ? undefined : ret;
147
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
148
+ }
149
+ /**
150
+ * Placement priority for decluttering; higher wins. Only meaningful when
151
+ * `declutter` is enabled. Defaults to `0.0`.
152
+ * @returns {number | undefined}
153
+ */
154
+ get declutterPriority() {
155
+ const ret = wasm.__wbg_get_billboardmaterial_declutterPriority(this.__wbg_ptr);
156
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
157
+ }
158
+ /**
159
+ * Participate in screen-space decluttering: when labels/sprites overlap
160
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
161
+ * `false` to draw every label unconditionally.
162
+ * @returns {boolean | undefined}
163
+ */
164
+ get declutter() {
165
+ const ret = wasm.__wbg_get_billboardmaterial_declutter(this.__wbg_ptr);
166
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
148
167
  }
149
168
  /**
150
169
  * @returns {boolean | undefined}
@@ -172,7 +191,7 @@ export class BillboardMaterial {
172
191
  */
173
192
  get emissiveColor() {
174
193
  const ret = wasm.__wbg_get_billboardmaterial_emissiveColor(this.__wbg_ptr);
175
- return ret === 0x100000001 ? undefined : ret;
194
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
176
195
  }
177
196
  /**
178
197
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -180,14 +199,14 @@ export class BillboardMaterial {
180
199
  */
181
200
  get emissiveIntensity() {
182
201
  const ret = wasm.__wbg_get_billboardmaterial_emissiveIntensity(this.__wbg_ptr);
183
- return ret === 0x100000001 ? undefined : ret;
202
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
184
203
  }
185
204
  /**
186
205
  * @returns {number | undefined}
187
206
  */
188
207
  get height() {
189
208
  const ret = wasm.__wbg_get_billboardmaterial_height(this.__wbg_ptr);
190
- return ret === 0x100000001 ? undefined : ret;
209
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
191
210
  }
192
211
  /**
193
212
  * Avoid overlapping with the globe surface.
@@ -202,7 +221,7 @@ export class BillboardMaterial {
202
221
  */
203
222
  get opacity() {
204
223
  const ret = wasm.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);
205
- return ret === 0x100000001 ? undefined : ret;
224
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
206
225
  }
207
226
  /**
208
227
  * @returns {boolean | undefined}
@@ -225,7 +244,7 @@ export class BillboardMaterial {
225
244
  */
226
245
  get size() {
227
246
  const ret = wasm.__wbg_get_billboardmaterial_size(this.__wbg_ptr);
228
- return ret === 0x100000001 ? undefined : ret;
247
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
229
248
  }
230
249
  /**
231
250
  * @returns {boolean | undefined}
@@ -250,7 +269,7 @@ export class BillboardMaterial {
250
269
  * @param {number | null} [arg0]
251
270
  */
252
271
  set alphaTest(arg0) {
253
- wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
272
+ wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
254
273
  }
255
274
  /**
256
275
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
@@ -275,7 +294,24 @@ export class BillboardMaterial {
275
294
  * @param {number | null} [arg0]
276
295
  */
277
296
  set color(arg0) {
278
- wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
297
+ wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
298
+ }
299
+ /**
300
+ * Placement priority for decluttering; higher wins. Only meaningful when
301
+ * `declutter` is enabled. Defaults to `0.0`.
302
+ * @param {number | null} [arg0]
303
+ */
304
+ set declutterPriority(arg0) {
305
+ wasm.__wbg_set_billboardmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
306
+ }
307
+ /**
308
+ * Participate in screen-space decluttering: when labels/sprites overlap
309
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
310
+ * `false` to draw every label unconditionally.
311
+ * @param {boolean | null} [arg0]
312
+ */
313
+ set declutter(arg0) {
314
+ wasm.__wbg_set_billboardmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
279
315
  }
280
316
  /**
281
317
  * @param {boolean | null} [arg0]
@@ -297,20 +333,20 @@ export class BillboardMaterial {
297
333
  * @param {number | null} [arg0]
298
334
  */
299
335
  set emissiveColor(arg0) {
300
- wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
336
+ wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
301
337
  }
302
338
  /**
303
339
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
304
340
  * @param {number | null} [arg0]
305
341
  */
306
342
  set emissiveIntensity(arg0) {
307
- wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
343
+ wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
308
344
  }
309
345
  /**
310
346
  * @param {number | null} [arg0]
311
347
  */
312
348
  set height(arg0) {
313
- wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
349
+ wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
314
350
  }
315
351
  /**
316
352
  * Avoid overlapping with the globe surface.
@@ -323,7 +359,7 @@ export class BillboardMaterial {
323
359
  * @param {number | null} [arg0]
324
360
  */
325
361
  set opacity(arg0) {
326
- wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
362
+ wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
327
363
  }
328
364
  /**
329
365
  * @param {boolean | null} [arg0]
@@ -343,7 +379,7 @@ export class BillboardMaterial {
343
379
  * @param {number | null} [arg0]
344
380
  */
345
381
  set size(arg0) {
346
- wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
382
+ wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
347
383
  }
348
384
  /**
349
385
  * @param {boolean | null} [arg0]
@@ -381,7 +417,7 @@ export class BoundingSphere {
381
417
  */
382
418
  constructor(center_x, center_y, center_z, radius) {
383
419
  const ret = wasm.boundingsphere_new(center_x, center_y, center_z, radius);
384
- this.__wbg_ptr = ret >>> 0;
420
+ this.__wbg_ptr = ret;
385
421
  BoundingSphereFinalization.register(this, this.__wbg_ptr, this);
386
422
  return this;
387
423
  }
@@ -457,7 +493,6 @@ export const CRS = Object.freeze({
457
493
 
458
494
  export class CachedMeshHandle {
459
495
  static __wrap(ptr) {
460
- ptr = ptr >>> 0;
461
496
  const obj = Object.create(CachedMeshHandle.prototype);
462
497
  obj.__wbg_ptr = ptr;
463
498
  CachedMeshHandleFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -480,8 +515,8 @@ export class CachedMeshHandle {
480
515
  * @param {number | null} [heights]
481
516
  */
482
517
  constructor(vertices, indices, uvs, heights) {
483
- const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? 0x100000001 : (heights) >> 0);
484
- this.__wbg_ptr = ret >>> 0;
518
+ const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? Number.MAX_SAFE_INTEGER : (heights) >> 0);
519
+ this.__wbg_ptr = ret;
485
520
  CachedMeshHandleFinalization.register(this, this.__wbg_ptr, this);
486
521
  return this;
487
522
  }
@@ -490,7 +525,7 @@ export class CachedMeshHandle {
490
525
  */
491
526
  get heights() {
492
527
  const ret = wasm.__wbg_get_cachedmeshhandle_heights(this.__wbg_ptr);
493
- return ret === 0x100000001 ? undefined : ret;
528
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
494
529
  }
495
530
  /**
496
531
  * @returns {number}
@@ -504,7 +539,7 @@ export class CachedMeshHandle {
504
539
  */
505
540
  get normals() {
506
541
  const ret = wasm.__wbg_get_cachedmeshhandle_normals(this.__wbg_ptr);
507
- return ret === 0x100000001 ? undefined : ret;
542
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
508
543
  }
509
544
  /**
510
545
  * @returns {number}
@@ -525,13 +560,13 @@ export class CachedMeshHandle {
525
560
  */
526
561
  get watermask() {
527
562
  const ret = wasm.__wbg_get_cachedmeshhandle_watermask(this.__wbg_ptr);
528
- return ret === 0x100000001 ? undefined : ret;
563
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
529
564
  }
530
565
  /**
531
566
  * @param {number | null} [arg0]
532
567
  */
533
568
  set heights(arg0) {
534
- wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
569
+ wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
535
570
  }
536
571
  /**
537
572
  * @param {number} arg0
@@ -543,7 +578,7 @@ export class CachedMeshHandle {
543
578
  * @param {number | null} [arg0]
544
579
  */
545
580
  set normals(arg0) {
546
- wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
581
+ wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
547
582
  }
548
583
  /**
549
584
  * @param {number} arg0
@@ -561,7 +596,7 @@ export class CachedMeshHandle {
561
596
  * @param {number | null} [arg0]
562
597
  */
563
598
  set watermask(arg0) {
564
- wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
599
+ wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
565
600
  }
566
601
  }
567
602
  if (Symbol.dispose) CachedMeshHandle.prototype[Symbol.dispose] = CachedMeshHandle.prototype.free;
@@ -585,7 +620,7 @@ export class CameraControlUpdateEvent {
585
620
  }
586
621
  constructor() {
587
622
  const ret = wasm.cameracontrolupdateevent_new();
588
- this.__wbg_ptr = ret >>> 0;
623
+ this.__wbg_ptr = ret;
589
624
  CameraControlUpdateEventFinalization.register(this, this.__wbg_ptr, this);
590
625
  return this;
591
626
  }
@@ -661,7 +696,7 @@ export class CameraControlUpdateEvent {
661
696
  */
662
697
  get spinDuration() {
663
698
  const ret = wasm.__wbg_get_cameracontrolupdateevent_spinDuration(this.__wbg_ptr);
664
- return ret === 0x100000001 ? undefined : ret;
699
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
665
700
  }
666
701
  /**
667
702
  * Multiplier for mouse drag rotation speed.
@@ -681,7 +716,7 @@ export class CameraControlUpdateEvent {
681
716
  */
682
717
  get translateDuration() {
683
718
  const ret = wasm.__wbg_get_cameracontrolupdateevent_translateDuration(this.__wbg_ptr);
684
- return ret === 0x100000001 ? undefined : ret;
719
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
685
720
  }
686
721
  /**
687
722
  * Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
@@ -691,7 +726,7 @@ export class CameraControlUpdateEvent {
691
726
  */
692
727
  get zoomDuration() {
693
728
  const ret = wasm.__wbg_get_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr);
694
- return ret === 0x100000001 ? undefined : ret;
729
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
695
730
  }
696
731
  /**
697
732
  * Multiplier for scroll wheel zoom speed.
@@ -768,7 +803,7 @@ export class CameraControlUpdateEvent {
768
803
  * @param {number | null} [arg0]
769
804
  */
770
805
  set spinDuration(arg0) {
771
- wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
806
+ wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
772
807
  }
773
808
  /**
774
809
  * Multiplier for mouse drag rotation speed.
@@ -786,7 +821,7 @@ export class CameraControlUpdateEvent {
786
821
  * @param {number | null} [arg0]
787
822
  */
788
823
  set translateDuration(arg0) {
789
- wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
824
+ wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
790
825
  }
791
826
  /**
792
827
  * Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
@@ -795,7 +830,7 @@ export class CameraControlUpdateEvent {
795
830
  * @param {number | null} [arg0]
796
831
  */
797
832
  set zoomDuration(arg0) {
798
- wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
833
+ wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
799
834
  }
800
835
  /**
801
836
  * Multiplier for scroll wheel zoom speed.
@@ -840,7 +875,7 @@ export class CameraFrustum {
840
875
  */
841
876
  constructor(near, far, fov, aspect_ratio) {
842
877
  const ret = wasm.camerafrustum_new(near, far, fov, aspect_ratio);
843
- this.__wbg_ptr = ret >>> 0;
878
+ this.__wbg_ptr = ret;
844
879
  CameraFrustumFinalization.register(this, this.__wbg_ptr, this);
845
880
  return this;
846
881
  }
@@ -1065,7 +1100,7 @@ export class CompiledExpression {
1065
1100
  if (ret[2]) {
1066
1101
  throw takeFromExternrefTable0(ret[1]);
1067
1102
  }
1068
- this.__wbg_ptr = ret[0] >>> 0;
1103
+ this.__wbg_ptr = ret[0];
1069
1104
  CompiledExpressionFinalization.register(this, this.__wbg_ptr, this);
1070
1105
  return this;
1071
1106
  }
@@ -1093,7 +1128,7 @@ export class CompiledFilter {
1093
1128
  if (ret[2]) {
1094
1129
  throw takeFromExternrefTable0(ret[1]);
1095
1130
  }
1096
- this.__wbg_ptr = ret[0] >>> 0;
1131
+ this.__wbg_ptr = ret[0];
1097
1132
  CompiledFilterFinalization.register(this, this.__wbg_ptr, this);
1098
1133
  return this;
1099
1134
  }
@@ -1123,7 +1158,6 @@ if (Symbol.dispose) CompiledFilter.prototype[Symbol.dispose] = CompiledFilter.pr
1123
1158
 
1124
1159
  export class ConstructedPolygonGeometry {
1125
1160
  static __wrap(ptr) {
1126
- ptr = ptr >>> 0;
1127
1161
  const obj = Object.create(ConstructedPolygonGeometry.prototype);
1128
1162
  obj.__wbg_ptr = ptr;
1129
1163
  ConstructedPolygonGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1298,7 +1332,6 @@ if (Symbol.dispose) ConstructedPolygonGeometry.prototype[Symbol.dispose] = Const
1298
1332
 
1299
1333
  export class ConstructedPolygonOutlineGeometry {
1300
1334
  static __wrap(ptr) {
1301
- ptr = ptr >>> 0;
1302
1335
  const obj = Object.create(ConstructedPolygonOutlineGeometry.prototype);
1303
1336
  obj.__wbg_ptr = ptr;
1304
1337
  ConstructedPolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1368,7 +1401,6 @@ if (Symbol.dispose) ConstructedPolygonOutlineGeometry.prototype[Symbol.dispose]
1368
1401
 
1369
1402
  export class ConstructedPolylineGeometry {
1370
1403
  static __wrap(ptr) {
1371
- ptr = ptr >>> 0;
1372
1404
  const obj = Object.create(ConstructedPolylineGeometry.prototype);
1373
1405
  obj.__wbg_ptr = ptr;
1374
1406
  ConstructedPolylineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1599,7 +1631,6 @@ if (Symbol.dispose) ConstructedPolylineGeometry.prototype[Symbol.dispose] = Cons
1599
1631
 
1600
1632
  export class ElevationDecoder {
1601
1633
  static __wrap(ptr) {
1602
- ptr = ptr >>> 0;
1603
1634
  const obj = Object.create(ElevationDecoder.prototype);
1604
1635
  obj.__wbg_ptr = ptr;
1605
1636
  ElevationDecoderFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1641,7 +1672,7 @@ export class ElevationDecoder {
1641
1672
  */
1642
1673
  constructor(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon) {
1643
1674
  const ret = wasm.elevationdecoder_new(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon);
1644
- this.__wbg_ptr = ret >>> 0;
1675
+ this.__wbg_ptr = ret;
1645
1676
  ElevationDecoderFinalization.register(this, this.__wbg_ptr, this);
1646
1677
  return this;
1647
1678
  }
@@ -1868,7 +1899,7 @@ export class EllipsoidGeodesic {
1868
1899
  _assertClass(end, LLE);
1869
1900
  var ptr1 = end.__destroy_into_raw();
1870
1901
  const ret = wasm.ellipsoidgeodesic_new(ptr0, ptr1);
1871
- this.__wbg_ptr = ret >>> 0;
1902
+ this.__wbg_ptr = ret;
1872
1903
  EllipsoidGeodesicFinalization.register(this, this.__wbg_ptr, this);
1873
1904
  return this;
1874
1905
  }
@@ -1965,7 +1996,7 @@ export class EncodedVec3 {
1965
1996
  _assertClass(low, Vec3);
1966
1997
  var ptr1 = low.__destroy_into_raw();
1967
1998
  const ret = wasm.encodedvec3_new(ptr0, ptr1);
1968
- this.__wbg_ptr = ret >>> 0;
1999
+ this.__wbg_ptr = ret;
1969
2000
  EncodedVec3Finalization.register(this, this.__wbg_ptr, this);
1970
2001
  return this;
1971
2002
  }
@@ -2004,7 +2035,6 @@ if (Symbol.dispose) EncodedVec3.prototype[Symbol.dispose] = EncodedVec3.prototyp
2004
2035
 
2005
2036
  export class ExtentRadianF32 {
2006
2037
  static __wrap(ptr) {
2007
- ptr = ptr >>> 0;
2008
2038
  const obj = Object.create(ExtentRadianF32.prototype);
2009
2039
  obj.__wbg_ptr = ptr;
2010
2040
  ExtentRadianF32Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -2028,7 +2058,7 @@ export class ExtentRadianF32 {
2028
2058
  */
2029
2059
  constructor(west, south, east, north) {
2030
2060
  const ret = wasm.extentradianf32_new(west, south, east, north);
2031
- this.__wbg_ptr = ret >>> 0;
2061
+ this.__wbg_ptr = ret;
2032
2062
  ExtentRadianF32Finalization.register(this, this.__wbg_ptr, this);
2033
2063
  return this;
2034
2064
  }
@@ -2106,7 +2136,7 @@ export class FloatAttribute {
2106
2136
  const ptr0 = passArrayF32ToWasm0(data, wasm.__wbindgen_malloc);
2107
2137
  const len0 = WASM_VECTOR_LEN;
2108
2138
  const ret = wasm.floatattribute_new(ptr0, len0, size);
2109
- this.__wbg_ptr = ret >>> 0;
2139
+ this.__wbg_ptr = ret;
2110
2140
  FloatAttributeFinalization.register(this, this.__wbg_ptr, this);
2111
2141
  return this;
2112
2142
  }
@@ -2171,7 +2201,7 @@ export class Geometry {
2171
2201
  const ptr2 = passArrayF32ToWasm0(uvs, wasm.__wbindgen_malloc);
2172
2202
  const len2 = WASM_VECTOR_LEN;
2173
2203
  const ret = wasm.geometry_new(ptr0, len0, ptr1, len1, ptr2, len2);
2174
- this.__wbg_ptr = ret >>> 0;
2204
+ this.__wbg_ptr = ret;
2175
2205
  GeometryFinalization.register(this, this.__wbg_ptr, this);
2176
2206
  return this;
2177
2207
  }
@@ -2278,6 +2308,18 @@ export class Globe {
2278
2308
  const ret = wasm.__wbg_get_globe_hideUnderground(this.__wbg_ptr);
2279
2309
  return ret !== 0;
2280
2310
  }
2311
+ /**
2312
+ * Whether the globe tiles with the Geographic scheme (quantized-mesh
2313
+ * terrain) rather than the default WebMercator. Engine-set output — the
2314
+ * web renderer selects its raster drape pipeline (baked vs direct) from
2315
+ * it at tile-mesh creation; ignored on input (the scheme is dictated by
2316
+ * the terrain source, not configurable).
2317
+ * @returns {boolean}
2318
+ */
2319
+ get isGeographicTiling() {
2320
+ const ret = wasm.__wbg_get_globe_isGeographicTiling(this.__wbg_ptr);
2321
+ return ret !== 0;
2322
+ }
2281
2323
  /**
2282
2324
  * Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
2283
2325
  * @returns {number}
@@ -2342,7 +2384,7 @@ export class Globe {
2342
2384
  const ptr0 = passArrayF32ToWasm0(elevation_colormap, wasm.__wbindgen_malloc);
2343
2385
  const len0 = WASM_VECTOR_LEN;
2344
2386
  const ret = wasm.globe_new(max_sse, segments, color, hide_underground, use_normal, transparent, opacity, wireframe, ptr0, len0);
2345
- this.__wbg_ptr = ret >>> 0;
2387
+ this.__wbg_ptr = ret;
2346
2388
  GlobeFinalization.register(this, this.__wbg_ptr, this);
2347
2389
  return this;
2348
2390
  }
@@ -2370,6 +2412,17 @@ export class Globe {
2370
2412
  set hideUnderground(arg0) {
2371
2413
  wasm.__wbg_set_globe_hideUnderground(this.__wbg_ptr, arg0);
2372
2414
  }
2415
+ /**
2416
+ * Whether the globe tiles with the Geographic scheme (quantized-mesh
2417
+ * terrain) rather than the default WebMercator. Engine-set output — the
2418
+ * web renderer selects its raster drape pipeline (baked vs direct) from
2419
+ * it at tile-mesh creation; ignored on input (the scheme is dictated by
2420
+ * the terrain source, not configurable).
2421
+ * @param {boolean} arg0
2422
+ */
2423
+ set isGeographicTiling(arg0) {
2424
+ wasm.__wbg_set_globe_isGeographicTiling(this.__wbg_ptr, arg0);
2425
+ }
2373
2426
  /**
2374
2427
  * Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
2375
2428
  * @param {number} arg0
@@ -2437,21 +2490,20 @@ export class HillshadeMaterial {
2437
2490
  */
2438
2491
  get exaggeration() {
2439
2492
  const ret = wasm.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);
2440
- return ret === 0x100000001 ? undefined : ret;
2493
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2441
2494
  }
2442
2495
  /**
2443
2496
  * Exaggeration factor for hillshade effect (default: 1.0)
2444
2497
  * @param {number | null} [arg0]
2445
2498
  */
2446
2499
  set exaggeration(arg0) {
2447
- wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
2500
+ wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2448
2501
  }
2449
2502
  }
2450
2503
  if (Symbol.dispose) HillshadeMaterial.prototype[Symbol.dispose] = HillshadeMaterial.prototype.free;
2451
2504
 
2452
2505
  export class LLE {
2453
2506
  static __wrap(ptr) {
2454
- ptr = ptr >>> 0;
2455
2507
  const obj = Object.create(LLE.prototype);
2456
2508
  obj.__wbg_ptr = ptr;
2457
2509
  LLEFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2495,7 +2547,7 @@ export class LLE {
2495
2547
  */
2496
2548
  constructor(lat, lng, height) {
2497
2549
  const ret = wasm.lle_new(lat, lng, height);
2498
- this.__wbg_ptr = ret >>> 0;
2550
+ this.__wbg_ptr = ret;
2499
2551
  LLEFinalization.register(this, this.__wbg_ptr, this);
2500
2552
  return this;
2501
2553
  }
@@ -2522,7 +2574,6 @@ if (Symbol.dispose) LLE.prototype[Symbol.dispose] = LLE.prototype.free;
2522
2574
 
2523
2575
  export class ModelInternalMaterial {
2524
2576
  static __wrap(ptr) {
2525
- ptr = ptr >>> 0;
2526
2577
  const obj = Object.create(ModelInternalMaterial.prototype);
2527
2578
  obj.__wbg_ptr = ptr;
2528
2579
  ModelInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2617,7 +2668,7 @@ export class ModelMaterial {
2617
2668
  */
2618
2669
  get animationSpeed() {
2619
2670
  const ret = wasm.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);
2620
- return ret === 0x100000001 ? undefined : ret;
2671
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2621
2672
  }
2622
2673
  /**
2623
2674
  * @returns {boolean | undefined}
@@ -2645,7 +2696,7 @@ export class ModelMaterial {
2645
2696
  */
2646
2697
  get color() {
2647
2698
  const ret = wasm.__wbg_get_modelmaterial_color(this.__wbg_ptr);
2648
- return ret === 0x100000001 ? undefined : ret;
2699
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2649
2700
  }
2650
2701
  /**
2651
2702
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -2654,7 +2705,7 @@ export class ModelMaterial {
2654
2705
  */
2655
2706
  get creaseNormalAngle() {
2656
2707
  const ret = wasm.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);
2657
- return ret === 0x100000001 ? undefined : ret;
2708
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2658
2709
  }
2659
2710
  /**
2660
2711
  * Enable writing to depth buffer
@@ -2683,7 +2734,7 @@ export class ModelMaterial {
2683
2734
  */
2684
2735
  get emissiveColor() {
2685
2736
  const ret = wasm.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);
2686
- return ret === 0x100000001 ? undefined : ret;
2737
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2687
2738
  }
2688
2739
  /**
2689
2740
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -2691,35 +2742,35 @@ export class ModelMaterial {
2691
2742
  */
2692
2743
  get emissiveIntensity() {
2693
2744
  const ret = wasm.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);
2694
- return ret === 0x100000001 ? undefined : ret;
2745
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2695
2746
  }
2696
2747
  /**
2697
2748
  * @returns {number | undefined}
2698
2749
  */
2699
2750
  get height() {
2700
2751
  const ret = wasm.__wbg_get_modelmaterial_height(this.__wbg_ptr);
2701
- return ret === 0x100000001 ? undefined : ret;
2752
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2702
2753
  }
2703
2754
  /**
2704
2755
  * @returns {number | undefined}
2705
2756
  */
2706
2757
  get ior() {
2707
2758
  const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
2708
- return ret === 0x100000001 ? undefined : ret;
2759
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2709
2760
  }
2710
2761
  /**
2711
2762
  * @returns {number | undefined}
2712
2763
  */
2713
2764
  get maxSse() {
2714
2765
  const ret = wasm.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);
2715
- return ret === 0x100000001 ? undefined : ret;
2766
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2716
2767
  }
2717
2768
  /**
2718
2769
  * @returns {number | undefined}
2719
2770
  */
2720
2771
  get metalness() {
2721
2772
  const ret = wasm.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);
2722
- return ret === 0x100000001 ? undefined : ret;
2773
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2723
2774
  }
2724
2775
  /**
2725
2776
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -2737,14 +2788,14 @@ export class ModelMaterial {
2737
2788
  */
2738
2789
  get opacity() {
2739
2790
  const ret = wasm.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);
2740
- return ret === 0x100000001 ? undefined : ret;
2791
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2741
2792
  }
2742
2793
  /**
2743
2794
  * @returns {number | undefined}
2744
2795
  */
2745
2796
  get pointSize() {
2746
2797
  const ret = wasm.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);
2747
- return ret === 0x100000001 ? undefined : ret;
2798
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2748
2799
  }
2749
2800
  /**
2750
2801
  * @returns {boolean | undefined}
@@ -2759,7 +2810,7 @@ export class ModelMaterial {
2759
2810
  */
2760
2811
  get reflectivity() {
2761
2812
  const ret = wasm.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);
2762
- return ret === 0x100000001 ? undefined : ret;
2813
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2763
2814
  }
2764
2815
  /**
2765
2816
  * Reflectivity for post-process.
@@ -2767,14 +2818,14 @@ export class ModelMaterial {
2767
2818
  */
2768
2819
  get roughness() {
2769
2820
  const ret = wasm.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);
2770
- return ret === 0x100000001 ? undefined : ret;
2821
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2771
2822
  }
2772
2823
  /**
2773
2824
  * @returns {number | undefined}
2774
2825
  */
2775
2826
  get shininess() {
2776
2827
  const ret = wasm.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);
2777
- return ret === 0x100000001 ? undefined : ret;
2828
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2778
2829
  }
2779
2830
  /**
2780
2831
  * @returns {boolean | undefined}
@@ -2802,14 +2853,14 @@ export class ModelMaterial {
2802
2853
  */
2803
2854
  get size() {
2804
2855
  const ret = wasm.__wbg_get_modelmaterial_size(this.__wbg_ptr);
2805
- return ret === 0x100000001 ? undefined : ret;
2856
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2806
2857
  }
2807
2858
  /**
2808
2859
  * @returns {number | undefined}
2809
2860
  */
2810
2861
  get specularStrength() {
2811
2862
  const ret = wasm.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);
2812
- return ret === 0x100000001 ? undefined : ret;
2863
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2813
2864
  }
2814
2865
  /**
2815
2866
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -2845,7 +2896,7 @@ export class ModelMaterial {
2845
2896
  */
2846
2897
  get waterScaleNormal() {
2847
2898
  const ret = wasm.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);
2848
- return ret === 0x100000001 ? undefined : ret;
2899
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2849
2900
  }
2850
2901
  /**
2851
2902
  * Water wave speed.
@@ -2853,7 +2904,7 @@ export class ModelMaterial {
2853
2904
  */
2854
2905
  get waterSpeed() {
2855
2906
  const ret = wasm.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);
2856
- return ret === 0x100000001 ? undefined : ret;
2907
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2857
2908
  }
2858
2909
  /**
2859
2910
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -2886,7 +2937,7 @@ export class ModelMaterial {
2886
2937
  * @param {number | null} [arg0]
2887
2938
  */
2888
2939
  set animationSpeed(arg0) {
2889
- wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
2940
+ wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2890
2941
  }
2891
2942
  /**
2892
2943
  * @param {boolean | null} [arg0]
@@ -2910,7 +2961,7 @@ export class ModelMaterial {
2910
2961
  * @param {number | null} [arg0]
2911
2962
  */
2912
2963
  set color(arg0) {
2913
- wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
2964
+ wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
2914
2965
  }
2915
2966
  /**
2916
2967
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -2918,7 +2969,7 @@ export class ModelMaterial {
2918
2969
  * @param {number | null} [arg0]
2919
2970
  */
2920
2971
  set creaseNormalAngle(arg0) {
2921
- wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
2972
+ wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2922
2973
  }
2923
2974
  /**
2924
2975
  * Enable writing to depth buffer
@@ -2941,38 +2992,38 @@ export class ModelMaterial {
2941
2992
  * @param {number | null} [arg0]
2942
2993
  */
2943
2994
  set emissiveColor(arg0) {
2944
- wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
2995
+ wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
2945
2996
  }
2946
2997
  /**
2947
2998
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
2948
2999
  * @param {number | null} [arg0]
2949
3000
  */
2950
3001
  set emissiveIntensity(arg0) {
2951
- wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3002
+ wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2952
3003
  }
2953
3004
  /**
2954
3005
  * @param {number | null} [arg0]
2955
3006
  */
2956
3007
  set height(arg0) {
2957
- wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3008
+ wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2958
3009
  }
2959
3010
  /**
2960
3011
  * @param {number | null} [arg0]
2961
3012
  */
2962
3013
  set ior(arg0) {
2963
- wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3014
+ wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2964
3015
  }
2965
3016
  /**
2966
3017
  * @param {number | null} [arg0]
2967
3018
  */
2968
3019
  set maxSse(arg0) {
2969
- wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3020
+ wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2970
3021
  }
2971
3022
  /**
2972
3023
  * @param {number | null} [arg0]
2973
3024
  */
2974
3025
  set metalness(arg0) {
2975
- wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3026
+ wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2976
3027
  }
2977
3028
  /**
2978
3029
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -2988,13 +3039,13 @@ export class ModelMaterial {
2988
3039
  * @param {number | null} [arg0]
2989
3040
  */
2990
3041
  set opacity(arg0) {
2991
- wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3042
+ wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2992
3043
  }
2993
3044
  /**
2994
3045
  * @param {number | null} [arg0]
2995
3046
  */
2996
3047
  set pointSize(arg0) {
2997
- wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3048
+ wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2998
3049
  }
2999
3050
  /**
3000
3051
  * @param {boolean | null} [arg0]
@@ -3007,20 +3058,20 @@ export class ModelMaterial {
3007
3058
  * @param {number | null} [arg0]
3008
3059
  */
3009
3060
  set reflectivity(arg0) {
3010
- wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3061
+ wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3011
3062
  }
3012
3063
  /**
3013
3064
  * Reflectivity for post-process.
3014
3065
  * @param {number | null} [arg0]
3015
3066
  */
3016
3067
  set roughness(arg0) {
3017
- wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3068
+ wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3018
3069
  }
3019
3070
  /**
3020
3071
  * @param {number | null} [arg0]
3021
3072
  */
3022
3073
  set shininess(arg0) {
3023
- wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3074
+ wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3024
3075
  }
3025
3076
  /**
3026
3077
  * @param {boolean | null} [arg0]
@@ -3044,13 +3095,13 @@ export class ModelMaterial {
3044
3095
  * @param {number | null} [arg0]
3045
3096
  */
3046
3097
  set size(arg0) {
3047
- wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3098
+ wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3048
3099
  }
3049
3100
  /**
3050
3101
  * @param {number | null} [arg0]
3051
3102
  */
3052
3103
  set specularStrength(arg0) {
3053
- wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3104
+ wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3054
3105
  }
3055
3106
  /**
3056
3107
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -3079,14 +3130,14 @@ export class ModelMaterial {
3079
3130
  * @param {number | null} [arg0]
3080
3131
  */
3081
3132
  set waterScaleNormal(arg0) {
3082
- wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3133
+ wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3083
3134
  }
3084
3135
  /**
3085
3136
  * Water wave speed.
3086
3137
  * @param {number | null} [arg0]
3087
3138
  */
3088
3139
  set waterSpeed(arg0) {
3089
- wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3140
+ wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3090
3141
  }
3091
3142
  /**
3092
3143
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -3239,7 +3290,26 @@ export class PointMaterial {
3239
3290
  */
3240
3291
  get color() {
3241
3292
  const ret = wasm.__wbg_get_pointmaterial_color(this.__wbg_ptr);
3242
- return ret === 0x100000001 ? undefined : ret;
3293
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3294
+ }
3295
+ /**
3296
+ * Placement priority for decluttering; higher wins. Only meaningful when
3297
+ * `declutter` is enabled. Defaults to `0.0`.
3298
+ * @returns {number | undefined}
3299
+ */
3300
+ get declutterPriority() {
3301
+ const ret = wasm.__wbg_get_pointmaterial_declutterPriority(this.__wbg_ptr);
3302
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3303
+ }
3304
+ /**
3305
+ * Participate in screen-space decluttering: when labels/sprites overlap
3306
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
3307
+ * `false` to draw every label unconditionally.
3308
+ * @returns {boolean | undefined}
3309
+ */
3310
+ get declutter() {
3311
+ const ret = wasm.__wbg_get_pointmaterial_declutter(this.__wbg_ptr);
3312
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
3243
3313
  }
3244
3314
  /**
3245
3315
  * @returns {boolean | undefined}
@@ -3267,7 +3337,7 @@ export class PointMaterial {
3267
3337
  */
3268
3338
  get emissiveColor() {
3269
3339
  const ret = wasm.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);
3270
- return ret === 0x100000001 ? undefined : ret;
3340
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3271
3341
  }
3272
3342
  /**
3273
3343
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -3275,14 +3345,14 @@ export class PointMaterial {
3275
3345
  */
3276
3346
  get emissiveIntensity() {
3277
3347
  const ret = wasm.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);
3278
- return ret === 0x100000001 ? undefined : ret;
3348
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3279
3349
  }
3280
3350
  /**
3281
3351
  * @returns {number | undefined}
3282
3352
  */
3283
3353
  get height() {
3284
3354
  const ret = wasm.__wbg_get_pointmaterial_height(this.__wbg_ptr);
3285
- return ret === 0x100000001 ? undefined : ret;
3355
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3286
3356
  }
3287
3357
  /**
3288
3358
  * Avoid overlapping with the globe surface.
@@ -3297,7 +3367,7 @@ export class PointMaterial {
3297
3367
  */
3298
3368
  get opacity() {
3299
3369
  const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
3300
- return ret === 0x100000001 ? undefined : ret;
3370
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3301
3371
  }
3302
3372
  /**
3303
3373
  * @returns {boolean | undefined}
@@ -3320,7 +3390,7 @@ export class PointMaterial {
3320
3390
  */
3321
3391
  get size() {
3322
3392
  const ret = wasm.__wbg_get_pointmaterial_size(this.__wbg_ptr);
3323
- return ret === 0x100000001 ? undefined : ret;
3393
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3324
3394
  }
3325
3395
  /**
3326
3396
  * @returns {boolean | undefined}
@@ -3352,7 +3422,24 @@ export class PointMaterial {
3352
3422
  * @param {number | null} [arg0]
3353
3423
  */
3354
3424
  set color(arg0) {
3355
- wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3425
+ wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3426
+ }
3427
+ /**
3428
+ * Placement priority for decluttering; higher wins. Only meaningful when
3429
+ * `declutter` is enabled. Defaults to `0.0`.
3430
+ * @param {number | null} [arg0]
3431
+ */
3432
+ set declutterPriority(arg0) {
3433
+ wasm.__wbg_set_pointmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3434
+ }
3435
+ /**
3436
+ * Participate in screen-space decluttering: when labels/sprites overlap
3437
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
3438
+ * `false` to draw every label unconditionally.
3439
+ * @param {boolean | null} [arg0]
3440
+ */
3441
+ set declutter(arg0) {
3442
+ wasm.__wbg_set_pointmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
3356
3443
  }
3357
3444
  /**
3358
3445
  * @param {boolean | null} [arg0]
@@ -3374,20 +3461,20 @@ export class PointMaterial {
3374
3461
  * @param {number | null} [arg0]
3375
3462
  */
3376
3463
  set emissiveColor(arg0) {
3377
- wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3464
+ wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3378
3465
  }
3379
3466
  /**
3380
3467
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
3381
3468
  * @param {number | null} [arg0]
3382
3469
  */
3383
3470
  set emissiveIntensity(arg0) {
3384
- wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3471
+ wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3385
3472
  }
3386
3473
  /**
3387
3474
  * @param {number | null} [arg0]
3388
3475
  */
3389
3476
  set height(arg0) {
3390
- wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3477
+ wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3391
3478
  }
3392
3479
  /**
3393
3480
  * Avoid overlapping with the globe surface.
@@ -3400,7 +3487,7 @@ export class PointMaterial {
3400
3487
  * @param {number | null} [arg0]
3401
3488
  */
3402
3489
  set opacity(arg0) {
3403
- wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3490
+ wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3404
3491
  }
3405
3492
  /**
3406
3493
  * @param {boolean | null} [arg0]
@@ -3420,7 +3507,7 @@ export class PointMaterial {
3420
3507
  * @param {number | null} [arg0]
3421
3508
  */
3422
3509
  set size(arg0) {
3423
- wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3510
+ wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3424
3511
  }
3425
3512
  /**
3426
3513
  * @param {boolean | null} [arg0]
@@ -3664,7 +3751,6 @@ if (Symbol.dispose) PolygonGeometryAttributes.prototype[Symbol.dispose] = Polygo
3664
3751
 
3665
3752
  export class PolygonInternalMaterial {
3666
3753
  static __wrap(ptr) {
3667
- ptr = ptr >>> 0;
3668
3754
  const obj = Object.create(PolygonInternalMaterial.prototype);
3669
3755
  obj.__wbg_ptr = ptr;
3670
3756
  PolygonInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -3744,7 +3830,7 @@ export class PolygonMaterial {
3744
3830
  */
3745
3831
  get color() {
3746
3832
  const ret = wasm.__wbg_get_polygonmaterial_color(this.__wbg_ptr);
3747
- return ret === 0x100000001 ? undefined : ret;
3833
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3748
3834
  }
3749
3835
  /**
3750
3836
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -3765,7 +3851,7 @@ export class PolygonMaterial {
3765
3851
  */
3766
3852
  get emissiveColor() {
3767
3853
  const ret = wasm.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);
3768
- return ret === 0x100000001 ? undefined : ret;
3854
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3769
3855
  }
3770
3856
  /**
3771
3857
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -3773,28 +3859,28 @@ export class PolygonMaterial {
3773
3859
  */
3774
3860
  get emissiveIntensity() {
3775
3861
  const ret = wasm.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);
3776
- return ret === 0x100000001 ? undefined : ret;
3862
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3777
3863
  }
3778
3864
  /**
3779
3865
  * @returns {number | undefined}
3780
3866
  */
3781
3867
  get extrudedHeight() {
3782
3868
  const ret = wasm.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);
3783
- return ret === 0x100000001 ? undefined : ret;
3869
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3784
3870
  }
3785
3871
  /**
3786
3872
  * @returns {number | undefined}
3787
3873
  */
3788
3874
  get height() {
3789
3875
  const ret = wasm.__wbg_get_polygonmaterial_height(this.__wbg_ptr);
3790
- return ret === 0x100000001 ? undefined : ret;
3876
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3791
3877
  }
3792
3878
  /**
3793
3879
  * @returns {number | undefined}
3794
3880
  */
3795
3881
  get ior() {
3796
3882
  const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
3797
- return ret === 0x100000001 ? undefined : ret;
3883
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3798
3884
  }
3799
3885
  /**
3800
3886
  * Need to enable `transparent`.
@@ -3802,7 +3888,7 @@ export class PolygonMaterial {
3802
3888
  */
3803
3889
  get opacity() {
3804
3890
  const ret = wasm.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);
3805
- return ret === 0x100000001 ? undefined : ret;
3891
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3806
3892
  }
3807
3893
  /**
3808
3894
  * Currently, this property is supported only in GeoJSON.
@@ -3810,7 +3896,7 @@ export class PolygonMaterial {
3810
3896
  */
3811
3897
  get outlineColor() {
3812
3898
  const ret = wasm.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);
3813
- return ret === 0x100000001 ? undefined : ret;
3899
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3814
3900
  }
3815
3901
  /**
3816
3902
  * Currently, this property is supported only in GeoJSON.
@@ -3826,7 +3912,7 @@ export class PolygonMaterial {
3826
3912
  */
3827
3913
  get outlineWidth() {
3828
3914
  const ret = wasm.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);
3829
- return ret === 0x100000001 ? undefined : ret;
3915
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3830
3916
  }
3831
3917
  /**
3832
3918
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -3858,7 +3944,7 @@ export class PolygonMaterial {
3858
3944
  */
3859
3945
  get reflectivity() {
3860
3946
  const ret = wasm.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);
3861
- return ret === 0x100000001 ? undefined : ret;
3947
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3862
3948
  }
3863
3949
  /**
3864
3950
  * Reflectivity for post-process.
@@ -3866,14 +3952,14 @@ export class PolygonMaterial {
3866
3952
  */
3867
3953
  get roughness() {
3868
3954
  const ret = wasm.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);
3869
- return ret === 0x100000001 ? undefined : ret;
3955
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3870
3956
  }
3871
3957
  /**
3872
3958
  * @returns {number | undefined}
3873
3959
  */
3874
3960
  get shininess() {
3875
3961
  const ret = wasm.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);
3876
- return ret === 0x100000001 ? undefined : ret;
3962
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3877
3963
  }
3878
3964
  /**
3879
3965
  * @returns {boolean | undefined}
@@ -3887,7 +3973,7 @@ export class PolygonMaterial {
3887
3973
  */
3888
3974
  get specularStrength() {
3889
3975
  const ret = wasm.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);
3890
- return ret === 0x100000001 ? undefined : ret;
3976
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3891
3977
  }
3892
3978
  /**
3893
3979
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -3932,7 +4018,7 @@ export class PolygonMaterial {
3932
4018
  */
3933
4019
  get waterScaleNormal() {
3934
4020
  const ret = wasm.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);
3935
- return ret === 0x100000001 ? undefined : ret;
4021
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3936
4022
  }
3937
4023
  /**
3938
4024
  * Water wave speed.
@@ -3940,7 +4026,7 @@ export class PolygonMaterial {
3940
4026
  */
3941
4027
  get waterSpeed() {
3942
4028
  const ret = wasm.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);
3943
- return ret === 0x100000001 ? undefined : ret;
4029
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3944
4030
  }
3945
4031
  /**
3946
4032
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -3977,8 +4063,8 @@ export class PolygonMaterial {
3977
4063
  _assertClass(__internal__, PolygonInternalMaterial);
3978
4064
  ptr0 = __internal__.__destroy_into_raw();
3979
4065
  }
3980
- const ret = wasm.polygonmaterial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? 0x100000001 : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? 0x100000001 : Math.fround(height), isLikeNone(extruded_height) ? 0x100000001 : Math.fround(extruded_height), isLikeNone(wireframe) ? 0xFFFFFF : wireframe ? 1 : 0, isLikeNone(outline) ? 0xFFFFFF : outline ? 1 : 0, isLikeNone(per_position_height) ? 0xFFFFFF : per_position_height ? 1 : 0, ptr0);
3981
- this.__wbg_ptr = ret >>> 0;
4066
+ const ret = wasm.polygonmaterial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? Number.MAX_SAFE_INTEGER : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? Number.MAX_SAFE_INTEGER : Math.fround(height), isLikeNone(extruded_height) ? Number.MAX_SAFE_INTEGER : Math.fround(extruded_height), isLikeNone(wireframe) ? 0xFFFFFF : wireframe ? 1 : 0, isLikeNone(outline) ? 0xFFFFFF : outline ? 1 : 0, isLikeNone(per_position_height) ? 0xFFFFFF : per_position_height ? 1 : 0, ptr0);
4067
+ this.__wbg_ptr = ret;
3982
4068
  PolygonMaterialFinalization.register(this, this.__wbg_ptr, this);
3983
4069
  return this;
3984
4070
  }
@@ -4015,7 +4101,7 @@ export class PolygonMaterial {
4015
4101
  * @param {number | null} [arg0]
4016
4102
  */
4017
4103
  set color(arg0) {
4018
- wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4104
+ wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4019
4105
  }
4020
4106
  /**
4021
4107
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -4031,46 +4117,46 @@ export class PolygonMaterial {
4031
4117
  * @param {number | null} [arg0]
4032
4118
  */
4033
4119
  set emissiveColor(arg0) {
4034
- wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4120
+ wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4035
4121
  }
4036
4122
  /**
4037
4123
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
4038
4124
  * @param {number | null} [arg0]
4039
4125
  */
4040
4126
  set emissiveIntensity(arg0) {
4041
- wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4127
+ wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4042
4128
  }
4043
4129
  /**
4044
4130
  * @param {number | null} [arg0]
4045
4131
  */
4046
4132
  set extrudedHeight(arg0) {
4047
- wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4133
+ wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4048
4134
  }
4049
4135
  /**
4050
4136
  * @param {number | null} [arg0]
4051
4137
  */
4052
4138
  set height(arg0) {
4053
- wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4139
+ wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4054
4140
  }
4055
4141
  /**
4056
4142
  * @param {number | null} [arg0]
4057
4143
  */
4058
4144
  set ior(arg0) {
4059
- wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4145
+ wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4060
4146
  }
4061
4147
  /**
4062
4148
  * Need to enable `transparent`.
4063
4149
  * @param {number | null} [arg0]
4064
4150
  */
4065
4151
  set opacity(arg0) {
4066
- wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4152
+ wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4067
4153
  }
4068
4154
  /**
4069
4155
  * Currently, this property is supported only in GeoJSON.
4070
4156
  * @param {number | null} [arg0]
4071
4157
  */
4072
4158
  set outlineColor(arg0) {
4073
- wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4159
+ wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4074
4160
  }
4075
4161
  /**
4076
4162
  * Currently, this property is supported only in GeoJSON.
@@ -4084,7 +4170,7 @@ export class PolygonMaterial {
4084
4170
  * @param {number | null} [arg0]
4085
4171
  */
4086
4172
  set outlineWidth(arg0) {
4087
- wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4173
+ wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4088
4174
  }
4089
4175
  /**
4090
4176
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -4112,20 +4198,20 @@ export class PolygonMaterial {
4112
4198
  * @param {number | null} [arg0]
4113
4199
  */
4114
4200
  set reflectivity(arg0) {
4115
- wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4201
+ wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4116
4202
  }
4117
4203
  /**
4118
4204
  * Reflectivity for post-process.
4119
4205
  * @param {number | null} [arg0]
4120
4206
  */
4121
4207
  set roughness(arg0) {
4122
- wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4208
+ wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4123
4209
  }
4124
4210
  /**
4125
4211
  * @param {number | null} [arg0]
4126
4212
  */
4127
4213
  set shininess(arg0) {
4128
- wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4214
+ wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4129
4215
  }
4130
4216
  /**
4131
4217
  * @param {boolean | null} [arg0]
@@ -4137,7 +4223,7 @@ export class PolygonMaterial {
4137
4223
  * @param {number | null} [arg0]
4138
4224
  */
4139
4225
  set specularStrength(arg0) {
4140
- wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4226
+ wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4141
4227
  }
4142
4228
  /**
4143
4229
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -4177,14 +4263,14 @@ export class PolygonMaterial {
4177
4263
  * @param {number | null} [arg0]
4178
4264
  */
4179
4265
  set waterScaleNormal(arg0) {
4180
- wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4266
+ wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4181
4267
  }
4182
4268
  /**
4183
4269
  * Water wave speed.
4184
4270
  * @param {number | null} [arg0]
4185
4271
  */
4186
4272
  set waterSpeed(arg0) {
4187
- wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4273
+ wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4188
4274
  }
4189
4275
  /**
4190
4276
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -4631,7 +4717,6 @@ if (Symbol.dispose) PolylineGeometryAttributes.prototype[Symbol.dispose] = Polyl
4631
4717
 
4632
4718
  export class PolylineInternalMaterial {
4633
4719
  static __wrap(ptr) {
4634
- ptr = ptr >>> 0;
4635
4720
  const obj = Object.create(PolylineInternalMaterial.prototype);
4636
4721
  obj.__wbg_ptr = ptr;
4637
4722
  PolylineInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -4704,7 +4789,7 @@ export class PolylineMaterial {
4704
4789
  */
4705
4790
  get color() {
4706
4791
  const ret = wasm.__wbg_get_polylinematerial_color(this.__wbg_ptr);
4707
- return ret === 0x100000001 ? undefined : ret;
4792
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4708
4793
  }
4709
4794
  /**
4710
4795
  * Enable writing to depth buffer
@@ -4733,7 +4818,7 @@ export class PolylineMaterial {
4733
4818
  */
4734
4819
  get emissiveColor() {
4735
4820
  const ret = wasm.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);
4736
- return ret === 0x100000001 ? undefined : ret;
4821
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4737
4822
  }
4738
4823
  /**
4739
4824
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -4741,14 +4826,14 @@ export class PolylineMaterial {
4741
4826
  */
4742
4827
  get emissiveIntensity() {
4743
4828
  const ret = wasm.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);
4744
- return ret === 0x100000001 ? undefined : ret;
4829
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4745
4830
  }
4746
4831
  /**
4747
4832
  * @returns {number | undefined}
4748
4833
  */
4749
4834
  get height() {
4750
4835
  const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
4751
- return ret === 0x100000001 ? undefined : ret;
4836
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4752
4837
  }
4753
4838
  /**
4754
4839
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -4757,7 +4842,7 @@ export class PolylineMaterial {
4757
4842
  */
4758
4843
  get maxWidth() {
4759
4844
  const ret = wasm.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);
4760
- return ret === 0x100000001 ? undefined : ret;
4845
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4761
4846
  }
4762
4847
  /**
4763
4848
  * Opacity value
@@ -4765,7 +4850,7 @@ export class PolylineMaterial {
4765
4850
  */
4766
4851
  get opacity() {
4767
4852
  const ret = wasm.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);
4768
- return ret === 0x100000001 ? undefined : ret;
4853
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4769
4854
  }
4770
4855
  /**
4771
4856
  * @returns {boolean | undefined}
@@ -4806,7 +4891,7 @@ export class PolylineMaterial {
4806
4891
  */
4807
4892
  get width() {
4808
4893
  const ret = wasm.__wbg_get_polylinematerial_width(this.__wbg_ptr);
4809
- return ret === 0x100000001 ? undefined : ret;
4894
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4810
4895
  }
4811
4896
  /**
4812
4897
  * @param {boolean | null} [show]
@@ -4826,8 +4911,8 @@ export class PolylineMaterial {
4826
4911
  _assertClass(__internal__, PolylineInternalMaterial);
4827
4912
  ptr0 = __internal__.__destroy_into_raw();
4828
4913
  }
4829
- const ret = wasm.polylinematerial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? 0x100000001 : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? 0x100000001 : Math.fround(height), isLikeNone(width) ? 0x100000001 : Math.fround(width), isLikeNone(max_width) ? 0x100000001 : Math.fround(max_width), ptr0);
4830
- this.__wbg_ptr = ret >>> 0;
4914
+ const ret = wasm.polylinematerial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? Number.MAX_SAFE_INTEGER : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? Number.MAX_SAFE_INTEGER : Math.fround(height), isLikeNone(width) ? Number.MAX_SAFE_INTEGER : Math.fround(width), isLikeNone(max_width) ? Number.MAX_SAFE_INTEGER : Math.fround(max_width), ptr0);
4915
+ this.__wbg_ptr = ret;
4831
4916
  PolylineMaterialFinalization.register(this, this.__wbg_ptr, this);
4832
4917
  return this;
4833
4918
  }
@@ -4858,7 +4943,7 @@ export class PolylineMaterial {
4858
4943
  * @param {number | null} [arg0]
4859
4944
  */
4860
4945
  set color(arg0) {
4861
- wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4946
+ wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4862
4947
  }
4863
4948
  /**
4864
4949
  * Enable writing to depth buffer
@@ -4881,20 +4966,20 @@ export class PolylineMaterial {
4881
4966
  * @param {number | null} [arg0]
4882
4967
  */
4883
4968
  set emissiveColor(arg0) {
4884
- wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4969
+ wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4885
4970
  }
4886
4971
  /**
4887
4972
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
4888
4973
  * @param {number | null} [arg0]
4889
4974
  */
4890
4975
  set emissiveIntensity(arg0) {
4891
- wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4976
+ wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4892
4977
  }
4893
4978
  /**
4894
4979
  * @param {number | null} [arg0]
4895
4980
  */
4896
4981
  set height(arg0) {
4897
- wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4982
+ wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4898
4983
  }
4899
4984
  /**
4900
4985
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -4902,14 +4987,14 @@ export class PolylineMaterial {
4902
4987
  * @param {number | null} [arg0]
4903
4988
  */
4904
4989
  set maxWidth(arg0) {
4905
- wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4990
+ wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4906
4991
  }
4907
4992
  /**
4908
4993
  * Opacity value
4909
4994
  * @param {number | null} [arg0]
4910
4995
  */
4911
4996
  set opacity(arg0) {
4912
- wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4997
+ wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4913
4998
  }
4914
4999
  /**
4915
5000
  * @param {boolean | null} [arg0]
@@ -4945,7 +5030,7 @@ export class PolylineMaterial {
4945
5030
  * @param {number | null} [arg0]
4946
5031
  */
4947
5032
  set width(arg0) {
4948
- wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5033
+ wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4949
5034
  }
4950
5035
  }
4951
5036
  if (Symbol.dispose) PolylineMaterial.prototype[Symbol.dispose] = PolylineMaterial.prototype.free;
@@ -4971,14 +5056,14 @@ export class RasterMaterial {
4971
5056
  */
4972
5057
  get color() {
4973
5058
  const ret = wasm.__wbg_get_rastermaterial_color(this.__wbg_ptr);
4974
- return ret === 0x100000001 ? undefined : ret;
5059
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4975
5060
  }
4976
5061
  /**
4977
5062
  * @returns {number | undefined}
4978
5063
  */
4979
5064
  get opacity() {
4980
5065
  const ret = wasm.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);
4981
- return ret === 0x100000001 ? undefined : ret;
5066
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4982
5067
  }
4983
5068
  /**
4984
5069
  * @returns {boolean | undefined}
@@ -4998,13 +5083,13 @@ export class RasterMaterial {
4998
5083
  * @param {number | null} [arg0]
4999
5084
  */
5000
5085
  set color(arg0) {
5001
- wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5086
+ wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5002
5087
  }
5003
5088
  /**
5004
5089
  * @param {number | null} [arg0]
5005
5090
  */
5006
5091
  set opacity(arg0) {
5007
- wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5092
+ wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5008
5093
  }
5009
5094
  /**
5010
5095
  * @param {boolean | null} [arg0]
@@ -5530,7 +5615,7 @@ export class Ray {
5530
5615
  _assertClass(direction, Vec3);
5531
5616
  var ptr1 = direction.__destroy_into_raw();
5532
5617
  const ret = wasm.ray_new(ptr0, ptr1);
5533
- this.__wbg_ptr = ret >>> 0;
5618
+ this.__wbg_ptr = ret;
5534
5619
  RayFinalization.register(this, this.__wbg_ptr, this);
5535
5620
  return this;
5536
5621
  }
@@ -5555,7 +5640,6 @@ if (Symbol.dispose) Ray.prototype[Symbol.dispose] = Ray.prototype.free;
5555
5640
 
5556
5641
  export class ReturnedConstructedTerrainMesh {
5557
5642
  static __wrap(ptr) {
5558
- ptr = ptr >>> 0;
5559
5643
  const obj = Object.create(ReturnedConstructedTerrainMesh.prototype);
5560
5644
  obj.__wbg_ptr = ptr;
5561
5645
  ReturnedConstructedTerrainMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5631,7 +5715,7 @@ export class ReturnedConstructedTerrainMesh {
5631
5715
  ptr2 = rtc_translation.__destroy_into_raw();
5632
5716
  }
5633
5717
  const ret = wasm.returnedconstructedterrainmesh_new(ptr0, max_height, min_height, ptr1, len1, ptr2);
5634
- this.__wbg_ptr = ret >>> 0;
5718
+ this.__wbg_ptr = ret;
5635
5719
  ReturnedConstructedTerrainMeshFinalization.register(this, this.__wbg_ptr, this);
5636
5720
  return this;
5637
5721
  }
@@ -5783,7 +5867,7 @@ export class TerrainMaterial {
5783
5867
  */
5784
5868
  get skirtExaggeration() {
5785
5869
  const ret = wasm.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);
5786
- return ret === 0x100000001 ? undefined : ret;
5870
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5787
5871
  }
5788
5872
  /**
5789
5873
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -5824,7 +5908,7 @@ export class TerrainMaterial {
5824
5908
  * @param {number | null} [arg0]
5825
5909
  */
5826
5910
  set skirtExaggeration(arg0) {
5827
- wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5911
+ wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5828
5912
  }
5829
5913
  /**
5830
5914
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -5853,21 +5937,21 @@ export class TextMaterial {
5853
5937
  */
5854
5938
  get backgroundColor() {
5855
5939
  const ret = wasm.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);
5856
- return ret === 0x100000001 ? undefined : ret;
5940
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5857
5941
  }
5858
5942
  /**
5859
5943
  * @returns {number | undefined}
5860
5944
  */
5861
5945
  get borderColor() {
5862
5946
  const ret = wasm.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);
5863
- return ret === 0x100000001 ? undefined : ret;
5947
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5864
5948
  }
5865
5949
  /**
5866
5950
  * @returns {number | undefined}
5867
5951
  */
5868
5952
  get borderWidth() {
5869
5953
  const ret = wasm.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);
5870
- return ret === 0x100000001 ? undefined : ret;
5954
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5871
5955
  }
5872
5956
  /**
5873
5957
  * @returns {Vec2 | undefined}
@@ -5888,7 +5972,26 @@ export class TextMaterial {
5888
5972
  */
5889
5973
  get color() {
5890
5974
  const ret = wasm.__wbg_get_textmaterial_color(this.__wbg_ptr);
5891
- return ret === 0x100000001 ? undefined : ret;
5975
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5976
+ }
5977
+ /**
5978
+ * Placement priority for decluttering; higher wins. Only meaningful when
5979
+ * `declutter` is enabled. Defaults to `0.0`.
5980
+ * @returns {number | undefined}
5981
+ */
5982
+ get declutterPriority() {
5983
+ const ret = wasm.__wbg_get_textmaterial_declutterPriority(this.__wbg_ptr);
5984
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5985
+ }
5986
+ /**
5987
+ * Participate in screen-space decluttering: when labels/sprites overlap
5988
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
5989
+ * `false` to draw every label unconditionally.
5990
+ * @returns {boolean | undefined}
5991
+ */
5992
+ get declutter() {
5993
+ const ret = wasm.__wbg_get_textmaterial_declutter(this.__wbg_ptr);
5994
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
5892
5995
  }
5893
5996
  /**
5894
5997
  * @returns {boolean | undefined}
@@ -5927,7 +6030,7 @@ export class TextMaterial {
5927
6030
  */
5928
6031
  get height() {
5929
6032
  const ret = wasm.__wbg_get_textmaterial_height(this.__wbg_ptr);
5930
- return ret === 0x100000001 ? undefined : ret;
6033
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5931
6034
  }
5932
6035
  /**
5933
6036
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -5961,7 +6064,7 @@ export class TextMaterial {
5961
6064
  */
5962
6065
  get lineHeight() {
5963
6066
  const ret = wasm.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);
5964
- return ret === 0x100000001 ? undefined : ret;
6067
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5965
6068
  }
5966
6069
  /**
5967
6070
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -5971,7 +6074,7 @@ export class TextMaterial {
5971
6074
  */
5972
6075
  get maxWidth() {
5973
6076
  const ret = wasm.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);
5974
- return ret === 0x100000001 ? undefined : ret;
6077
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5975
6078
  }
5976
6079
  /**
5977
6080
  * Avoid overlapping with the globe surface.
@@ -5987,7 +6090,7 @@ export class TextMaterial {
5987
6090
  */
5988
6091
  get opacity() {
5989
6092
  const ret = wasm.__wbg_get_textmaterial_opacity(this.__wbg_ptr);
5990
- return ret === 0x100000001 ? undefined : ret;
6093
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5991
6094
  }
5992
6095
  /**
5993
6096
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
@@ -5995,7 +6098,7 @@ export class TextMaterial {
5995
6098
  */
5996
6099
  get outlineColor() {
5997
6100
  const ret = wasm.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);
5998
- return ret === 0x100000001 ? undefined : ret;
6101
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5999
6102
  }
6000
6103
  /**
6001
6104
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
@@ -6003,7 +6106,7 @@ export class TextMaterial {
6003
6106
  */
6004
6107
  get outlineOpacity() {
6005
6108
  const ret = wasm.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);
6006
- return ret === 0x100000001 ? undefined : ret;
6109
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6007
6110
  }
6008
6111
  /**
6009
6112
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
@@ -6011,7 +6114,7 @@ export class TextMaterial {
6011
6114
  */
6012
6115
  get outlineWidth() {
6013
6116
  const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
6014
- return ret === 0x100000001 ? undefined : ret;
6117
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6015
6118
  }
6016
6119
  /**
6017
6120
  * @returns {boolean | undefined}
@@ -6034,7 +6137,7 @@ export class TextMaterial {
6034
6137
  */
6035
6138
  get size() {
6036
6139
  const ret = wasm.__wbg_get_textmaterial_size(this.__wbg_ptr);
6037
- return ret === 0x100000001 ? undefined : ret;
6140
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6038
6141
  }
6039
6142
  /**
6040
6143
  * Horizontal alignment of lines within a multi-line block:
@@ -6074,19 +6177,19 @@ export class TextMaterial {
6074
6177
  * @param {number | null} [arg0]
6075
6178
  */
6076
6179
  set backgroundColor(arg0) {
6077
- wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6180
+ wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6078
6181
  }
6079
6182
  /**
6080
6183
  * @param {number | null} [arg0]
6081
6184
  */
6082
6185
  set borderColor(arg0) {
6083
- wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6186
+ wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6084
6187
  }
6085
6188
  /**
6086
6189
  * @param {number | null} [arg0]
6087
6190
  */
6088
6191
  set borderWidth(arg0) {
6089
- wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6192
+ wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6090
6193
  }
6091
6194
  /**
6092
6195
  * @param {Vec2 | null} [arg0]
@@ -6109,7 +6212,24 @@ export class TextMaterial {
6109
6212
  * @param {number | null} [arg0]
6110
6213
  */
6111
6214
  set color(arg0) {
6112
- wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6215
+ wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6216
+ }
6217
+ /**
6218
+ * Placement priority for decluttering; higher wins. Only meaningful when
6219
+ * `declutter` is enabled. Defaults to `0.0`.
6220
+ * @param {number | null} [arg0]
6221
+ */
6222
+ set declutterPriority(arg0) {
6223
+ wasm.__wbg_set_textmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6224
+ }
6225
+ /**
6226
+ * Participate in screen-space decluttering: when labels/sprites overlap
6227
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
6228
+ * `false` to draw every label unconditionally.
6229
+ * @param {boolean | null} [arg0]
6230
+ */
6231
+ set declutter(arg0) {
6232
+ wasm.__wbg_set_textmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6113
6233
  }
6114
6234
  /**
6115
6235
  * @param {boolean | null} [arg0]
@@ -6142,7 +6262,7 @@ export class TextMaterial {
6142
6262
  * @param {number | null} [arg0]
6143
6263
  */
6144
6264
  set height(arg0) {
6145
- wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6265
+ wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6146
6266
  }
6147
6267
  /**
6148
6268
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -6170,7 +6290,7 @@ export class TextMaterial {
6170
6290
  * @param {number | null} [arg0]
6171
6291
  */
6172
6292
  set lineHeight(arg0) {
6173
- wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6293
+ wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6174
6294
  }
6175
6295
  /**
6176
6296
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -6179,7 +6299,7 @@ export class TextMaterial {
6179
6299
  * @param {number | null} [arg0]
6180
6300
  */
6181
6301
  set maxWidth(arg0) {
6182
- wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6302
+ wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6183
6303
  }
6184
6304
  /**
6185
6305
  * Avoid overlapping with the globe surface.
@@ -6193,28 +6313,28 @@ export class TextMaterial {
6193
6313
  * @param {number | null} [arg0]
6194
6314
  */
6195
6315
  set opacity(arg0) {
6196
- wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6316
+ wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6197
6317
  }
6198
6318
  /**
6199
6319
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
6200
6320
  * @param {number | null} [arg0]
6201
6321
  */
6202
6322
  set outlineColor(arg0) {
6203
- wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6323
+ wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6204
6324
  }
6205
6325
  /**
6206
6326
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
6207
6327
  * @param {number | null} [arg0]
6208
6328
  */
6209
6329
  set outlineOpacity(arg0) {
6210
- wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6330
+ wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6211
6331
  }
6212
6332
  /**
6213
6333
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
6214
6334
  * @param {number | null} [arg0]
6215
6335
  */
6216
6336
  set outlineWidth(arg0) {
6217
- wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6337
+ wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6218
6338
  }
6219
6339
  /**
6220
6340
  * @param {boolean | null} [arg0]
@@ -6234,7 +6354,7 @@ export class TextMaterial {
6234
6354
  * @param {number | null} [arg0]
6235
6355
  */
6236
6356
  set size(arg0) {
6237
- wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6357
+ wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6238
6358
  }
6239
6359
  /**
6240
6360
  * Horizontal alignment of lines within a multi-line block:
@@ -6266,7 +6386,6 @@ if (Symbol.dispose) TextMaterial.prototype[Symbol.dispose] = TextMaterial.protot
6266
6386
 
6267
6387
  export class TextureFragment {
6268
6388
  static __wrap(ptr) {
6269
- ptr = ptr >>> 0;
6270
6389
  const obj = Object.create(TextureFragment.prototype);
6271
6390
  obj.__wbg_ptr = ptr;
6272
6391
  TextureFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6313,7 +6432,6 @@ if (Symbol.dispose) TextureFragment.prototype[Symbol.dispose] = TextureFragment.
6313
6432
 
6314
6433
  export class TileUvTransform {
6315
6434
  static __wrap(ptr) {
6316
- ptr = ptr >>> 0;
6317
6435
  const obj = Object.create(TileUvTransform.prototype);
6318
6436
  obj.__wbg_ptr = ptr;
6319
6437
  TileUvTransformFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6364,7 +6482,6 @@ if (Symbol.dispose) TileUvTransform.prototype[Symbol.dispose] = TileUvTransform.
6364
6482
 
6365
6483
  export class TileXYZ {
6366
6484
  static __wrap(ptr) {
6367
- ptr = ptr >>> 0;
6368
6485
  const obj = Object.create(TileXYZ.prototype);
6369
6486
  obj.__wbg_ptr = ptr;
6370
6487
  TileXYZFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6426,7 +6543,7 @@ export class TileXYZ {
6426
6543
  */
6427
6544
  constructor(x, y, z) {
6428
6545
  const ret = wasm.tilexyz_new(x, y, z);
6429
- this.__wbg_ptr = ret >>> 0;
6546
+ this.__wbg_ptr = ret;
6430
6547
  TileXYZFinalization.register(this, this.__wbg_ptr, this);
6431
6548
  return this;
6432
6549
  }
@@ -6479,7 +6596,6 @@ if (Symbol.dispose) TransferableHoles.prototype[Symbol.dispose] = TransferableHo
6479
6596
 
6480
6597
  export class TransferableMartini {
6481
6598
  static __wrap(ptr) {
6482
- ptr = ptr >>> 0;
6483
6599
  const obj = Object.create(TransferableMartini.prototype);
6484
6600
  obj.__wbg_ptr = ptr;
6485
6601
  TransferableMartiniFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6524,7 +6640,7 @@ export class TransferableMartini {
6524
6640
  const ptr0 = passArray32ToWasm0(coords, wasm.__wbindgen_malloc);
6525
6641
  const len0 = WASM_VECTOR_LEN;
6526
6642
  const ret = wasm.transferablemartini_new(size, ptr0, len0);
6527
- this.__wbg_ptr = ret >>> 0;
6643
+ this.__wbg_ptr = ret;
6528
6644
  TransferableMartiniFinalization.register(this, this.__wbg_ptr, this);
6529
6645
  return this;
6530
6646
  }
@@ -6551,7 +6667,6 @@ if (Symbol.dispose) TransferableMartini.prototype[Symbol.dispose] = Transferable
6551
6667
  */
6552
6668
  export class TransferableParsedMvtResult {
6553
6669
  static __wrap(ptr) {
6554
- ptr = ptr >>> 0;
6555
6670
  const obj = Object.create(TransferableParsedMvtResult.prototype);
6556
6671
  obj.__wbg_ptr = ptr;
6557
6672
  TransferableParsedMvtResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6651,7 +6766,7 @@ export class TransferablePolygonBatchedFeature {
6651
6766
  */
6652
6767
  constructor(crs, length) {
6653
6768
  const ret = wasm.transferablepolygonbatchedfeature_constructor(crs, length);
6654
- this.__wbg_ptr = ret >>> 0;
6769
+ this.__wbg_ptr = ret;
6655
6770
  TransferablePolygonBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
6656
6771
  return this;
6657
6772
  }
@@ -6830,7 +6945,7 @@ export class TransferablePolylineBatchedFeature {
6830
6945
  */
6831
6946
  constructor(crs, length) {
6832
6947
  const ret = wasm.transferablepolylinebatchedfeature_constructor(crs, length);
6833
- this.__wbg_ptr = ret >>> 0;
6948
+ this.__wbg_ptr = ret;
6834
6949
  TransferablePolylineBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
6835
6950
  return this;
6836
6951
  }
@@ -6926,7 +7041,7 @@ export class TransferableRasterDEMData {
6926
7041
  _assertClass(decoder, ElevationDecoder);
6927
7042
  var ptr0 = decoder.__destroy_into_raw();
6928
7043
  const ret = wasm.transferablerasterdemdata_new(ptr0);
6929
- this.__wbg_ptr = ret >>> 0;
7044
+ this.__wbg_ptr = ret;
6930
7045
  TransferableRasterDEMDataFinalization.register(this, this.__wbg_ptr, this);
6931
7046
  return this;
6932
7047
  }
@@ -7018,7 +7133,7 @@ export class TransferableTile {
7018
7133
  ptr1 = cached_mesh_handle.__destroy_into_raw();
7019
7134
  }
7020
7135
  const ret = wasm.transferabletile_new(ptr0, max_height, min_height, ptr1);
7021
- this.__wbg_ptr = ret >>> 0;
7136
+ this.__wbg_ptr = ret;
7022
7137
  TransferableTileFinalization.register(this, this.__wbg_ptr, this);
7023
7138
  return this;
7024
7139
  }
@@ -7180,7 +7295,7 @@ export class Transform {
7180
7295
  */
7181
7296
  constructor(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz) {
7182
7297
  const ret = wasm.transform_new(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz);
7183
- this.__wbg_ptr = ret >>> 0;
7298
+ this.__wbg_ptr = ret;
7184
7299
  TransformFinalization.register(this, this.__wbg_ptr, this);
7185
7300
  return this;
7186
7301
  }
@@ -7219,7 +7334,7 @@ export class UintAttribute {
7219
7334
  const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
7220
7335
  const len0 = WASM_VECTOR_LEN;
7221
7336
  const ret = wasm.uintattribute_new(ptr0, len0, size);
7222
- this.__wbg_ptr = ret >>> 0;
7337
+ this.__wbg_ptr = ret;
7223
7338
  UintAttributeFinalization.register(this, this.__wbg_ptr, this);
7224
7339
  return this;
7225
7340
  }
@@ -7263,7 +7378,7 @@ export class UpsamplableTerrainGeometry {
7263
7378
  var ptr4 = isLikeNone(watermask) ? 0 : passArray8ToWasm0(watermask, wasm.__wbindgen_malloc);
7264
7379
  var len4 = WASM_VECTOR_LEN;
7265
7380
  const ret = wasm.upsamplableterraingeometry_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
7266
- this.__wbg_ptr = ret >>> 0;
7381
+ this.__wbg_ptr = ret;
7267
7382
  UpsamplableTerrainGeometryFinalization.register(this, this.__wbg_ptr, this);
7268
7383
  return this;
7269
7384
  }
@@ -7272,7 +7387,6 @@ if (Symbol.dispose) UpsamplableTerrainGeometry.prototype[Symbol.dispose] = Upsam
7272
7387
 
7273
7388
  export class Vec2 {
7274
7389
  static __wrap(ptr) {
7275
- ptr = ptr >>> 0;
7276
7390
  const obj = Object.create(Vec2.prototype);
7277
7391
  obj.__wbg_ptr = ptr;
7278
7392
  Vec2Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -7320,7 +7434,7 @@ export class Vec2 {
7320
7434
  */
7321
7435
  constructor(x, y) {
7322
7436
  const ret = wasm.vec2_new(x, y);
7323
- this.__wbg_ptr = ret >>> 0;
7437
+ this.__wbg_ptr = ret;
7324
7438
  Vec2Finalization.register(this, this.__wbg_ptr, this);
7325
7439
  return this;
7326
7440
  }
@@ -7329,7 +7443,6 @@ if (Symbol.dispose) Vec2.prototype[Symbol.dispose] = Vec2.prototype.free;
7329
7443
 
7330
7444
  export class Vec3 {
7331
7445
  static __wrap(ptr) {
7332
- ptr = ptr >>> 0;
7333
7446
  const obj = Object.create(Vec3.prototype);
7334
7447
  obj.__wbg_ptr = ptr;
7335
7448
  Vec3Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -7391,7 +7504,7 @@ export class Vec3 {
7391
7504
  */
7392
7505
  constructor(x, y, z) {
7393
7506
  const ret = wasm.vec3_new(x, y, z);
7394
- this.__wbg_ptr = ret >>> 0;
7507
+ this.__wbg_ptr = ret;
7395
7508
  Vec3Finalization.register(this, this.__wbg_ptr, this);
7396
7509
  return this;
7397
7510
  }
@@ -7482,7 +7595,7 @@ export class Window {
7482
7595
  */
7483
7596
  constructor(width, height, pixel_ratio) {
7484
7597
  const ret = wasm.window_new(width, height, pixel_ratio);
7485
- this.__wbg_ptr = ret >>> 0;
7598
+ this.__wbg_ptr = ret;
7486
7599
  WindowFinalization.register(this, this.__wbg_ptr, this);
7487
7600
  return this;
7488
7601
  }
@@ -7650,11 +7763,11 @@ export function upsampleTerrainMesh(tile, parent_tile, raster_dem_data, upsampla
7650
7763
  function __wbg_get_imports() {
7651
7764
  const import0 = {
7652
7765
  __proto__: null,
7653
- __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
7766
+ __wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
7654
7767
  const ret = Error(getStringFromWasm0(arg0, arg1));
7655
7768
  return ret;
7656
7769
  },
7657
- __wbg_Number_32bf70a599af1d4b: function(arg0) {
7770
+ __wbg_Number_9a4e0ecb0fa16705: function(arg0) {
7658
7771
  const ret = Number(arg0);
7659
7772
  return ret;
7660
7773
  },
@@ -7665,60 +7778,60 @@ function __wbg_get_imports() {
7665
7778
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7666
7779
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7667
7780
  },
7668
- __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
7781
+ __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
7669
7782
  const v = arg1;
7670
7783
  const ret = typeof(v) === 'bigint' ? v : undefined;
7671
7784
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
7672
7785
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7673
7786
  },
7674
- __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
7787
+ __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
7675
7788
  const v = arg0;
7676
7789
  const ret = typeof(v) === 'boolean' ? v : undefined;
7677
7790
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
7678
7791
  },
7679
- __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
7792
+ __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
7680
7793
  const ret = debugString(arg1);
7681
7794
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7682
7795
  const len1 = WASM_VECTOR_LEN;
7683
7796
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7684
7797
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7685
7798
  },
7686
- __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
7799
+ __wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
7687
7800
  const ret = arg0 in arg1;
7688
7801
  return ret;
7689
7802
  },
7690
- __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
7803
+ __wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
7691
7804
  const ret = typeof(arg0) === 'bigint';
7692
7805
  return ret;
7693
7806
  },
7694
- __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
7807
+ __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
7695
7808
  const ret = typeof(arg0) === 'function';
7696
7809
  return ret;
7697
7810
  },
7698
- __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
7811
+ __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
7699
7812
  const val = arg0;
7700
7813
  const ret = typeof(val) === 'object' && val !== null;
7701
7814
  return ret;
7702
7815
  },
7703
- __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
7816
+ __wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
7704
7817
  const ret = arg0 === arg1;
7705
7818
  return ret;
7706
7819
  },
7707
- __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
7820
+ __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
7708
7821
  const ret = arg0 == arg1;
7709
7822
  return ret;
7710
7823
  },
7711
- __wbg___wbindgen_memory_dfa12096f400c9bd: function() {
7824
+ __wbg___wbindgen_memory_de265df8aadd6273: function() {
7712
7825
  const ret = wasm.memory;
7713
7826
  return ret;
7714
7827
  },
7715
- __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
7828
+ __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
7716
7829
  const obj = arg1;
7717
7830
  const ret = typeof(obj) === 'number' ? obj : undefined;
7718
7831
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
7719
7832
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
7720
7833
  },
7721
- __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
7834
+ __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
7722
7835
  const obj = arg1;
7723
7836
  const ret = typeof(obj) === 'string' ? obj : undefined;
7724
7837
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -7726,59 +7839,42 @@ function __wbg_get_imports() {
7726
7839
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7727
7840
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
7728
7841
  },
7729
- __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
7842
+ __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
7730
7843
  throw new Error(getStringFromWasm0(arg0, arg1));
7731
7844
  },
7732
- __wbg___wbindgen_try_into_number_d7832e9de41bafc5: function(arg0) {
7733
- let result;
7734
- try { result = +arg0 } catch (e) { result = e }
7735
- const ret = result;
7736
- return ret;
7737
- },
7738
- __wbg_buffer_0377ff0622c5de76: function(arg0) {
7845
+ __wbg_buffer_0f212447ac64c53b: function(arg0) {
7739
7846
  const ret = arg0.buffer;
7740
7847
  return ret;
7741
7848
  },
7742
- __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
7849
+ __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
7743
7850
  const ret = arg0.call(arg1);
7744
7851
  return ret;
7745
7852
  }, arguments); },
7746
- __wbg_call_a24592a6f349a97e: function() { return handleError(function (arg0, arg1, arg2) {
7853
+ __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
7747
7854
  const ret = arg0.call(arg1, arg2);
7748
7855
  return ret;
7749
7856
  }, arguments); },
7750
- __wbg_done_9158f7cc8751ba32: function(arg0) {
7857
+ __wbg_done_89b2b13e91a60321: function(arg0) {
7751
7858
  const ret = arg0.done;
7752
7859
  return ret;
7753
7860
  },
7754
- __wbg_entries_e0b73aa8571ddb56: function(arg0) {
7861
+ __wbg_entries_015dc610cd81ede0: function(arg0) {
7755
7862
  const ret = Object.entries(arg0);
7756
7863
  return ret;
7757
7864
  },
7758
- __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
7759
- let deferred0_0;
7760
- let deferred0_1;
7761
- try {
7762
- deferred0_0 = arg0;
7763
- deferred0_1 = arg1;
7764
- console.error(getStringFromWasm0(arg0, arg1));
7765
- } finally {
7766
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
7767
- }
7865
+ __wbg_get_507a50627bffa49b: function(arg0, arg1) {
7866
+ const ret = arg0[arg1 >>> 0];
7867
+ return ret;
7768
7868
  },
7769
- __wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
7869
+ __wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
7770
7870
  const ret = Reflect.get(arg0, arg1);
7771
7871
  return ret;
7772
7872
  }, arguments); },
7773
- __wbg_get_8360291721e2339f: function(arg0, arg1) {
7774
- const ret = arg0[arg1 >>> 0];
7775
- return ret;
7776
- },
7777
- __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
7873
+ __wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
7778
7874
  const ret = arg0[arg1 >>> 0];
7779
7875
  return ret;
7780
7876
  },
7781
- __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
7877
+ __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
7782
7878
  let result;
7783
7879
  try {
7784
7880
  result = arg0 instanceof ArrayBuffer;
@@ -7788,7 +7884,7 @@ function __wbg_get_imports() {
7788
7884
  const ret = result;
7789
7885
  return ret;
7790
7886
  },
7791
- __wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
7887
+ __wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
7792
7888
  let result;
7793
7889
  try {
7794
7890
  result = arg0 instanceof Map;
@@ -7798,7 +7894,7 @@ function __wbg_get_imports() {
7798
7894
  const ret = result;
7799
7895
  return ret;
7800
7896
  },
7801
- __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
7897
+ __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
7802
7898
  let result;
7803
7899
  try {
7804
7900
  result = arg0 instanceof Uint8Array;
@@ -7808,35 +7904,35 @@ function __wbg_get_imports() {
7808
7904
  const ret = result;
7809
7905
  return ret;
7810
7906
  },
7811
- __wbg_isArray_c3109d14ffc06469: function(arg0) {
7907
+ __wbg_isArray_0677c962b281d01a: function(arg0) {
7812
7908
  const ret = Array.isArray(arg0);
7813
7909
  return ret;
7814
7910
  },
7815
- __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
7911
+ __wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
7816
7912
  const ret = Number.isSafeInteger(arg0);
7817
7913
  return ret;
7818
7914
  },
7819
- __wbg_iterator_013bc09ec998c2a7: function() {
7915
+ __wbg_iterator_6f722e4a93058b71: function() {
7820
7916
  const ret = Symbol.iterator;
7821
7917
  return ret;
7822
7918
  },
7823
- __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
7919
+ __wbg_length_0133fa10e3234c57: function(arg0) {
7824
7920
  const ret = arg0.length;
7825
7921
  return ret;
7826
7922
  },
7827
- __wbg_length_9f1775224cf1d815: function(arg0) {
7923
+ __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
7828
7924
  const ret = arg0.length;
7829
7925
  return ret;
7830
7926
  },
7831
- __wbg_length_b5ce18c1fcafa728: function(arg0) {
7927
+ __wbg_length_370319915dc99107: function(arg0) {
7832
7928
  const ret = arg0.length;
7833
7929
  return ret;
7834
7930
  },
7835
- __wbg_length_d807629e96c741b8: function(arg0) {
7931
+ __wbg_length_381d540857ec99e8: function(arg0) {
7836
7932
  const ret = arg0.length;
7837
7933
  return ret;
7838
7934
  },
7839
- __wbg_length_fab29957ea6bdb8c: function(arg0) {
7935
+ __wbg_length_98f10d1e2f4ea968: function(arg0) {
7840
7936
  const ret = arg0.length;
7841
7937
  return ret;
7842
7938
  },
@@ -7847,89 +7943,78 @@ function __wbg_get_imports() {
7847
7943
  __wbg_log_631549b8bf4c7159: function(arg0, arg1) {
7848
7944
  console.log(getStringFromWasm0(arg0, arg1));
7849
7945
  },
7850
- __wbg_new_0c7403db6e782f19: function(arg0) {
7851
- const ret = new Uint8Array(arg0);
7946
+ __wbg_new_32b398fb48b6d94a: function() {
7947
+ const ret = new Array();
7852
7948
  return ret;
7853
7949
  },
7854
- __wbg_new_1c0925936314b719: function(arg0) {
7950
+ __wbg_new_80efd62ef570c5de: function(arg0) {
7855
7951
  const ret = new Float64Array(arg0);
7856
7952
  return ret;
7857
7953
  },
7858
- __wbg_new_227d7c05414eb861: function() {
7859
- const ret = new Error();
7954
+ __wbg_new_92a08b12c30e98e8: function(arg0) {
7955
+ const ret = new Float32Array(arg0);
7860
7956
  return ret;
7861
7957
  },
7862
- __wbg_new_682678e2f47e32bc: function() {
7863
- const ret = new Array();
7958
+ __wbg_new_cd45aabdf6073e84: function(arg0) {
7959
+ const ret = new Uint8Array(arg0);
7864
7960
  return ret;
7865
7961
  },
7866
- __wbg_new_8bc2b540bbfdbb81: function(arg0) {
7867
- const ret = new Uint32Array(arg0);
7962
+ __wbg_new_da52cf8fe3429cb2: function() {
7963
+ const ret = new Object();
7868
7964
  return ret;
7869
7965
  },
7870
- __wbg_new_aa8d0fa9762c29bd: function() {
7871
- const ret = new Object();
7966
+ __wbg_new_dfd44b7151fab657: function(arg0) {
7967
+ const ret = new Uint32Array(arg0);
7872
7968
  return ret;
7873
7969
  },
7874
- __wbg_new_b2663e175990f0a6: function(arg0) {
7875
- const ret = new Float32Array(arg0);
7970
+ __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
7971
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
7876
7972
  return ret;
7877
7973
  },
7878
- __wbg_new_with_byte_offset_and_length_00cc6a9128e26a8a: function(arg0, arg1, arg2) {
7974
+ __wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
7879
7975
  const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
7880
7976
  return ret;
7881
7977
  },
7882
- __wbg_new_with_byte_offset_and_length_01848e8d6a3d49ad: function(arg0, arg1, arg2) {
7883
- const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
7978
+ __wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
7979
+ const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
7884
7980
  return ret;
7885
7981
  },
7886
- __wbg_new_with_byte_offset_and_length_3a205534e8f09fd2: function(arg0, arg1, arg2) {
7887
- const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
7982
+ __wbg_next_6dbf2c0ac8cde20f: function(arg0) {
7983
+ const ret = arg0.next;
7888
7984
  return ret;
7889
7985
  },
7890
- __wbg_next_0340c4ae324393c3: function() { return handleError(function (arg0) {
7986
+ __wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
7891
7987
  const ret = arg0.next();
7892
7988
  return ret;
7893
7989
  }, arguments); },
7894
- __wbg_next_7646edaa39458ef7: function(arg0) {
7895
- const ret = arg0.next;
7896
- return ret;
7897
- },
7898
- __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
7990
+ __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
7899
7991
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
7900
7992
  },
7901
- __wbg_push_471a5b068a5295f6: function(arg0, arg1) {
7993
+ __wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
7902
7994
  const ret = arg0.push(arg1);
7903
7995
  return ret;
7904
7996
  },
7905
- __wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
7906
- const ret = Reflect.set(arg0, arg1, arg2);
7907
- return ret;
7908
- }, arguments); },
7909
- __wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
7910
- arg0[arg1 >>> 0] = arg2;
7911
- },
7912
- __wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
7913
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
7997
+ __wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
7998
+ arg0.set(getArrayF32FromWasm0(arg1, arg2));
7914
7999
  },
7915
- __wbg_set_5637e648df81c8e5: function(arg0, arg1, arg2) {
8000
+ __wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
7916
8001
  arg0.set(getArrayF64FromWasm0(arg1, arg2));
7917
8002
  },
8003
+ __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
8004
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
8005
+ },
7918
8006
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
7919
8007
  arg0[arg1] = arg2;
7920
8008
  },
7921
- __wbg_set_95a66997655120e2: function(arg0, arg1, arg2) {
7922
- arg0.set(getArrayU32FromWasm0(arg1, arg2));
7923
- },
7924
- __wbg_set_c625d5a9e6b7554b: function(arg0, arg1, arg2) {
7925
- arg0.set(getArrayF32FromWasm0(arg1, arg2));
8009
+ __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
8010
+ const ret = Reflect.set(arg0, arg1, arg2);
8011
+ return ret;
8012
+ }, arguments); },
8013
+ __wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
8014
+ arg0[arg1 >>> 0] = arg2;
7926
8015
  },
7927
- __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
7928
- const ret = arg1.stack;
7929
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7930
- const len1 = WASM_VECTOR_LEN;
7931
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
7932
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8016
+ __wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
8017
+ arg0.set(getArrayU32FromWasm0(arg1, arg2));
7933
8018
  },
7934
8019
  __wbg_texturefragment_new: function(arg0) {
7935
8020
  const ret = TextureFragment.__wrap(arg0);
@@ -7939,7 +8024,7 @@ function __wbg_get_imports() {
7939
8024
  const ret = TileUvTransform.__wrap(arg0);
7940
8025
  return ret;
7941
8026
  },
7942
- __wbg_value_ee3a06f4579184fa: function(arg0) {
8027
+ __wbg_value_a5d5488a9589444a: function(arg0) {
7943
8028
  const ret = arg0.value;
7944
8029
  return ret;
7945
8030
  },
@@ -7981,190 +8066,190 @@ function __wbg_get_imports() {
7981
8066
 
7982
8067
  const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
7983
8068
  ? { register: () => {}, unregister: () => {} }
7984
- : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr >>> 0, 1));
8069
+ : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
7985
8070
  const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
7986
8071
  ? { register: () => {}, unregister: () => {} }
7987
- : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr >>> 0, 1));
8072
+ : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
7988
8073
  const BillboardMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
7989
8074
  ? { register: () => {}, unregister: () => {} }
7990
- : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr >>> 0, 1));
8075
+ : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr, 1));
7991
8076
  const BoundingSphereFinalization = (typeof FinalizationRegistry === 'undefined')
7992
8077
  ? { register: () => {}, unregister: () => {} }
7993
- : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr >>> 0, 1));
8078
+ : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr, 1));
7994
8079
  const CachedMeshHandleFinalization = (typeof FinalizationRegistry === 'undefined')
7995
8080
  ? { register: () => {}, unregister: () => {} }
7996
- : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr >>> 0, 1));
8081
+ : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr, 1));
7997
8082
  const CameraControlUpdateEventFinalization = (typeof FinalizationRegistry === 'undefined')
7998
8083
  ? { register: () => {}, unregister: () => {} }
7999
- : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr >>> 0, 1));
8084
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr, 1));
8000
8085
  const CameraFrustumFinalization = (typeof FinalizationRegistry === 'undefined')
8001
8086
  ? { register: () => {}, unregister: () => {} }
8002
- : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr >>> 0, 1));
8087
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr, 1));
8003
8088
  const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefined')
8004
8089
  ? { register: () => {}, unregister: () => {} }
8005
- : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr >>> 0, 1));
8090
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr, 1));
8006
8091
  const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
8007
8092
  ? { register: () => {}, unregister: () => {} }
8008
- : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr >>> 0, 1));
8093
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
8009
8094
  const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
8010
8095
  ? { register: () => {}, unregister: () => {} }
8011
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr >>> 0, 1));
8096
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
8012
8097
  const CompiledFilterFinalization = (typeof FinalizationRegistry === 'undefined')
8013
8098
  ? { register: () => {}, unregister: () => {} }
8014
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr >>> 0, 1));
8099
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr, 1));
8015
8100
  const ConstructedPolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8016
8101
  ? { register: () => {}, unregister: () => {} }
8017
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr >>> 0, 1));
8102
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr, 1));
8018
8103
  const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8019
8104
  ? { register: () => {}, unregister: () => {} }
8020
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr >>> 0, 1));
8105
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr, 1));
8021
8106
  const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8022
8107
  ? { register: () => {}, unregister: () => {} }
8023
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr >>> 0, 1));
8108
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
8024
8109
  const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
8025
8110
  ? { register: () => {}, unregister: () => {} }
8026
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr >>> 0, 1));
8111
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
8027
8112
  const ElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8028
8113
  ? { register: () => {}, unregister: () => {} }
8029
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr >>> 0, 1));
8114
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr, 1));
8030
8115
  const EllipsoidGeodesicFinalization = (typeof FinalizationRegistry === 'undefined')
8031
8116
  ? { register: () => {}, unregister: () => {} }
8032
- : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr >>> 0, 1));
8117
+ : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr, 1));
8033
8118
  const EncodedVec3Finalization = (typeof FinalizationRegistry === 'undefined')
8034
8119
  ? { register: () => {}, unregister: () => {} }
8035
- : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr >>> 0, 1));
8120
+ : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr, 1));
8036
8121
  const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined')
8037
8122
  ? { register: () => {}, unregister: () => {} }
8038
- : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr >>> 0, 1));
8123
+ : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr, 1));
8039
8124
  const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
8040
8125
  ? { register: () => {}, unregister: () => {} }
8041
- : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr >>> 0, 1));
8126
+ : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
8042
8127
  const GeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8043
8128
  ? { register: () => {}, unregister: () => {} }
8044
- : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr >>> 0, 1));
8129
+ : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr, 1));
8045
8130
  const GlobeFinalization = (typeof FinalizationRegistry === 'undefined')
8046
8131
  ? { register: () => {}, unregister: () => {} }
8047
- : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr >>> 0, 1));
8132
+ : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr, 1));
8048
8133
  const HillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8049
8134
  ? { register: () => {}, unregister: () => {} }
8050
- : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr >>> 0, 1));
8135
+ : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr, 1));
8051
8136
  const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
8052
8137
  ? { register: () => {}, unregister: () => {} }
8053
- : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr >>> 0, 1));
8138
+ : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr, 1));
8054
8139
  const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8055
8140
  ? { register: () => {}, unregister: () => {} }
8056
- : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr >>> 0, 1));
8141
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
8057
8142
  const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8058
8143
  ? { register: () => {}, unregister: () => {} }
8059
- : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr >>> 0, 1));
8144
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr, 1));
8060
8145
  const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
8061
8146
  ? { register: () => {}, unregister: () => {} }
8062
- : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr >>> 0, 1));
8147
+ : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
8063
8148
  const OverscaledTileHandleFinalization = (typeof FinalizationRegistry === 'undefined')
8064
8149
  ? { register: () => {}, unregister: () => {} }
8065
- : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr >>> 0, 1));
8150
+ : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr, 1));
8066
8151
  const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
8067
8152
  ? { register: () => {}, unregister: () => {} }
8068
- : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr >>> 0, 1));
8153
+ : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
8069
8154
  const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8070
8155
  ? { register: () => {}, unregister: () => {} }
8071
- : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr >>> 0, 1));
8156
+ : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
8072
8157
  const PolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8073
8158
  ? { register: () => {}, unregister: () => {} }
8074
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr >>> 0, 1));
8159
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr, 1));
8075
8160
  const PolygonGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
8076
8161
  ? { register: () => {}, unregister: () => {} }
8077
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr >>> 0, 1));
8162
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr, 1));
8078
8163
  const PolygonInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8079
8164
  ? { register: () => {}, unregister: () => {} }
8080
- : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr >>> 0, 1));
8165
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr, 1));
8081
8166
  const PolygonMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8082
8167
  ? { register: () => {}, unregister: () => {} }
8083
- : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr >>> 0, 1));
8168
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr, 1));
8084
8169
  const PolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8085
8170
  ? { register: () => {}, unregister: () => {} }
8086
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr >>> 0, 1));
8171
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr, 1));
8087
8172
  const PolylineGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
8088
8173
  ? { register: () => {}, unregister: () => {} }
8089
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr >>> 0, 1));
8174
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr, 1));
8090
8175
  const PolylineInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8091
8176
  ? { register: () => {}, unregister: () => {} }
8092
- : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr >>> 0, 1));
8177
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr, 1));
8093
8178
  const PolylineMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8094
8179
  ? { register: () => {}, unregister: () => {} }
8095
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr >>> 0, 1));
8180
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr, 1));
8096
8181
  const RasterMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8097
8182
  ? { register: () => {}, unregister: () => {} }
8098
- : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr >>> 0, 1));
8183
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr, 1));
8099
8184
  const RasterTileInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8100
8185
  ? { register: () => {}, unregister: () => {} }
8101
- : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr >>> 0, 1));
8186
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr, 1));
8102
8187
  const RayFinalization = (typeof FinalizationRegistry === 'undefined')
8103
8188
  ? { register: () => {}, unregister: () => {} }
8104
- : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr >>> 0, 1));
8189
+ : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr, 1));
8105
8190
  const ReturnedConstructedTerrainMeshFinalization = (typeof FinalizationRegistry === 'undefined')
8106
8191
  ? { register: () => {}, unregister: () => {} }
8107
- : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr >>> 0, 1));
8192
+ : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr, 1));
8108
8193
  const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8109
8194
  ? { register: () => {}, unregister: () => {} }
8110
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr >>> 0, 1));
8195
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
8111
8196
  const TextMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8112
8197
  ? { register: () => {}, unregister: () => {} }
8113
- : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr >>> 0, 1));
8198
+ : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr, 1));
8114
8199
  const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined')
8115
8200
  ? { register: () => {}, unregister: () => {} }
8116
- : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr >>> 0, 1));
8201
+ : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr, 1));
8117
8202
  const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
8118
8203
  ? { register: () => {}, unregister: () => {} }
8119
- : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr >>> 0, 1));
8204
+ : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));
8120
8205
  const TileXYZFinalization = (typeof FinalizationRegistry === 'undefined')
8121
8206
  ? { register: () => {}, unregister: () => {} }
8122
- : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr >>> 0, 1));
8207
+ : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr, 1));
8123
8208
  const TransferableHierarchyFinalization = (typeof FinalizationRegistry === 'undefined')
8124
8209
  ? { register: () => {}, unregister: () => {} }
8125
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr >>> 0, 1));
8210
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr, 1));
8126
8211
  const TransferableHolesFinalization = (typeof FinalizationRegistry === 'undefined')
8127
8212
  ? { register: () => {}, unregister: () => {} }
8128
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr >>> 0, 1));
8213
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr, 1));
8129
8214
  const TransferableMartiniFinalization = (typeof FinalizationRegistry === 'undefined')
8130
8215
  ? { register: () => {}, unregister: () => {} }
8131
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr >>> 0, 1));
8216
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr, 1));
8132
8217
  const TransferableParsedMvtResultFinalization = (typeof FinalizationRegistry === 'undefined')
8133
8218
  ? { register: () => {}, unregister: () => {} }
8134
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr >>> 0, 1));
8219
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr, 1));
8135
8220
  const TransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
8136
8221
  ? { register: () => {}, unregister: () => {} }
8137
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr >>> 0, 1));
8222
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr, 1));
8138
8223
  const TransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
8139
8224
  ? { register: () => {}, unregister: () => {} }
8140
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr >>> 0, 1));
8225
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr, 1));
8141
8226
  const TransferableRasterDEMDataFinalization = (typeof FinalizationRegistry === 'undefined')
8142
8227
  ? { register: () => {}, unregister: () => {} }
8143
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr >>> 0, 1));
8228
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr, 1));
8144
8229
  const TransferableTileFinalization = (typeof FinalizationRegistry === 'undefined')
8145
8230
  ? { register: () => {}, unregister: () => {} }
8146
- : new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr >>> 0, 1));
8231
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr, 1));
8147
8232
  const TransformFinalization = (typeof FinalizationRegistry === 'undefined')
8148
8233
  ? { register: () => {}, unregister: () => {} }
8149
- : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr >>> 0, 1));
8234
+ : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr, 1));
8150
8235
  const UintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
8151
8236
  ? { register: () => {}, unregister: () => {} }
8152
- : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr >>> 0, 1));
8237
+ : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr, 1));
8153
8238
  const UpsamplableTerrainGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8154
8239
  ? { register: () => {}, unregister: () => {} }
8155
- : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr >>> 0, 1));
8240
+ : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr, 1));
8156
8241
  const Vec2Finalization = (typeof FinalizationRegistry === 'undefined')
8157
8242
  ? { register: () => {}, unregister: () => {} }
8158
- : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr >>> 0, 1));
8243
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr, 1));
8159
8244
  const Vec3Finalization = (typeof FinalizationRegistry === 'undefined')
8160
8245
  ? { register: () => {}, unregister: () => {} }
8161
- : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr >>> 0, 1));
8246
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr, 1));
8162
8247
  const WindingOrderFinalization = (typeof FinalizationRegistry === 'undefined')
8163
8248
  ? { register: () => {}, unregister: () => {} }
8164
- : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr >>> 0, 1));
8249
+ : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr, 1));
8165
8250
  const WindowFinalization = (typeof FinalizationRegistry === 'undefined')
8166
8251
  ? { register: () => {}, unregister: () => {} }
8167
- : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr >>> 0, 1));
8252
+ : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr, 1));
8168
8253
 
8169
8254
  function addToExternrefTable0(obj) {
8170
8255
  const idx = wasm.__externref_table_alloc();
@@ -8299,8 +8384,7 @@ function getFloat64ArrayMemory0() {
8299
8384
  }
8300
8385
 
8301
8386
  function getStringFromWasm0(ptr, len) {
8302
- ptr = ptr >>> 0;
8303
- return decodeText(ptr, len);
8387
+ return decodeText(ptr >>> 0, len);
8304
8388
  }
8305
8389
 
8306
8390
  let cachedUint32ArrayMemory0 = null;
@@ -8442,8 +8526,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
8442
8526
 
8443
8527
  let WASM_VECTOR_LEN = 0;
8444
8528
 
8445
- let wasmModule, wasm;
8529
+ let wasmModule, wasmInstance, wasm;
8446
8530
  function __wbg_finalize_init(instance, module) {
8531
+ wasmInstance = instance;
8447
8532
  wasm = instance.exports;
8448
8533
  wasmModule = module;
8449
8534
  cachedDataViewMemory0 = null;