@navaramap/engine-worker 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -144,6 +144,32 @@ export class BillboardMaterial {
144
144
  const ret = wasm.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);
145
145
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
146
146
  }
147
+ /**
148
+ * Whether faces seen from behind are culled. Default is false, so a
149
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
150
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
151
+ * over the horizon, which face away from the camera.
152
+ * @returns {boolean | undefined}
153
+ */
154
+ get backfaceCulling() {
155
+ const ret = wasm.__wbg_get_billboardmaterial_backfaceCulling(this.__wbg_ptr);
156
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
157
+ }
158
+ /**
159
+ * Whether the sprite stands up (`"upright"`, the default) or lies on the
160
+ * globe surface around its anchor (`"flat"`). Pair with
161
+ * `rotateWithCamera`.
162
+ * @returns {string | undefined}
163
+ */
164
+ get billboardFacing() {
165
+ const ret = wasm.__wbg_get_billboardmaterial_billboardFacing(this.__wbg_ptr);
166
+ let v1;
167
+ if (ret[0] !== 0) {
168
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
169
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
170
+ }
171
+ return v1;
172
+ }
147
173
  /**
148
174
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
149
175
  * Default is (0.0, 0.0) which means the center of the sprite.
@@ -215,7 +241,7 @@ export class BillboardMaterial {
215
241
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
216
242
  }
217
243
  /**
218
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
244
+ * Emissive glow intensity (omitted = 0, no emissive output)
219
245
  * @returns {number | undefined}
220
246
  */
221
247
  get emissiveIntensity() {
@@ -259,6 +285,26 @@ export class BillboardMaterial {
259
285
  const ret = wasm.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);
260
286
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
261
287
  }
288
+ /**
289
+ * Whether the sprite turns to follow the camera. `true` (the default)
290
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
291
+ * east-north-up frame, so moving the camera never reorients it.
292
+ * @returns {boolean | undefined}
293
+ */
294
+ get rotateWithCamera() {
295
+ const ret = wasm.__wbg_get_billboardmaterial_rotateWithCamera(this.__wbg_ptr);
296
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
297
+ }
298
+ /**
299
+ * Rotation of the sprite within its own plane, about its anchor point,
300
+ * in degrees, clockwise seen from the front. `center` decides where
301
+ * inside the sprite the pivot sits. Defaults to `0.0`.
302
+ * @returns {number | undefined}
303
+ */
304
+ get rotation() {
305
+ const ret = wasm.__wbg_get_billboardmaterial_rotation(this.__wbg_ptr);
306
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
307
+ }
262
308
  /**
263
309
  * @returns {boolean | undefined}
264
310
  */
@@ -307,6 +353,27 @@ export class BillboardMaterial {
307
353
  set alphaTest(arg0) {
308
354
  wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
309
355
  }
356
+ /**
357
+ * Whether faces seen from behind are culled. Default is false, so a
358
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
359
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
360
+ * over the horizon, which face away from the camera.
361
+ * @param {boolean | null} [arg0]
362
+ */
363
+ set backfaceCulling(arg0) {
364
+ wasm.__wbg_set_billboardmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
365
+ }
366
+ /**
367
+ * Whether the sprite stands up (`"upright"`, the default) or lies on the
368
+ * globe surface around its anchor (`"flat"`). Pair with
369
+ * `rotateWithCamera`.
370
+ * @param {string | null} [arg0]
371
+ */
372
+ set billboardFacing(arg0) {
373
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
374
+ var len0 = WASM_VECTOR_LEN;
375
+ wasm.__wbg_set_billboardmaterial_billboardFacing(this.__wbg_ptr, ptr0, len0);
376
+ }
310
377
  /**
311
378
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
312
379
  * Default is (0.0, 0.0) which means the center of the sprite.
@@ -372,7 +439,7 @@ export class BillboardMaterial {
372
439
  wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
373
440
  }
374
441
  /**
375
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
442
+ * Emissive glow intensity (omitted = 0, no emissive output)
376
443
  * @param {number | null} [arg0]
377
444
  */
378
445
  set emissiveIntensity(arg0) {
@@ -408,6 +475,24 @@ export class BillboardMaterial {
408
475
  set opacity(arg0) {
409
476
  wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
410
477
  }
478
+ /**
479
+ * Whether the sprite turns to follow the camera. `true` (the default)
480
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
481
+ * east-north-up frame, so moving the camera never reorients it.
482
+ * @param {boolean | null} [arg0]
483
+ */
484
+ set rotateWithCamera(arg0) {
485
+ wasm.__wbg_set_billboardmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
486
+ }
487
+ /**
488
+ * Rotation of the sprite within its own plane, about its anchor point,
489
+ * in degrees, clockwise seen from the front. `center` decides where
490
+ * inside the sprite the pivot sits. Defaults to `0.0`.
491
+ * @param {number | null} [arg0]
492
+ */
493
+ set rotation(arg0) {
494
+ wasm.__wbg_set_billboardmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
495
+ }
411
496
  /**
412
497
  * @param {boolean | null} [arg0]
413
498
  */
@@ -1750,6 +1835,72 @@ export class ConstructedPolylineGeometry {
1750
1835
  }
1751
1836
  if (Symbol.dispose) ConstructedPolylineGeometry.prototype[Symbol.dispose] = ConstructedPolylineGeometry.prototype.free;
1752
1837
 
1838
+ /**
1839
+ * Maps a 3D Tiles feature table semantic (`POSITION`, `RGB`, ...) to its
1840
+ * Draco unique attribute id.
1841
+ */
1842
+ export class DracoAttributeId {
1843
+ static __wrap(ptr) {
1844
+ const obj = Object.create(DracoAttributeId.prototype);
1845
+ obj.__wbg_ptr = ptr;
1846
+ DracoAttributeIdFinalization.register(obj, obj.__wbg_ptr, obj);
1847
+ return obj;
1848
+ }
1849
+ static __unwrap(jsValue) {
1850
+ if (!(jsValue instanceof DracoAttributeId)) {
1851
+ return 0;
1852
+ }
1853
+ return jsValue.__destroy_into_raw();
1854
+ }
1855
+ __destroy_into_raw() {
1856
+ const ptr = this.__wbg_ptr;
1857
+ this.__wbg_ptr = 0;
1858
+ DracoAttributeIdFinalization.unregister(this);
1859
+ return ptr;
1860
+ }
1861
+ free() {
1862
+ const ptr = this.__destroy_into_raw();
1863
+ wasm.__wbg_dracoattributeid_free(ptr, 0);
1864
+ }
1865
+ /**
1866
+ * @returns {string}
1867
+ */
1868
+ get semantic() {
1869
+ let deferred1_0;
1870
+ let deferred1_1;
1871
+ try {
1872
+ const ret = wasm.__wbg_get_dracoattributeid_semantic(this.__wbg_ptr);
1873
+ deferred1_0 = ret[0];
1874
+ deferred1_1 = ret[1];
1875
+ return getStringFromWasm0(ret[0], ret[1]);
1876
+ } finally {
1877
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1878
+ }
1879
+ }
1880
+ /**
1881
+ * @returns {number}
1882
+ */
1883
+ get uniqueId() {
1884
+ const ret = wasm.__wbg_get_dracoattributeid_uniqueId(this.__wbg_ptr);
1885
+ return ret >>> 0;
1886
+ }
1887
+ /**
1888
+ * @param {string} arg0
1889
+ */
1890
+ set semantic(arg0) {
1891
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1892
+ const len0 = WASM_VECTOR_LEN;
1893
+ wasm.__wbg_set_dracoattributeid_semantic(this.__wbg_ptr, ptr0, len0);
1894
+ }
1895
+ /**
1896
+ * @param {number} arg0
1897
+ */
1898
+ set uniqueId(arg0) {
1899
+ wasm.__wbg_set_dracoattributeid_uniqueId(this.__wbg_ptr, arg0);
1900
+ }
1901
+ }
1902
+ if (Symbol.dispose) DracoAttributeId.prototype[Symbol.dispose] = DracoAttributeId.prototype.free;
1903
+
1753
1904
  export class ElevationDecoder {
1754
1905
  static __wrap(ptr) {
1755
1906
  const obj = Object.create(ElevationDecoder.prototype);
@@ -2732,11 +2883,16 @@ export class ModelInternalMaterial {
2732
2883
  wasm.__wbg_modelinternalmaterial_free(ptr, 0);
2733
2884
  }
2734
2885
  /**
2735
- * @returns {boolean}
2886
+ * @returns {DracoAttributeId[] | undefined}
2736
2887
  */
2737
- get dracoCompressed() {
2738
- const ret = wasm.__wbg_get_modelinternalmaterial_dracoCompressed(this.__wbg_ptr);
2739
- return ret !== 0;
2888
+ get dracoAttributes() {
2889
+ const ret = wasm.__wbg_get_modelinternalmaterial_dracoAttributes(this.__wbg_ptr);
2890
+ let v1;
2891
+ if (ret[0] !== 0) {
2892
+ v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
2893
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
2894
+ }
2895
+ return v1;
2740
2896
  }
2741
2897
  /**
2742
2898
  * @returns {Vec3}
@@ -2753,10 +2909,12 @@ export class ModelInternalMaterial {
2753
2909
  return ret !== 0;
2754
2910
  }
2755
2911
  /**
2756
- * @param {boolean} arg0
2912
+ * @param {DracoAttributeId[] | null} [arg0]
2757
2913
  */
2758
- set dracoCompressed(arg0) {
2759
- wasm.__wbg_set_modelinternalmaterial_dracoCompressed(this.__wbg_ptr, arg0);
2914
+ set dracoAttributes(arg0) {
2915
+ var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
2916
+ var len0 = WASM_VECTOR_LEN;
2917
+ wasm.__wbg_set_modelinternalmaterial_dracoAttributes(this.__wbg_ptr, ptr0, len0);
2760
2918
  }
2761
2919
  /**
2762
2920
  * @param {Vec3} arg0
@@ -2872,7 +3030,7 @@ export class ModelMaterial {
2872
3030
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2873
3031
  }
2874
3032
  /**
2875
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
3033
+ * Emissive glow intensity (omitted = 0, no emissive output)
2876
3034
  * @returns {number | undefined}
2877
3035
  */
2878
3036
  get emissiveIntensity() {
@@ -3134,7 +3292,7 @@ export class ModelMaterial {
3134
3292
  wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3135
3293
  }
3136
3294
  /**
3137
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
3295
+ * Emissive glow intensity (omitted = 0, no emissive output)
3138
3296
  * @param {number | null} [arg0]
3139
3297
  */
3140
3298
  set emissiveIntensity(arg0) {
@@ -3417,6 +3575,17 @@ export class PointMaterial {
3417
3575
  const ptr = this.__destroy_into_raw();
3418
3576
  wasm.__wbg_pointmaterial_free(ptr, 0);
3419
3577
  }
3578
+ /**
3579
+ * Whether faces seen from behind are culled. Default is false, so a
3580
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
3581
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
3582
+ * over the horizon, which face away from the camera.
3583
+ * @returns {boolean | undefined}
3584
+ */
3585
+ get backfaceCulling() {
3586
+ const ret = wasm.__wbg_get_pointmaterial_backfaceCulling(this.__wbg_ptr);
3587
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
3588
+ }
3420
3589
  /**
3421
3590
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
3422
3591
  * Default is (0.0, 0.0) which means the center of the sprite.
@@ -3488,7 +3657,7 @@ export class PointMaterial {
3488
3657
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3489
3658
  }
3490
3659
  /**
3491
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
3660
+ * Emissive glow intensity (omitted = 0, no emissive output)
3492
3661
  * @returns {number | undefined}
3493
3662
  */
3494
3663
  get emissiveIntensity() {
@@ -3532,6 +3701,41 @@ export class PointMaterial {
3532
3701
  const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
3533
3702
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3534
3703
  }
3704
+ /**
3705
+ * Whether the point stands up (`"upright"`, the default) or lies on the
3706
+ * globe surface around its anchor (`"flat"`). Pair with
3707
+ * `rotateWithCamera`.
3708
+ * @returns {string | undefined}
3709
+ */
3710
+ get pointFacing() {
3711
+ const ret = wasm.__wbg_get_pointmaterial_pointFacing(this.__wbg_ptr);
3712
+ let v1;
3713
+ if (ret[0] !== 0) {
3714
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
3715
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
3716
+ }
3717
+ return v1;
3718
+ }
3719
+ /**
3720
+ * Whether the point turns to follow the camera. `true` (the default)
3721
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
3722
+ * east-north-up frame, so moving the camera never reorients it.
3723
+ * @returns {boolean | undefined}
3724
+ */
3725
+ get rotateWithCamera() {
3726
+ const ret = wasm.__wbg_get_pointmaterial_rotateWithCamera(this.__wbg_ptr);
3727
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
3728
+ }
3729
+ /**
3730
+ * Rotation of the point within its own plane, about its anchor point, in
3731
+ * degrees, clockwise seen from the front. `center` decides where inside
3732
+ * the quad the pivot sits. Defaults to `0.0`.
3733
+ * @returns {number | undefined}
3734
+ */
3735
+ get rotation() {
3736
+ const ret = wasm.__wbg_get_pointmaterial_rotation(this.__wbg_ptr);
3737
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3738
+ }
3535
3739
  /**
3536
3740
  * @returns {boolean | undefined}
3537
3741
  */
@@ -3562,6 +3766,16 @@ export class PointMaterial {
3562
3766
  const ret = wasm.__wbg_get_pointmaterial_transparent(this.__wbg_ptr);
3563
3767
  return ret === 0xFFFFFF ? undefined : ret !== 0;
3564
3768
  }
3769
+ /**
3770
+ * Whether faces seen from behind are culled. Default is false, so a
3771
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
3772
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
3773
+ * over the horizon, which face away from the camera.
3774
+ * @param {boolean | null} [arg0]
3775
+ */
3776
+ set backfaceCulling(arg0) {
3777
+ wasm.__wbg_set_pointmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
3778
+ }
3565
3779
  /**
3566
3780
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
3567
3781
  * Default is (0.0, 0.0) which means the center of the sprite.
@@ -3627,7 +3841,7 @@ export class PointMaterial {
3627
3841
  wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3628
3842
  }
3629
3843
  /**
3630
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
3844
+ * Emissive glow intensity (omitted = 0, no emissive output)
3631
3845
  * @param {number | null} [arg0]
3632
3846
  */
3633
3847
  set emissiveIntensity(arg0) {
@@ -3663,6 +3877,35 @@ export class PointMaterial {
3663
3877
  set opacity(arg0) {
3664
3878
  wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3665
3879
  }
3880
+ /**
3881
+ * Whether the point stands up (`"upright"`, the default) or lies on the
3882
+ * globe surface around its anchor (`"flat"`). Pair with
3883
+ * `rotateWithCamera`.
3884
+ * @param {string | null} [arg0]
3885
+ */
3886
+ set pointFacing(arg0) {
3887
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3888
+ var len0 = WASM_VECTOR_LEN;
3889
+ wasm.__wbg_set_pointmaterial_pointFacing(this.__wbg_ptr, ptr0, len0);
3890
+ }
3891
+ /**
3892
+ * Whether the point turns to follow the camera. `true` (the default)
3893
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
3894
+ * east-north-up frame, so moving the camera never reorients it.
3895
+ * @param {boolean | null} [arg0]
3896
+ */
3897
+ set rotateWithCamera(arg0) {
3898
+ wasm.__wbg_set_pointmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
3899
+ }
3900
+ /**
3901
+ * Rotation of the point within its own plane, about its anchor point, in
3902
+ * degrees, clockwise seen from the front. `center` decides where inside
3903
+ * the quad the pivot sits. Defaults to `0.0`.
3904
+ * @param {number | null} [arg0]
3905
+ */
3906
+ set rotation(arg0) {
3907
+ wasm.__wbg_set_pointmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3908
+ }
3666
3909
  /**
3667
3910
  * @param {boolean | null} [arg0]
3668
3911
  */
@@ -4028,7 +4271,7 @@ export class PolygonMaterial {
4028
4271
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4029
4272
  }
4030
4273
  /**
4031
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
4274
+ * Emissive glow intensity (omitted = 0, no emissive output)
4032
4275
  * @returns {number | undefined}
4033
4276
  */
4034
4277
  get emissiveIntensity() {
@@ -4304,7 +4547,7 @@ export class PolygonMaterial {
4304
4547
  wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4305
4548
  }
4306
4549
  /**
4307
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
4550
+ * Emissive glow intensity (omitted = 0, no emissive output)
4308
4551
  * @param {number | null} [arg0]
4309
4552
  */
4310
4553
  set emissiveIntensity(arg0) {
@@ -5014,7 +5257,7 @@ export class PolylineMaterial {
5014
5257
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5015
5258
  }
5016
5259
  /**
5017
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
5260
+ * Emissive glow intensity (omitted = 0, no emissive output)
5018
5261
  * @returns {number | undefined}
5019
5262
  */
5020
5263
  get emissiveIntensity() {
@@ -5189,7 +5432,7 @@ export class PolylineMaterial {
5189
5432
  wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5190
5433
  }
5191
5434
  /**
5192
- * Emissive glow intensity (default: 0.3 when Bloom enabled)
5435
+ * Emissive glow intensity (omitted = 0, no emissive output)
5193
5436
  * @param {number | null} [arg0]
5194
5437
  */
5195
5438
  set emissiveIntensity(arg0) {
@@ -6212,6 +6455,17 @@ export class TextMaterial {
6212
6455
  const ptr = this.__destroy_into_raw();
6213
6456
  wasm.__wbg_textmaterial_free(ptr, 0);
6214
6457
  }
6458
+ /**
6459
+ * Whether faces seen from behind are culled. Default is false, so a
6460
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
6461
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
6462
+ * over the horizon, which face away from the camera.
6463
+ * @returns {boolean | undefined}
6464
+ */
6465
+ get backfaceCulling() {
6466
+ const ret = wasm.__wbg_get_textmaterial_backfaceCulling(this.__wbg_ptr);
6467
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
6468
+ }
6215
6469
  /**
6216
6470
  * @returns {number | undefined}
6217
6471
  */
@@ -6280,6 +6534,35 @@ export class TextMaterial {
6280
6534
  const ret = wasm.__wbg_get_textmaterial_depthTest(this.__wbg_ptr);
6281
6535
  return ret === 0xFFFFFF ? undefined : ret !== 0;
6282
6536
  }
6537
+ /**
6538
+ * IDs of selective effects to apply (e.g., "bloom", "outline")
6539
+ * @returns {string[] | undefined}
6540
+ */
6541
+ get effectIds() {
6542
+ const ret = wasm.__wbg_get_textmaterial_effectIds(this.__wbg_ptr);
6543
+ let v1;
6544
+ if (ret[0] !== 0) {
6545
+ v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
6546
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
6547
+ }
6548
+ return v1;
6549
+ }
6550
+ /**
6551
+ * Emissive glow color in 0xRRGGBB format
6552
+ * @returns {number | undefined}
6553
+ */
6554
+ get emissiveColor() {
6555
+ const ret = wasm.__wbg_get_textmaterial_emissiveColor(this.__wbg_ptr);
6556
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6557
+ }
6558
+ /**
6559
+ * Emissive glow intensity (omitted = 0, no emissive output)
6560
+ * @returns {number | undefined}
6561
+ */
6562
+ get emissiveIntensity() {
6563
+ const ret = wasm.__wbg_get_textmaterial_emissiveIntensity(this.__wbg_ptr);
6564
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6565
+ }
6283
6566
  /**
6284
6567
  * Specifies either the URL of a single font file or the `family` name of a font family
6285
6568
  * previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf,
@@ -6411,6 +6694,31 @@ export class TextMaterial {
6411
6694
  const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
6412
6695
  return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6413
6696
  }
6697
+ /**
6698
+ * Whether the label turns to follow the camera. `true` (the default)
6699
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
6700
+ * east-north-up frame, so moving the camera never reorients it: with
6701
+ * `textFacing: "upright"` it becomes a signboard standing on the
6702
+ * surface, with `"flat"` a north-up label painted on it.
6703
+ * @returns {boolean | undefined}
6704
+ */
6705
+ get rotateWithCamera() {
6706
+ const ret = wasm.__wbg_get_textmaterial_rotateWithCamera(this.__wbg_ptr);
6707
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
6708
+ }
6709
+ /**
6710
+ * Rotation of the label within its own plane, about its anchor point, in
6711
+ * degrees, clockwise seen from the front. Applied on top of whatever
6712
+ * orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
6713
+ * billboard on screen and turns a surface label like a compass bearing.
6714
+ * `center` decides where inside the text the pivot sits. Defaults to
6715
+ * `0.0`.
6716
+ * @returns {number | undefined}
6717
+ */
6718
+ get rotation() {
6719
+ const ret = wasm.__wbg_get_textmaterial_rotation(this.__wbg_ptr);
6720
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6721
+ }
6414
6722
  /**
6415
6723
  * @returns {boolean | undefined}
6416
6724
  */
@@ -6448,6 +6756,21 @@ export class TextMaterial {
6448
6756
  }
6449
6757
  return v1;
6450
6758
  }
6759
+ /**
6760
+ * Whether the label stands up (`"upright"`, the default) or lies on the
6761
+ * globe surface around its anchor (`"flat"`), following its curvature so
6762
+ * it reads as painted on the surface. Pair with `rotateWithCamera`.
6763
+ * @returns {string | undefined}
6764
+ */
6765
+ get textFacing() {
6766
+ const ret = wasm.__wbg_get_textmaterial_textFacing(this.__wbg_ptr);
6767
+ let v1;
6768
+ if (ret[0] !== 0) {
6769
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
6770
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
6771
+ }
6772
+ return v1;
6773
+ }
6451
6774
  /**
6452
6775
  * @returns {string | undefined}
6453
6776
  */
@@ -6468,6 +6791,16 @@ export class TextMaterial {
6468
6791
  const ret = wasm.__wbg_get_textmaterial_transparent(this.__wbg_ptr);
6469
6792
  return ret === 0xFFFFFF ? undefined : ret !== 0;
6470
6793
  }
6794
+ /**
6795
+ * Whether faces seen from behind are culled. Default is false, so a
6796
+ * quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
6797
+ * visible from behind. Turn it on to hide a flat quad's parts that wrap
6798
+ * over the horizon, which face away from the camera.
6799
+ * @param {boolean | null} [arg0]
6800
+ */
6801
+ set backfaceCulling(arg0) {
6802
+ wasm.__wbg_set_textmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6803
+ }
6471
6804
  /**
6472
6805
  * @param {number | null} [arg0]
6473
6806
  */
@@ -6532,6 +6865,29 @@ export class TextMaterial {
6532
6865
  set depthTest(arg0) {
6533
6866
  wasm.__wbg_set_textmaterial_depthTest(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6534
6867
  }
6868
+ /**
6869
+ * IDs of selective effects to apply (e.g., "bloom", "outline")
6870
+ * @param {string[] | null} [arg0]
6871
+ */
6872
+ set effectIds(arg0) {
6873
+ var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
6874
+ var len0 = WASM_VECTOR_LEN;
6875
+ wasm.__wbg_set_textmaterial_effectIds(this.__wbg_ptr, ptr0, len0);
6876
+ }
6877
+ /**
6878
+ * Emissive glow color in 0xRRGGBB format
6879
+ * @param {number | null} [arg0]
6880
+ */
6881
+ set emissiveColor(arg0) {
6882
+ wasm.__wbg_set_textmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6883
+ }
6884
+ /**
6885
+ * Emissive glow intensity (omitted = 0, no emissive output)
6886
+ * @param {number | null} [arg0]
6887
+ */
6888
+ set emissiveIntensity(arg0) {
6889
+ wasm.__wbg_set_textmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6890
+ }
6535
6891
  /**
6536
6892
  * Specifies either the URL of a single font file or the `family` name of a font family
6537
6893
  * previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf,
@@ -6642,6 +6998,29 @@ export class TextMaterial {
6642
6998
  set outlineWidth(arg0) {
6643
6999
  wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6644
7000
  }
7001
+ /**
7002
+ * Whether the label turns to follow the camera. `true` (the default)
7003
+ * keeps it facing the viewer. `false` freezes it in the anchor's local
7004
+ * east-north-up frame, so moving the camera never reorients it: with
7005
+ * `textFacing: "upright"` it becomes a signboard standing on the
7006
+ * surface, with `"flat"` a north-up label painted on it.
7007
+ * @param {boolean | null} [arg0]
7008
+ */
7009
+ set rotateWithCamera(arg0) {
7010
+ wasm.__wbg_set_textmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
7011
+ }
7012
+ /**
7013
+ * Rotation of the label within its own plane, about its anchor point, in
7014
+ * degrees, clockwise seen from the front. Applied on top of whatever
7015
+ * orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
7016
+ * billboard on screen and turns a surface label like a compass bearing.
7017
+ * `center` decides where inside the text the pivot sits. Defaults to
7018
+ * `0.0`.
7019
+ * @param {number | null} [arg0]
7020
+ */
7021
+ set rotation(arg0) {
7022
+ wasm.__wbg_set_textmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7023
+ }
6645
7024
  /**
6646
7025
  * @param {boolean | null} [arg0]
6647
7026
  */
@@ -6672,6 +7051,17 @@ export class TextMaterial {
6672
7051
  var len0 = WASM_VECTOR_LEN;
6673
7052
  wasm.__wbg_set_textmaterial_textAlign(this.__wbg_ptr, ptr0, len0);
6674
7053
  }
7054
+ /**
7055
+ * Whether the label stands up (`"upright"`, the default) or lies on the
7056
+ * globe surface around its anchor (`"flat"`), following its curvature so
7057
+ * it reads as painted on the surface. Pair with `rotateWithCamera`.
7058
+ * @param {string | null} [arg0]
7059
+ */
7060
+ set textFacing(arg0) {
7061
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
7062
+ var len0 = WASM_VECTOR_LEN;
7063
+ wasm.__wbg_set_textmaterial_textFacing(this.__wbg_ptr, ptr0, len0);
7064
+ }
6675
7065
  /**
6676
7066
  * @param {string | null} [arg0]
6677
7067
  */
@@ -7283,6 +7673,13 @@ export class TransferablePolylineBatchedFeature {
7283
7673
  setPointsSizes(byte_length, f) {
7284
7674
  wasm.transferablepolylinebatchedfeature_setPointsSizes(this.__wbg_ptr, byte_length, f);
7285
7675
  }
7676
+ /**
7677
+ * @param {number} byte_length
7678
+ * @param {Function} f
7679
+ */
7680
+ setRingFlags(byte_length, f) {
7681
+ wasm.transferablepolylinebatchedfeature_setRingFlags(this.__wbg_ptr, byte_length, f);
7682
+ }
7286
7683
  /**
7287
7684
  * @returns {Uint32Array}
7288
7685
  */
@@ -7311,6 +7708,13 @@ export class TransferablePolylineBatchedFeature {
7311
7708
  const ret = wasm.transferablepolylinebatchedfeature_transferPointsSizes(this.__wbg_ptr);
7312
7709
  return ret;
7313
7710
  }
7711
+ /**
7712
+ * @returns {Uint8Array}
7713
+ */
7714
+ transferRingFlags() {
7715
+ const ret = wasm.transferablepolylinebatchedfeature_transferRingFlags(this.__wbg_ptr);
7716
+ return ret;
7717
+ }
7314
7718
  }
7315
7719
  if (Symbol.dispose) TransferablePolylineBatchedFeature.prototype[Symbol.dispose] = TransferablePolylineBatchedFeature.prototype.free;
7316
7720
 
@@ -7949,38 +8353,41 @@ export function constructPolylineBatchedFeature(features, material, flat) {
7949
8353
  * @param {TransferableTile} tile
7950
8354
  * @param {boolean} skirt
7951
8355
  * @param {number} skirt_exaggeration
8356
+ * @param {boolean} pole_north
8357
+ * @param {boolean} pole_south
7952
8358
  * @param {boolean} geographic
7953
8359
  * @param {boolean} tms
7954
8360
  * @returns {ReturnedConstructedTerrainMesh}
7955
8361
  */
7956
- export function constructQuantizedMeshTerrainMesh(bytes, tile, skirt, skirt_exaggeration, geographic, tms) {
8362
+ export function constructQuantizedMeshTerrainMesh(bytes, tile, skirt, skirt_exaggeration, pole_north, pole_south, geographic, tms) {
7957
8363
  const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
7958
8364
  const len0 = WASM_VECTOR_LEN;
7959
8365
  _assertClass(tile, TransferableTile);
7960
8366
  var ptr1 = tile.__destroy_into_raw();
7961
- const ret = wasm.constructQuantizedMeshTerrainMesh(ptr0, len0, ptr1, skirt, skirt_exaggeration, geographic, tms);
8367
+ const ret = wasm.constructQuantizedMeshTerrainMesh(ptr0, len0, ptr1, skirt, skirt_exaggeration, pole_north, pole_south, geographic, tms);
7962
8368
  return ReturnedConstructedTerrainMesh.__wrap(ret);
7963
8369
  }
7964
8370
 
7965
8371
  /**
8372
+ * `martini_size` is the DEM tile width plus one (the grid is 2^n + 1).
7966
8373
  * @param {Uint8Array} bytes
7967
8374
  * @param {TransferableTile} tile
7968
8375
  * @param {TransferableRasterDEMData} raster_dem_data
7969
- * @param {TransferableMartini} martini
8376
+ * @param {number} martini_size
7970
8377
  * @param {boolean} skirt
7971
8378
  * @param {number} skirt_exaggeration
8379
+ * @param {boolean} pole_north
8380
+ * @param {boolean} pole_south
7972
8381
  * @returns {ReturnedConstructedTerrainMesh}
7973
8382
  */
7974
- export function constructTerrainMesh(bytes, tile, raster_dem_data, martini, skirt, skirt_exaggeration) {
8383
+ export function constructTerrainMesh(bytes, tile, raster_dem_data, martini_size, skirt, skirt_exaggeration, pole_north, pole_south) {
7975
8384
  const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
7976
8385
  const len0 = WASM_VECTOR_LEN;
7977
8386
  _assertClass(tile, TransferableTile);
7978
8387
  var ptr1 = tile.__destroy_into_raw();
7979
8388
  _assertClass(raster_dem_data, TransferableRasterDEMData);
7980
8389
  var ptr2 = raster_dem_data.__destroy_into_raw();
7981
- _assertClass(martini, TransferableMartini);
7982
- var ptr3 = martini.__destroy_into_raw();
7983
- const ret = wasm.constructTerrainMesh(ptr0, len0, ptr1, ptr2, ptr3, skirt, skirt_exaggeration);
8390
+ const ret = wasm.constructTerrainMesh(ptr0, len0, ptr1, ptr2, martini_size, skirt, skirt_exaggeration, pole_north, pole_south);
7984
8391
  return ReturnedConstructedTerrainMesh.__wrap(ret);
7985
8392
  }
7986
8393
 
@@ -8025,55 +8432,73 @@ export function start() {
8025
8432
 
8026
8433
  /**
8027
8434
  * @param {TransferableTile} tile
8028
- * @param {TransferableTile} parent_tile
8435
+ * @param {TransferableTile} source_tile
8029
8436
  * @param {UpsamplableTerrainGeometry} upsamplable_geometry
8030
8437
  * @param {boolean} skirt
8031
8438
  * @param {number} skirt_exaggeration
8439
+ * @param {boolean} pole_north
8440
+ * @param {boolean} pole_south
8032
8441
  * @param {boolean} geographic
8033
8442
  * @param {boolean} tms
8034
8443
  * @returns {ReturnedConstructedTerrainMesh}
8035
8444
  */
8036
- export function upsampleQuantizedMeshTerrainMesh(tile, parent_tile, upsamplable_geometry, skirt, skirt_exaggeration, geographic, tms) {
8445
+ export function upsampleQuantizedMeshTerrainMesh(tile, source_tile, upsamplable_geometry, skirt, skirt_exaggeration, pole_north, pole_south, geographic, tms) {
8037
8446
  _assertClass(tile, TransferableTile);
8038
8447
  var ptr0 = tile.__destroy_into_raw();
8039
- _assertClass(parent_tile, TransferableTile);
8040
- var ptr1 = parent_tile.__destroy_into_raw();
8448
+ _assertClass(source_tile, TransferableTile);
8449
+ var ptr1 = source_tile.__destroy_into_raw();
8041
8450
  _assertClass(upsamplable_geometry, UpsamplableTerrainGeometry);
8042
8451
  var ptr2 = upsamplable_geometry.__destroy_into_raw();
8043
- const ret = wasm.upsampleQuantizedMeshTerrainMesh(ptr0, ptr1, ptr2, skirt, skirt_exaggeration, geographic, tms);
8044
- return ReturnedConstructedTerrainMesh.__wrap(ret);
8452
+ const ret = wasm.upsampleQuantizedMeshTerrainMesh(ptr0, ptr1, ptr2, skirt, skirt_exaggeration, pole_north, pole_south, geographic, tms);
8453
+ if (ret[2]) {
8454
+ throw takeFromExternrefTable0(ret[1]);
8455
+ }
8456
+ return ReturnedConstructedTerrainMesh.__wrap(ret[0]);
8045
8457
  }
8046
8458
 
8047
8459
  /**
8460
+ * Upsample a raster-DEM tile from a real-DEM ancestor: the ancestor's DEM
8461
+ * pixels are resampled down the quadrant path to this tile and meshed at
8462
+ * this tile's own level, so the result matches what the real DEM tile will
8463
+ * look like, just at a lower source resolution. The engine may have rebuilt
8464
+ * its tiling after this task was queued, in which case the source no longer
8465
+ * names an ancestor: fail the task instead of aborting the worker.
8466
+ * `martini_size` is the DEM tile width plus one (the grid is 2^n + 1).
8048
8467
  * @param {TransferableTile} tile
8049
- * @param {TransferableTile} parent_tile
8468
+ * @param {TransferableTile} source_tile
8050
8469
  * @param {TransferableRasterDEMData} raster_dem_data
8051
- * @param {UpsamplableTerrainGeometry} upsamplable_geometry
8470
+ * @param {Uint8Array} source_bytes
8471
+ * @param {number} martini_size
8052
8472
  * @param {boolean} skirt
8053
8473
  * @param {number} skirt_exaggeration
8474
+ * @param {boolean} pole_north
8475
+ * @param {boolean} pole_south
8054
8476
  * @param {boolean} tms
8055
8477
  * @returns {ReturnedConstructedTerrainMesh}
8056
8478
  */
8057
- export function upsampleTerrainMesh(tile, parent_tile, raster_dem_data, upsamplable_geometry, skirt, skirt_exaggeration, tms) {
8479
+ export function upsampleTerrainMesh(tile, source_tile, raster_dem_data, source_bytes, martini_size, skirt, skirt_exaggeration, pole_north, pole_south, tms) {
8058
8480
  _assertClass(tile, TransferableTile);
8059
8481
  var ptr0 = tile.__destroy_into_raw();
8060
- _assertClass(parent_tile, TransferableTile);
8061
- var ptr1 = parent_tile.__destroy_into_raw();
8482
+ _assertClass(source_tile, TransferableTile);
8483
+ var ptr1 = source_tile.__destroy_into_raw();
8062
8484
  _assertClass(raster_dem_data, TransferableRasterDEMData);
8063
8485
  var ptr2 = raster_dem_data.__destroy_into_raw();
8064
- _assertClass(upsamplable_geometry, UpsamplableTerrainGeometry);
8065
- var ptr3 = upsamplable_geometry.__destroy_into_raw();
8066
- const ret = wasm.upsampleTerrainMesh(ptr0, ptr1, ptr2, ptr3, skirt, skirt_exaggeration, tms);
8067
- return ReturnedConstructedTerrainMesh.__wrap(ret);
8486
+ const ptr3 = passArray8ToWasm0(source_bytes, wasm.__wbindgen_malloc);
8487
+ const len3 = WASM_VECTOR_LEN;
8488
+ const ret = wasm.upsampleTerrainMesh(ptr0, ptr1, ptr2, ptr3, len3, martini_size, skirt, skirt_exaggeration, pole_north, pole_south, tms);
8489
+ if (ret[2]) {
8490
+ throw takeFromExternrefTable0(ret[1]);
8491
+ }
8492
+ return ReturnedConstructedTerrainMesh.__wrap(ret[0]);
8068
8493
  }
8069
8494
  function __wbg_get_imports() {
8070
8495
  const import0 = {
8071
8496
  __proto__: null,
8072
- __wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
8497
+ __wbg_Error_408e67f47ca7b58b: function(arg0, arg1) {
8073
8498
  const ret = Error(getStringFromWasm0(arg0, arg1));
8074
8499
  return ret;
8075
8500
  },
8076
- __wbg_Number_9a4e0ecb0fa16705: function(arg0) {
8501
+ __wbg_Number_3890faa6d3ff057d: function(arg0) {
8077
8502
  const ret = Number(arg0);
8078
8503
  return ret;
8079
8504
  },
@@ -8084,60 +8509,60 @@ function __wbg_get_imports() {
8084
8509
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8085
8510
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8086
8511
  },
8087
- __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
8512
+ __wbg___wbindgen_bigint_get_as_i64_c4ecf48528083721: function(arg0, arg1) {
8088
8513
  const v = arg1;
8089
8514
  const ret = typeof(v) === 'bigint' ? v : undefined;
8090
8515
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
8091
8516
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8092
8517
  },
8093
- __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
8518
+ __wbg___wbindgen_boolean_get_c9c83ebd41b34df3: function(arg0) {
8094
8519
  const v = arg0;
8095
8520
  const ret = typeof(v) === 'boolean' ? v : undefined;
8096
8521
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
8097
8522
  },
8098
- __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
8523
+ __wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(arg0, arg1) {
8099
8524
  const ret = debugString(arg1);
8100
8525
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8101
8526
  const len1 = WASM_VECTOR_LEN;
8102
8527
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8103
8528
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8104
8529
  },
8105
- __wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
8530
+ __wbg___wbindgen_in_ac983077f137f2e6: function(arg0, arg1) {
8106
8531
  const ret = arg0 in arg1;
8107
8532
  return ret;
8108
8533
  },
8109
- __wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
8534
+ __wbg___wbindgen_is_bigint_8ffbbef442139384: function(arg0) {
8110
8535
  const ret = typeof(arg0) === 'bigint';
8111
8536
  return ret;
8112
8537
  },
8113
- __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
8538
+ __wbg___wbindgen_is_function_5e4570eb24ffa122: function(arg0) {
8114
8539
  const ret = typeof(arg0) === 'function';
8115
8540
  return ret;
8116
8541
  },
8117
- __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
8542
+ __wbg___wbindgen_is_object_a2790eb24c211ea0: function(arg0) {
8118
8543
  const val = arg0;
8119
8544
  const ret = typeof(val) === 'object' && val !== null;
8120
8545
  return ret;
8121
8546
  },
8122
- __wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
8547
+ __wbg___wbindgen_jsval_eq_0a18949a61670320: function(arg0, arg1) {
8123
8548
  const ret = arg0 === arg1;
8124
8549
  return ret;
8125
8550
  },
8126
- __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
8551
+ __wbg___wbindgen_jsval_loose_eq_acf2776254a8d832: function(arg0, arg1) {
8127
8552
  const ret = arg0 == arg1;
8128
8553
  return ret;
8129
8554
  },
8130
- __wbg___wbindgen_memory_de265df8aadd6273: function() {
8555
+ __wbg___wbindgen_memory_5dc2a138835b0f8e: function() {
8131
8556
  const ret = wasm.memory;
8132
8557
  return ret;
8133
8558
  },
8134
- __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
8559
+ __wbg___wbindgen_number_get_136b9679cab35cfb: function(arg0, arg1) {
8135
8560
  const obj = arg1;
8136
8561
  const ret = typeof(obj) === 'number' ? obj : undefined;
8137
8562
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
8138
8563
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8139
8564
  },
8140
- __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
8565
+ __wbg___wbindgen_string_get_d154f1e671052120: function(arg0, arg1) {
8141
8566
  const obj = arg1;
8142
8567
  const ret = typeof(obj) === 'string' ? obj : undefined;
8143
8568
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -8145,42 +8570,50 @@ function __wbg_get_imports() {
8145
8570
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8146
8571
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8147
8572
  },
8148
- __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
8573
+ __wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
8149
8574
  throw new Error(getStringFromWasm0(arg0, arg1));
8150
8575
  },
8151
- __wbg_buffer_0f212447ac64c53b: function(arg0) {
8576
+ __wbg_buffer_8117fe4dab119813: function(arg0) {
8152
8577
  const ret = arg0.buffer;
8153
8578
  return ret;
8154
8579
  },
8155
- __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
8580
+ __wbg_call_1c5886ab9c57d1c7: function() { return handleError(function (arg0, arg1) {
8156
8581
  const ret = arg0.call(arg1);
8157
8582
  return ret;
8158
8583
  }, arguments); },
8159
- __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
8584
+ __wbg_call_35dba3c747ad7521: function() { return handleError(function (arg0, arg1, arg2) {
8160
8585
  const ret = arg0.call(arg1, arg2);
8161
8586
  return ret;
8162
8587
  }, arguments); },
8163
- __wbg_done_89b2b13e91a60321: function(arg0) {
8588
+ __wbg_done_669171204c3dcae2: function(arg0) {
8164
8589
  const ret = arg0.done;
8165
8590
  return ret;
8166
8591
  },
8167
- __wbg_entries_015dc610cd81ede0: function(arg0) {
8592
+ __wbg_dracoattributeid_new: function(arg0) {
8593
+ const ret = DracoAttributeId.__wrap(arg0);
8594
+ return ret;
8595
+ },
8596
+ __wbg_dracoattributeid_unwrap: function(arg0) {
8597
+ const ret = DracoAttributeId.__unwrap(arg0);
8598
+ return ret;
8599
+ },
8600
+ __wbg_entries_7774d489e1da5f4f: function(arg0) {
8168
8601
  const ret = Object.entries(arg0);
8169
8602
  return ret;
8170
8603
  },
8171
- __wbg_get_507a50627bffa49b: function(arg0, arg1) {
8604
+ __wbg_get_c0c8f8d7da0c03dd: function(arg0, arg1) {
8172
8605
  const ret = arg0[arg1 >>> 0];
8173
8606
  return ret;
8174
8607
  },
8175
- __wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
8608
+ __wbg_get_d173c0308df22d37: function() { return handleError(function (arg0, arg1) {
8176
8609
  const ret = Reflect.get(arg0, arg1);
8177
8610
  return ret;
8178
8611
  }, arguments); },
8179
- __wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
8612
+ __wbg_get_unchecked_e20b893aeafc3fca: function(arg0, arg1) {
8180
8613
  const ret = arg0[arg1 >>> 0];
8181
8614
  return ret;
8182
8615
  },
8183
- __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
8616
+ __wbg_instanceof_ArrayBuffer_993d02d2d254cad1: function(arg0) {
8184
8617
  let result;
8185
8618
  try {
8186
8619
  result = arg0 instanceof ArrayBuffer;
@@ -8190,7 +8623,7 @@ function __wbg_get_imports() {
8190
8623
  const ret = result;
8191
8624
  return ret;
8192
8625
  },
8193
- __wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
8626
+ __wbg_instanceof_Map_9a4d6ead180ae3a9: function(arg0) {
8194
8627
  let result;
8195
8628
  try {
8196
8629
  result = arg0 instanceof Map;
@@ -8200,7 +8633,7 @@ function __wbg_get_imports() {
8200
8633
  const ret = result;
8201
8634
  return ret;
8202
8635
  },
8203
- __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
8636
+ __wbg_instanceof_Uint8Array_f935dbb0aa7cdeed: function(arg0) {
8204
8637
  let result;
8205
8638
  try {
8206
8639
  result = arg0 instanceof Uint8Array;
@@ -8210,35 +8643,35 @@ function __wbg_get_imports() {
8210
8643
  const ret = result;
8211
8644
  return ret;
8212
8645
  },
8213
- __wbg_isArray_0677c962b281d01a: function(arg0) {
8646
+ __wbg_isArray_6339f732981044bf: function(arg0) {
8214
8647
  const ret = Array.isArray(arg0);
8215
8648
  return ret;
8216
8649
  },
8217
- __wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
8650
+ __wbg_isSafeInteger_f3d6cd19ccfe4512: function(arg0) {
8218
8651
  const ret = Number.isSafeInteger(arg0);
8219
8652
  return ret;
8220
8653
  },
8221
- __wbg_iterator_6f722e4a93058b71: function() {
8654
+ __wbg_iterator_5cebbb86e33c6dd6: function() {
8222
8655
  const ret = Symbol.iterator;
8223
8656
  return ret;
8224
8657
  },
8225
- __wbg_length_0133fa10e3234c57: function(arg0) {
8658
+ __wbg_length_1009454859bb3e03: function(arg0) {
8226
8659
  const ret = arg0.length;
8227
8660
  return ret;
8228
8661
  },
8229
- __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
8662
+ __wbg_length_36bd29c6848c2144: function(arg0) {
8230
8663
  const ret = arg0.length;
8231
8664
  return ret;
8232
8665
  },
8233
- __wbg_length_370319915dc99107: function(arg0) {
8666
+ __wbg_length_46f80504ebb6ebb4: function(arg0) {
8234
8667
  const ret = arg0.length;
8235
8668
  return ret;
8236
8669
  },
8237
- __wbg_length_381d540857ec99e8: function(arg0) {
8670
+ __wbg_length_7528cf2a241bef97: function(arg0) {
8238
8671
  const ret = arg0.length;
8239
8672
  return ret;
8240
8673
  },
8241
- __wbg_length_98f10d1e2f4ea968: function(arg0) {
8674
+ __wbg_length_ecfa2c63d3d0d82c: function(arg0) {
8242
8675
  const ret = arg0.length;
8243
8676
  return ret;
8244
8677
  },
@@ -8246,80 +8679,80 @@ function __wbg_get_imports() {
8246
8679
  const ret = LLE.__wrap(arg0);
8247
8680
  return ret;
8248
8681
  },
8249
- __wbg_log_631549b8bf4c7159: function(arg0, arg1) {
8682
+ __wbg_log_6074336b9b47c176: function(arg0, arg1) {
8250
8683
  console.log(getStringFromWasm0(arg0, arg1));
8251
8684
  },
8252
- __wbg_new_32b398fb48b6d94a: function() {
8685
+ __wbg_new_078f4f4b1eaabdec: function(arg0) {
8686
+ const ret = new Float32Array(arg0);
8687
+ return ret;
8688
+ },
8689
+ __wbg_new_116be93542d39019: function() {
8253
8690
  const ret = new Array();
8254
8691
  return ret;
8255
8692
  },
8256
- __wbg_new_80efd62ef570c5de: function(arg0) {
8693
+ __wbg_new_2aa179ec5b1fefa8: function(arg0) {
8257
8694
  const ret = new Float64Array(arg0);
8258
8695
  return ret;
8259
8696
  },
8260
- __wbg_new_92a08b12c30e98e8: function(arg0) {
8261
- const ret = new Float32Array(arg0);
8697
+ __wbg_new_68c044c0b3877148: function(arg0) {
8698
+ const ret = new Uint32Array(arg0);
8262
8699
  return ret;
8263
8700
  },
8264
- __wbg_new_cd45aabdf6073e84: function(arg0) {
8701
+ __wbg_new_77cc4f4f472aeb81: function(arg0) {
8265
8702
  const ret = new Uint8Array(arg0);
8266
8703
  return ret;
8267
8704
  },
8268
- __wbg_new_da52cf8fe3429cb2: function() {
8705
+ __wbg_new_ebe3e0f6837f0879: function() {
8269
8706
  const ret = new Object();
8270
8707
  return ret;
8271
8708
  },
8272
- __wbg_new_dfd44b7151fab657: function(arg0) {
8273
- const ret = new Uint32Array(arg0);
8274
- return ret;
8275
- },
8276
- __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
8277
- const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
8709
+ __wbg_new_with_byte_offset_and_length_042855770b1f0cf5: function(arg0, arg1, arg2) {
8710
+ const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
8278
8711
  return ret;
8279
8712
  },
8280
- __wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
8713
+ __wbg_new_with_byte_offset_and_length_8a19fd6506a908ea: function(arg0, arg1, arg2) {
8281
8714
  const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
8282
8715
  return ret;
8283
8716
  },
8284
- __wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
8285
- const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
8286
- return ret;
8287
- },
8288
- __wbg_next_6dbf2c0ac8cde20f: function(arg0) {
8289
- const ret = arg0.next;
8717
+ __wbg_new_with_byte_offset_and_length_ff6e927f8d72f0c3: function(arg0, arg1, arg2) {
8718
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
8290
8719
  return ret;
8291
8720
  },
8292
- __wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
8721
+ __wbg_next_42cf16ee0dafc9e2: function() { return handleError(function (arg0) {
8293
8722
  const ret = arg0.next();
8294
8723
  return ret;
8295
8724
  }, arguments); },
8296
- __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
8725
+ __wbg_next_8f26b64fa5e9f64b: function(arg0) {
8726
+ const ret = arg0.next;
8727
+ return ret;
8728
+ },
8729
+ __wbg_prototypesetcall_de8e0d9553586985: function(arg0, arg1, arg2) {
8297
8730
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
8298
8731
  },
8299
- __wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
8732
+ __wbg_push_adb0107829f02d75: function(arg0, arg1) {
8300
8733
  const ret = arg0.push(arg1);
8301
8734
  return ret;
8302
8735
  },
8303
- __wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
8304
- arg0.set(getArrayF32FromWasm0(arg1, arg2));
8305
- },
8306
- __wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
8736
+ __wbg_set_22c3e3730946c809: function(arg0, arg1, arg2) {
8307
8737
  arg0.set(getArrayF64FromWasm0(arg1, arg2));
8308
8738
  },
8309
- __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
8310
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
8739
+ __wbg_set_577f5f7485b6744e: function(arg0, arg1, arg2) {
8740
+ arg0.set(getArrayF32FromWasm0(arg1, arg2));
8311
8741
  },
8312
8742
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
8313
8743
  arg0[arg1] = arg2;
8314
8744
  },
8315
- __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
8745
+ __wbg_set_8155bb79a948541b: function() { return handleError(function (arg0, arg1, arg2) {
8316
8746
  const ret = Reflect.set(arg0, arg1, arg2);
8317
8747
  return ret;
8318
8748
  }, arguments); },
8319
- __wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
8749
+ __wbg_set_a80955eb93b145c6: function(arg0, arg1, arg2) {
8320
8750
  arg0[arg1 >>> 0] = arg2;
8321
8751
  },
8322
- __wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
8752
+ __wbg_set_b9b5b5cb7b495037: function(arg0, arg1, arg2) {
8753
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
8754
+ },
8755
+ __wbg_set_e575799cdfbae72f: function(arg0, arg1, arg2) {
8323
8756
  arg0.set(getArrayU32FromWasm0(arg1, arg2));
8324
8757
  },
8325
8758
  __wbg_texturefragment_new: function(arg0) {
@@ -8330,7 +8763,7 @@ function __wbg_get_imports() {
8330
8763
  const ret = TileUvTransform.__wrap(arg0);
8331
8764
  return ret;
8332
8765
  },
8333
- __wbg_value_a5d5488a9589444a: function(arg0) {
8766
+ __wbg_value_1e2369fab29b420e: function(arg0) {
8334
8767
  const ret = arg0.value;
8335
8768
  return ret;
8336
8769
  },
@@ -8415,6 +8848,9 @@ const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegist
8415
8848
  const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8416
8849
  ? { register: () => {}, unregister: () => {} }
8417
8850
  : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
8851
+ const DracoAttributeIdFinalization = (typeof FinalizationRegistry === 'undefined')
8852
+ ? { register: () => {}, unregister: () => {} }
8853
+ : new FinalizationRegistry(ptr => wasm.__wbg_dracoattributeid_free(ptr, 1));
8418
8854
  const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
8419
8855
  ? { register: () => {}, unregister: () => {} }
8420
8856
  : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));