@navaramap/engine 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.
- package/navara_wasm.d.ts +538 -378
- package/navara_wasm.js +855 -699
- package/navara_wasm_bg.wasm +0 -0
- package/package.json +2 -2
package/navara_wasm.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
export class Aabb {
|
|
4
4
|
static __wrap(ptr) {
|
|
5
|
-
ptr = ptr >>> 0;
|
|
6
5
|
const obj = Object.create(Aabb.prototype);
|
|
7
6
|
obj.__wbg_ptr = ptr;
|
|
8
7
|
AabbFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -28,7 +27,7 @@ export class Aabb {
|
|
|
28
27
|
_assertClass(extent, Vec3);
|
|
29
28
|
var ptr1 = extent.__destroy_into_raw();
|
|
30
29
|
const ret = wasm.aabb_new(ptr0, ptr1);
|
|
31
|
-
this.__wbg_ptr = ret
|
|
30
|
+
this.__wbg_ptr = ret;
|
|
32
31
|
AabbFinalization.register(this, this.__wbg_ptr, this);
|
|
33
32
|
return this;
|
|
34
33
|
}
|
|
@@ -152,7 +151,6 @@ if (Symbol.dispose) B3dmLayerDescription.prototype[Symbol.dispose] = B3dmLayerDe
|
|
|
152
151
|
|
|
153
152
|
export class BatchPropResult {
|
|
154
153
|
static __wrap(ptr) {
|
|
155
|
-
ptr = ptr >>> 0;
|
|
156
154
|
const obj = Object.create(BatchPropResult.prototype);
|
|
157
155
|
obj.__wbg_ptr = ptr;
|
|
158
156
|
BatchPropResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -206,7 +204,6 @@ if (Symbol.dispose) BatchPropResult.prototype[Symbol.dispose] = BatchPropResult.
|
|
|
206
204
|
|
|
207
205
|
export class BillboardMaterial {
|
|
208
206
|
static __wrap(ptr) {
|
|
209
|
-
ptr = ptr >>> 0;
|
|
210
207
|
const obj = Object.create(BillboardMaterial.prototype);
|
|
211
208
|
obj.__wbg_ptr = ptr;
|
|
212
209
|
BillboardMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -227,7 +224,7 @@ export class BillboardMaterial {
|
|
|
227
224
|
*/
|
|
228
225
|
get alphaTest() {
|
|
229
226
|
const ret = wasm.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);
|
|
230
|
-
return ret ===
|
|
227
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
231
228
|
}
|
|
232
229
|
/**
|
|
233
230
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
@@ -250,7 +247,26 @@ export class BillboardMaterial {
|
|
|
250
247
|
*/
|
|
251
248
|
get color() {
|
|
252
249
|
const ret = wasm.__wbg_get_billboardmaterial_color(this.__wbg_ptr);
|
|
253
|
-
return ret ===
|
|
250
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
254
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
255
|
+
* @returns {number | undefined}
|
|
256
|
+
*/
|
|
257
|
+
get declutterPriority() {
|
|
258
|
+
const ret = wasm.__wbg_get_billboardmaterial_declutterPriority(this.__wbg_ptr);
|
|
259
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
263
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
264
|
+
* `false` to draw every label unconditionally.
|
|
265
|
+
* @returns {boolean | undefined}
|
|
266
|
+
*/
|
|
267
|
+
get declutter() {
|
|
268
|
+
const ret = wasm.__wbg_get_billboardmaterial_declutter(this.__wbg_ptr);
|
|
269
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
254
270
|
}
|
|
255
271
|
/**
|
|
256
272
|
* @returns {boolean | undefined}
|
|
@@ -278,7 +294,7 @@ export class BillboardMaterial {
|
|
|
278
294
|
*/
|
|
279
295
|
get emissiveColor() {
|
|
280
296
|
const ret = wasm.__wbg_get_billboardmaterial_emissiveColor(this.__wbg_ptr);
|
|
281
|
-
return ret ===
|
|
297
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
282
298
|
}
|
|
283
299
|
/**
|
|
284
300
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -286,14 +302,14 @@ export class BillboardMaterial {
|
|
|
286
302
|
*/
|
|
287
303
|
get emissiveIntensity() {
|
|
288
304
|
const ret = wasm.__wbg_get_billboardmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
289
|
-
return ret ===
|
|
305
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
290
306
|
}
|
|
291
307
|
/**
|
|
292
308
|
* @returns {number | undefined}
|
|
293
309
|
*/
|
|
294
310
|
get height() {
|
|
295
311
|
const ret = wasm.__wbg_get_billboardmaterial_height(this.__wbg_ptr);
|
|
296
|
-
return ret ===
|
|
312
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
297
313
|
}
|
|
298
314
|
/**
|
|
299
315
|
* Avoid overlapping with the globe surface.
|
|
@@ -308,7 +324,7 @@ export class BillboardMaterial {
|
|
|
308
324
|
*/
|
|
309
325
|
get opacity() {
|
|
310
326
|
const ret = wasm.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);
|
|
311
|
-
return ret ===
|
|
327
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
312
328
|
}
|
|
313
329
|
/**
|
|
314
330
|
* @returns {boolean | undefined}
|
|
@@ -331,7 +347,7 @@ export class BillboardMaterial {
|
|
|
331
347
|
*/
|
|
332
348
|
get size() {
|
|
333
349
|
const ret = wasm.__wbg_get_billboardmaterial_size(this.__wbg_ptr);
|
|
334
|
-
return ret ===
|
|
350
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
335
351
|
}
|
|
336
352
|
/**
|
|
337
353
|
* @returns {boolean | undefined}
|
|
@@ -356,7 +372,7 @@ export class BillboardMaterial {
|
|
|
356
372
|
* @param {number | null} [arg0]
|
|
357
373
|
*/
|
|
358
374
|
set alphaTest(arg0) {
|
|
359
|
-
wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
375
|
+
wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
360
376
|
}
|
|
361
377
|
/**
|
|
362
378
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
@@ -381,7 +397,24 @@ export class BillboardMaterial {
|
|
|
381
397
|
* @param {number | null} [arg0]
|
|
382
398
|
*/
|
|
383
399
|
set color(arg0) {
|
|
384
|
-
wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
400
|
+
wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
404
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
405
|
+
* @param {number | null} [arg0]
|
|
406
|
+
*/
|
|
407
|
+
set declutterPriority(arg0) {
|
|
408
|
+
wasm.__wbg_set_billboardmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
412
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
413
|
+
* `false` to draw every label unconditionally.
|
|
414
|
+
* @param {boolean | null} [arg0]
|
|
415
|
+
*/
|
|
416
|
+
set declutter(arg0) {
|
|
417
|
+
wasm.__wbg_set_billboardmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
385
418
|
}
|
|
386
419
|
/**
|
|
387
420
|
* @param {boolean | null} [arg0]
|
|
@@ -403,20 +436,20 @@ export class BillboardMaterial {
|
|
|
403
436
|
* @param {number | null} [arg0]
|
|
404
437
|
*/
|
|
405
438
|
set emissiveColor(arg0) {
|
|
406
|
-
wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
439
|
+
wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
407
440
|
}
|
|
408
441
|
/**
|
|
409
442
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
410
443
|
* @param {number | null} [arg0]
|
|
411
444
|
*/
|
|
412
445
|
set emissiveIntensity(arg0) {
|
|
413
|
-
wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
446
|
+
wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
414
447
|
}
|
|
415
448
|
/**
|
|
416
449
|
* @param {number | null} [arg0]
|
|
417
450
|
*/
|
|
418
451
|
set height(arg0) {
|
|
419
|
-
wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
452
|
+
wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
420
453
|
}
|
|
421
454
|
/**
|
|
422
455
|
* Avoid overlapping with the globe surface.
|
|
@@ -429,7 +462,7 @@ export class BillboardMaterial {
|
|
|
429
462
|
* @param {number | null} [arg0]
|
|
430
463
|
*/
|
|
431
464
|
set opacity(arg0) {
|
|
432
|
-
wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
465
|
+
wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
433
466
|
}
|
|
434
467
|
/**
|
|
435
468
|
* @param {boolean | null} [arg0]
|
|
@@ -449,7 +482,7 @@ export class BillboardMaterial {
|
|
|
449
482
|
* @param {number | null} [arg0]
|
|
450
483
|
*/
|
|
451
484
|
set size(arg0) {
|
|
452
|
-
wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
485
|
+
wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
453
486
|
}
|
|
454
487
|
/**
|
|
455
488
|
* @param {boolean | null} [arg0]
|
|
@@ -470,7 +503,6 @@ if (Symbol.dispose) BillboardMaterial.prototype[Symbol.dispose] = BillboardMater
|
|
|
470
503
|
|
|
471
504
|
export class BillboardMesh {
|
|
472
505
|
static __wrap(ptr) {
|
|
473
|
-
ptr = ptr >>> 0;
|
|
474
506
|
const obj = Object.create(BillboardMesh.prototype);
|
|
475
507
|
obj.__wbg_ptr = ptr;
|
|
476
508
|
BillboardMeshFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -562,7 +594,6 @@ if (Symbol.dispose) BillboardMesh.prototype[Symbol.dispose] = BillboardMesh.prot
|
|
|
562
594
|
|
|
563
595
|
export class BoundingSphere {
|
|
564
596
|
static __wrap(ptr) {
|
|
565
|
-
ptr = ptr >>> 0;
|
|
566
597
|
const obj = Object.create(BoundingSphere.prototype);
|
|
567
598
|
obj.__wbg_ptr = ptr;
|
|
568
599
|
BoundingSphereFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -586,7 +617,7 @@ export class BoundingSphere {
|
|
|
586
617
|
*/
|
|
587
618
|
constructor(center_x, center_y, center_z, radius) {
|
|
588
619
|
const ret = wasm.boundingsphere_new(center_x, center_y, center_z, radius);
|
|
589
|
-
this.__wbg_ptr = ret
|
|
620
|
+
this.__wbg_ptr = ret;
|
|
590
621
|
BoundingSphereFinalization.register(this, this.__wbg_ptr, this);
|
|
591
622
|
return this;
|
|
592
623
|
}
|
|
@@ -662,7 +693,6 @@ export const CRS = Object.freeze({
|
|
|
662
693
|
|
|
663
694
|
export class CachedMeshHandle {
|
|
664
695
|
static __wrap(ptr) {
|
|
665
|
-
ptr = ptr >>> 0;
|
|
666
696
|
const obj = Object.create(CachedMeshHandle.prototype);
|
|
667
697
|
obj.__wbg_ptr = ptr;
|
|
668
698
|
CachedMeshHandleFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -685,8 +715,8 @@ export class CachedMeshHandle {
|
|
|
685
715
|
* @param {number | null} [heights]
|
|
686
716
|
*/
|
|
687
717
|
constructor(vertices, indices, uvs, heights) {
|
|
688
|
-
const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ?
|
|
689
|
-
this.__wbg_ptr = ret
|
|
718
|
+
const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? Number.MAX_SAFE_INTEGER : (heights) >> 0);
|
|
719
|
+
this.__wbg_ptr = ret;
|
|
690
720
|
CachedMeshHandleFinalization.register(this, this.__wbg_ptr, this);
|
|
691
721
|
return this;
|
|
692
722
|
}
|
|
@@ -695,7 +725,7 @@ export class CachedMeshHandle {
|
|
|
695
725
|
*/
|
|
696
726
|
get heights() {
|
|
697
727
|
const ret = wasm.__wbg_get_cachedmeshhandle_heights(this.__wbg_ptr);
|
|
698
|
-
return ret ===
|
|
728
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
699
729
|
}
|
|
700
730
|
/**
|
|
701
731
|
* @returns {number}
|
|
@@ -709,7 +739,7 @@ export class CachedMeshHandle {
|
|
|
709
739
|
*/
|
|
710
740
|
get normals() {
|
|
711
741
|
const ret = wasm.__wbg_get_cachedmeshhandle_normals(this.__wbg_ptr);
|
|
712
|
-
return ret ===
|
|
742
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
713
743
|
}
|
|
714
744
|
/**
|
|
715
745
|
* @returns {number}
|
|
@@ -730,13 +760,13 @@ export class CachedMeshHandle {
|
|
|
730
760
|
*/
|
|
731
761
|
get watermask() {
|
|
732
762
|
const ret = wasm.__wbg_get_cachedmeshhandle_watermask(this.__wbg_ptr);
|
|
733
|
-
return ret ===
|
|
763
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
734
764
|
}
|
|
735
765
|
/**
|
|
736
766
|
* @param {number | null} [arg0]
|
|
737
767
|
*/
|
|
738
768
|
set heights(arg0) {
|
|
739
|
-
wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
769
|
+
wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
740
770
|
}
|
|
741
771
|
/**
|
|
742
772
|
* @param {number} arg0
|
|
@@ -748,7 +778,7 @@ export class CachedMeshHandle {
|
|
|
748
778
|
* @param {number | null} [arg0]
|
|
749
779
|
*/
|
|
750
780
|
set normals(arg0) {
|
|
751
|
-
wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
781
|
+
wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
752
782
|
}
|
|
753
783
|
/**
|
|
754
784
|
* @param {number} arg0
|
|
@@ -766,7 +796,7 @@ export class CachedMeshHandle {
|
|
|
766
796
|
* @param {number | null} [arg0]
|
|
767
797
|
*/
|
|
768
798
|
set watermask(arg0) {
|
|
769
|
-
wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
799
|
+
wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
770
800
|
}
|
|
771
801
|
}
|
|
772
802
|
if (Symbol.dispose) CachedMeshHandle.prototype[Symbol.dispose] = CachedMeshHandle.prototype.free;
|
|
@@ -790,7 +820,7 @@ export class CameraControlUpdateEvent {
|
|
|
790
820
|
}
|
|
791
821
|
constructor() {
|
|
792
822
|
const ret = wasm.cameracontrolupdateevent_new();
|
|
793
|
-
this.__wbg_ptr = ret
|
|
823
|
+
this.__wbg_ptr = ret;
|
|
794
824
|
CameraControlUpdateEventFinalization.register(this, this.__wbg_ptr, this);
|
|
795
825
|
return this;
|
|
796
826
|
}
|
|
@@ -866,7 +896,7 @@ export class CameraControlUpdateEvent {
|
|
|
866
896
|
*/
|
|
867
897
|
get spinDuration() {
|
|
868
898
|
const ret = wasm.__wbg_get_cameracontrolupdateevent_spinDuration(this.__wbg_ptr);
|
|
869
|
-
return ret ===
|
|
899
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
870
900
|
}
|
|
871
901
|
/**
|
|
872
902
|
* Multiplier for mouse drag rotation speed.
|
|
@@ -886,7 +916,7 @@ export class CameraControlUpdateEvent {
|
|
|
886
916
|
*/
|
|
887
917
|
get translateDuration() {
|
|
888
918
|
const ret = wasm.__wbg_get_cameracontrolupdateevent_translateDuration(this.__wbg_ptr);
|
|
889
|
-
return ret ===
|
|
919
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
890
920
|
}
|
|
891
921
|
/**
|
|
892
922
|
* Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
|
|
@@ -896,7 +926,7 @@ export class CameraControlUpdateEvent {
|
|
|
896
926
|
*/
|
|
897
927
|
get zoomDuration() {
|
|
898
928
|
const ret = wasm.__wbg_get_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr);
|
|
899
|
-
return ret ===
|
|
929
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
900
930
|
}
|
|
901
931
|
/**
|
|
902
932
|
* Multiplier for scroll wheel zoom speed.
|
|
@@ -973,7 +1003,7 @@ export class CameraControlUpdateEvent {
|
|
|
973
1003
|
* @param {number | null} [arg0]
|
|
974
1004
|
*/
|
|
975
1005
|
set spinDuration(arg0) {
|
|
976
|
-
wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
1006
|
+
wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
977
1007
|
}
|
|
978
1008
|
/**
|
|
979
1009
|
* Multiplier for mouse drag rotation speed.
|
|
@@ -991,7 +1021,7 @@ export class CameraControlUpdateEvent {
|
|
|
991
1021
|
* @param {number | null} [arg0]
|
|
992
1022
|
*/
|
|
993
1023
|
set translateDuration(arg0) {
|
|
994
|
-
wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
1024
|
+
wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
995
1025
|
}
|
|
996
1026
|
/**
|
|
997
1027
|
* Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
|
|
@@ -1000,7 +1030,7 @@ export class CameraControlUpdateEvent {
|
|
|
1000
1030
|
* @param {number | null} [arg0]
|
|
1001
1031
|
*/
|
|
1002
1032
|
set zoomDuration(arg0) {
|
|
1003
|
-
wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
1033
|
+
wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
1004
1034
|
}
|
|
1005
1035
|
/**
|
|
1006
1036
|
* Multiplier for scroll wheel zoom speed.
|
|
@@ -1028,7 +1058,6 @@ export const CameraDirection = Object.freeze({
|
|
|
1028
1058
|
|
|
1029
1059
|
export class CameraFrustum {
|
|
1030
1060
|
static __wrap(ptr) {
|
|
1031
|
-
ptr = ptr >>> 0;
|
|
1032
1061
|
const obj = Object.create(CameraFrustum.prototype);
|
|
1033
1062
|
obj.__wbg_ptr = ptr;
|
|
1034
1063
|
CameraFrustumFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1052,7 +1081,7 @@ export class CameraFrustum {
|
|
|
1052
1081
|
*/
|
|
1053
1082
|
constructor(near, far, fov, aspect_ratio) {
|
|
1054
1083
|
const ret = wasm.camerafrustum_new(near, far, fov, aspect_ratio);
|
|
1055
|
-
this.__wbg_ptr = ret
|
|
1084
|
+
this.__wbg_ptr = ret;
|
|
1056
1085
|
CameraFrustumFinalization.register(this, this.__wbg_ptr, this);
|
|
1057
1086
|
return this;
|
|
1058
1087
|
}
|
|
@@ -1113,7 +1142,6 @@ if (Symbol.dispose) CameraFrustum.prototype[Symbol.dispose] = CameraFrustum.prot
|
|
|
1113
1142
|
|
|
1114
1143
|
export class CameraOrientation {
|
|
1115
1144
|
static __wrap(ptr) {
|
|
1116
|
-
ptr = ptr >>> 0;
|
|
1117
1145
|
const obj = Object.create(CameraOrientation.prototype);
|
|
1118
1146
|
obj.__wbg_ptr = ptr;
|
|
1119
1147
|
CameraOrientationFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1173,7 +1201,6 @@ if (Symbol.dispose) CameraOrientation.prototype[Symbol.dispose] = CameraOrientat
|
|
|
1173
1201
|
|
|
1174
1202
|
export class CameraStatus {
|
|
1175
1203
|
static __wrap(ptr) {
|
|
1176
|
-
ptr = ptr >>> 0;
|
|
1177
1204
|
const obj = Object.create(CameraStatus.prototype);
|
|
1178
1205
|
obj.__wbg_ptr = ptr;
|
|
1179
1206
|
CameraStatusFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1376,7 +1403,7 @@ export class CompiledExpression {
|
|
|
1376
1403
|
if (ret[2]) {
|
|
1377
1404
|
throw takeFromExternrefTable0(ret[1]);
|
|
1378
1405
|
}
|
|
1379
|
-
this.__wbg_ptr = ret[0]
|
|
1406
|
+
this.__wbg_ptr = ret[0];
|
|
1380
1407
|
CompiledExpressionFinalization.register(this, this.__wbg_ptr, this);
|
|
1381
1408
|
return this;
|
|
1382
1409
|
}
|
|
@@ -1404,7 +1431,7 @@ export class CompiledFilter {
|
|
|
1404
1431
|
if (ret[2]) {
|
|
1405
1432
|
throw takeFromExternrefTable0(ret[1]);
|
|
1406
1433
|
}
|
|
1407
|
-
this.__wbg_ptr = ret[0]
|
|
1434
|
+
this.__wbg_ptr = ret[0];
|
|
1408
1435
|
CompiledFilterFinalization.register(this, this.__wbg_ptr, this);
|
|
1409
1436
|
return this;
|
|
1410
1437
|
}
|
|
@@ -1434,7 +1461,6 @@ if (Symbol.dispose) CompiledFilter.prototype[Symbol.dispose] = CompiledFilter.pr
|
|
|
1434
1461
|
|
|
1435
1462
|
export class ConstructPolygonBatchedFeatureParameters {
|
|
1436
1463
|
static __wrap(ptr) {
|
|
1437
|
-
ptr = ptr >>> 0;
|
|
1438
1464
|
const obj = Object.create(ConstructPolygonBatchedFeatureParameters.prototype);
|
|
1439
1465
|
obj.__wbg_ptr = ptr;
|
|
1440
1466
|
ConstructPolygonBatchedFeatureParametersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1501,7 +1527,6 @@ if (Symbol.dispose) ConstructPolygonBatchedFeatureParameters.prototype[Symbol.di
|
|
|
1501
1527
|
|
|
1502
1528
|
export class ConstructPolygonBatchedFeatureResult {
|
|
1503
1529
|
static __wrap(ptr) {
|
|
1504
|
-
ptr = ptr >>> 0;
|
|
1505
1530
|
const obj = Object.create(ConstructPolygonBatchedFeatureResult.prototype);
|
|
1506
1531
|
obj.__wbg_ptr = ptr;
|
|
1507
1532
|
ConstructPolygonBatchedFeatureResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1542,7 +1567,7 @@ export class ConstructPolygonBatchedFeatureResult {
|
|
|
1542
1567
|
ptr3 = rtc_translation.__destroy_into_raw();
|
|
1543
1568
|
}
|
|
1544
1569
|
const ret = wasm.constructpolygonbatchedfeatureresult_new(ptr0, ptr1, ptr2, ptr3);
|
|
1545
|
-
this.__wbg_ptr = ret
|
|
1570
|
+
this.__wbg_ptr = ret;
|
|
1546
1571
|
ConstructPolygonBatchedFeatureResultFinalization.register(this, this.__wbg_ptr, this);
|
|
1547
1572
|
return this;
|
|
1548
1573
|
}
|
|
@@ -1622,7 +1647,6 @@ if (Symbol.dispose) ConstructPolygonBatchedFeatureResult.prototype[Symbol.dispos
|
|
|
1622
1647
|
|
|
1623
1648
|
export class ConstructPolylineBatchedFeatureParameters {
|
|
1624
1649
|
static __wrap(ptr) {
|
|
1625
|
-
ptr = ptr >>> 0;
|
|
1626
1650
|
const obj = Object.create(ConstructPolylineBatchedFeatureParameters.prototype);
|
|
1627
1651
|
obj.__wbg_ptr = ptr;
|
|
1628
1652
|
ConstructPolylineBatchedFeatureParametersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1678,7 +1702,6 @@ if (Symbol.dispose) ConstructPolylineBatchedFeatureParameters.prototype[Symbol.d
|
|
|
1678
1702
|
|
|
1679
1703
|
export class ConstructPolylineBatchedFeatureResult {
|
|
1680
1704
|
static __wrap(ptr) {
|
|
1681
|
-
ptr = ptr >>> 0;
|
|
1682
1705
|
const obj = Object.create(ConstructPolylineBatchedFeatureResult.prototype);
|
|
1683
1706
|
obj.__wbg_ptr = ptr;
|
|
1684
1707
|
ConstructPolylineBatchedFeatureResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1714,7 +1737,7 @@ export class ConstructPolylineBatchedFeatureResult {
|
|
|
1714
1737
|
ptr1 = extent.__destroy_into_raw();
|
|
1715
1738
|
}
|
|
1716
1739
|
const ret = wasm.constructpolylinebatchedfeatureresult_new(ptr0, ptr1);
|
|
1717
|
-
this.__wbg_ptr = ret
|
|
1740
|
+
this.__wbg_ptr = ret;
|
|
1718
1741
|
ConstructPolylineBatchedFeatureResultFinalization.register(this, this.__wbg_ptr, this);
|
|
1719
1742
|
return this;
|
|
1720
1743
|
}
|
|
@@ -1738,7 +1761,6 @@ if (Symbol.dispose) ConstructPolylineBatchedFeatureResult.prototype[Symbol.dispo
|
|
|
1738
1761
|
|
|
1739
1762
|
export class ConstructTerrainMeshParameters {
|
|
1740
1763
|
static __wrap(ptr) {
|
|
1741
|
-
ptr = ptr >>> 0;
|
|
1742
1764
|
const obj = Object.create(ConstructTerrainMeshParameters.prototype);
|
|
1743
1765
|
obj.__wbg_ptr = ptr;
|
|
1744
1766
|
ConstructTerrainMeshParametersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1867,7 +1889,6 @@ if (Symbol.dispose) ConstructTerrainMeshParameters.prototype[Symbol.dispose] = C
|
|
|
1867
1889
|
|
|
1868
1890
|
export class ConstructTerrainMeshResult {
|
|
1869
1891
|
static __wrap(ptr) {
|
|
1870
|
-
ptr = ptr >>> 0;
|
|
1871
1892
|
const obj = Object.create(ConstructTerrainMeshResult.prototype);
|
|
1872
1893
|
obj.__wbg_ptr = ptr;
|
|
1873
1894
|
ConstructTerrainMeshResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1899,7 +1920,7 @@ export class ConstructTerrainMeshResult {
|
|
|
1899
1920
|
ptr1 = rtc_translation.__destroy_into_raw();
|
|
1900
1921
|
}
|
|
1901
1922
|
const ret = wasm.constructterrainmeshresult_new(ptr0, heights, min_height, max_height, ptr1);
|
|
1902
|
-
this.__wbg_ptr = ret
|
|
1923
|
+
this.__wbg_ptr = ret;
|
|
1903
1924
|
ConstructTerrainMeshResultFinalization.register(this, this.__wbg_ptr, this);
|
|
1904
1925
|
return this;
|
|
1905
1926
|
}
|
|
@@ -1943,7 +1964,7 @@ export class ConstructTerrainMeshResult {
|
|
|
1943
1964
|
*/
|
|
1944
1965
|
get watermask() {
|
|
1945
1966
|
const ret = wasm.__wbg_get_constructterrainmeshresult_watermask(this.__wbg_ptr);
|
|
1946
|
-
return ret ===
|
|
1967
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
1947
1968
|
}
|
|
1948
1969
|
/**
|
|
1949
1970
|
* @param {TransferableGeometry} arg0
|
|
@@ -1986,7 +2007,7 @@ export class ConstructTerrainMeshResult {
|
|
|
1986
2007
|
* @param {number | null} [arg0]
|
|
1987
2008
|
*/
|
|
1988
2009
|
set watermask(arg0) {
|
|
1989
|
-
wasm.__wbg_set_constructterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2010
|
+
wasm.__wbg_set_constructterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
1990
2011
|
}
|
|
1991
2012
|
}
|
|
1992
2013
|
if (Symbol.dispose) ConstructTerrainMeshResult.prototype[Symbol.dispose] = ConstructTerrainMeshResult.prototype.free;
|
|
@@ -2161,7 +2182,6 @@ if (Symbol.dispose) ConstructedPolygonGeometry.prototype[Symbol.dispose] = Const
|
|
|
2161
2182
|
|
|
2162
2183
|
export class ConstructedPolygonOutlineGeometry {
|
|
2163
2184
|
static __wrap(ptr) {
|
|
2164
|
-
ptr = ptr >>> 0;
|
|
2165
2185
|
const obj = Object.create(ConstructedPolygonOutlineGeometry.prototype);
|
|
2166
2186
|
obj.__wbg_ptr = ptr;
|
|
2167
2187
|
ConstructedPolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2598,7 +2618,7 @@ export class Core {
|
|
|
2598
2618
|
*/
|
|
2599
2619
|
genGlobalBatchId() {
|
|
2600
2620
|
const ret = wasm.core_genGlobalBatchId(this.__wbg_ptr);
|
|
2601
|
-
return ret ===
|
|
2621
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2602
2622
|
}
|
|
2603
2623
|
/**
|
|
2604
2624
|
* @param {number} handle
|
|
@@ -2689,7 +2709,7 @@ export class Core {
|
|
|
2689
2709
|
*/
|
|
2690
2710
|
getGlobeColor() {
|
|
2691
2711
|
const ret = wasm.core_getGlobeColor(this.__wbg_ptr);
|
|
2692
|
-
return ret ===
|
|
2712
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2693
2713
|
}
|
|
2694
2714
|
/**
|
|
2695
2715
|
* @returns {Float32Array | undefined}
|
|
@@ -2715,21 +2735,21 @@ export class Core {
|
|
|
2715
2735
|
*/
|
|
2716
2736
|
getGlobeMaxSse() {
|
|
2717
2737
|
const ret = wasm.core_getGlobeMaxSse(this.__wbg_ptr);
|
|
2718
|
-
return ret ===
|
|
2738
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2719
2739
|
}
|
|
2720
2740
|
/**
|
|
2721
2741
|
* @returns {number | undefined}
|
|
2722
2742
|
*/
|
|
2723
2743
|
getGlobeOpacity() {
|
|
2724
2744
|
const ret = wasm.core_getGlobeOpacity(this.__wbg_ptr);
|
|
2725
|
-
return ret ===
|
|
2745
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2726
2746
|
}
|
|
2727
2747
|
/**
|
|
2728
2748
|
* @returns {number | undefined}
|
|
2729
2749
|
*/
|
|
2730
2750
|
getGlobeSegments() {
|
|
2731
2751
|
const ret = wasm.core_getGlobeSegments(this.__wbg_ptr);
|
|
2732
|
-
return ret ===
|
|
2752
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2733
2753
|
}
|
|
2734
2754
|
/**
|
|
2735
2755
|
* @returns {boolean | undefined}
|
|
@@ -2760,7 +2780,7 @@ export class Core {
|
|
|
2760
2780
|
const ptr0 = passStringToWasm0(layer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2761
2781
|
const len0 = WASM_VECTOR_LEN;
|
|
2762
2782
|
const ret = wasm.core_getLayerIndex(this.__wbg_ptr, ptr0, len0);
|
|
2763
|
-
return ret ===
|
|
2783
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2764
2784
|
}
|
|
2765
2785
|
/**
|
|
2766
2786
|
* @param {ReconstructableEntity} martini_id
|
|
@@ -2787,6 +2807,19 @@ export class Core {
|
|
|
2787
2807
|
const ret = wasm.core_getParentTile(this.__wbg_ptr, handle);
|
|
2788
2808
|
return ret === 0 ? undefined : TransferableTile.__wrap(ret);
|
|
2789
2809
|
}
|
|
2810
|
+
/**
|
|
2811
|
+
* The WebMercator raster tiles to bake into per-layer drape render targets for a
|
|
2812
|
+
* terrain tile (baked layers only; empty on WebMercator terrain, which drapes 1:1
|
|
2813
|
+
* through the per-slot material path).
|
|
2814
|
+
* @param {bigint} handle
|
|
2815
|
+
* @returns {RasterTileState[]}
|
|
2816
|
+
*/
|
|
2817
|
+
getRasterTileStates(handle) {
|
|
2818
|
+
const ret = wasm.core_getRasterTileStates(this.__wbg_ptr, handle);
|
|
2819
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
2820
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
2821
|
+
return v1;
|
|
2822
|
+
}
|
|
2790
2823
|
/**
|
|
2791
2824
|
* @param {bigint} handle
|
|
2792
2825
|
* @returns {TransferableTile | undefined}
|
|
@@ -2901,7 +2934,7 @@ export class Core {
|
|
|
2901
2934
|
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2902
2935
|
const len0 = WASM_VECTOR_LEN;
|
|
2903
2936
|
const ret = wasm.core_new(ptr0, len0);
|
|
2904
|
-
this.__wbg_ptr = ret
|
|
2937
|
+
this.__wbg_ptr = ret;
|
|
2905
2938
|
CoreFinalization.register(this, this.__wbg_ptr, this);
|
|
2906
2939
|
return this;
|
|
2907
2940
|
}
|
|
@@ -2912,7 +2945,7 @@ export class Core {
|
|
|
2912
2945
|
*/
|
|
2913
2946
|
newBufferF32(byte_length, f) {
|
|
2914
2947
|
const ret = wasm.core_newBufferF32(this.__wbg_ptr, byte_length, f);
|
|
2915
|
-
return ret ===
|
|
2948
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2916
2949
|
}
|
|
2917
2950
|
/**
|
|
2918
2951
|
* @param {Float32Array} data
|
|
@@ -2922,7 +2955,7 @@ export class Core {
|
|
|
2922
2955
|
const ptr0 = passArrayF32ToWasm0(data, wasm.__wbindgen_malloc);
|
|
2923
2956
|
const len0 = WASM_VECTOR_LEN;
|
|
2924
2957
|
const ret = wasm.core_newBufferF32Cloned(this.__wbg_ptr, ptr0, len0);
|
|
2925
|
-
return ret ===
|
|
2958
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2926
2959
|
}
|
|
2927
2960
|
/**
|
|
2928
2961
|
* @param {number} byte_length
|
|
@@ -2931,7 +2964,7 @@ export class Core {
|
|
|
2931
2964
|
*/
|
|
2932
2965
|
newBufferF64(byte_length, f) {
|
|
2933
2966
|
const ret = wasm.core_newBufferF64(this.__wbg_ptr, byte_length, f);
|
|
2934
|
-
return ret ===
|
|
2967
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2935
2968
|
}
|
|
2936
2969
|
/**
|
|
2937
2970
|
* @param {number} byte_length
|
|
@@ -2940,7 +2973,7 @@ export class Core {
|
|
|
2940
2973
|
*/
|
|
2941
2974
|
newBufferU32(byte_length, f) {
|
|
2942
2975
|
const ret = wasm.core_newBufferU32(this.__wbg_ptr, byte_length, f);
|
|
2943
|
-
return ret ===
|
|
2976
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2944
2977
|
}
|
|
2945
2978
|
/**
|
|
2946
2979
|
* @param {Uint32Array} data
|
|
@@ -2950,7 +2983,7 @@ export class Core {
|
|
|
2950
2983
|
const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
|
|
2951
2984
|
const len0 = WASM_VECTOR_LEN;
|
|
2952
2985
|
const ret = wasm.core_newBufferU32Cloned(this.__wbg_ptr, ptr0, len0);
|
|
2953
|
-
return ret ===
|
|
2986
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2954
2987
|
}
|
|
2955
2988
|
/**
|
|
2956
2989
|
* @param {number} byte_length
|
|
@@ -2959,7 +2992,7 @@ export class Core {
|
|
|
2959
2992
|
*/
|
|
2960
2993
|
newBufferU8(byte_length, f) {
|
|
2961
2994
|
const ret = wasm.core_newBufferU8(this.__wbg_ptr, byte_length, f);
|
|
2962
|
-
return ret ===
|
|
2995
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2963
2996
|
}
|
|
2964
2997
|
/**
|
|
2965
2998
|
* @param {Uint8Array} data
|
|
@@ -2969,7 +3002,7 @@ export class Core {
|
|
|
2969
3002
|
const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
2970
3003
|
const len0 = WASM_VECTOR_LEN;
|
|
2971
3004
|
const ret = wasm.core_newBufferU8Cloned(this.__wbg_ptr, ptr0, len0);
|
|
2972
|
-
return ret ===
|
|
3005
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2973
3006
|
}
|
|
2974
3007
|
/**
|
|
2975
3008
|
* @param {number} byte_length
|
|
@@ -2977,7 +3010,17 @@ export class Core {
|
|
|
2977
3010
|
*/
|
|
2978
3011
|
newExternalBuffer(byte_length) {
|
|
2979
3012
|
const ret = wasm.core_newExternalBuffer(this.__wbg_ptr, byte_length);
|
|
2980
|
-
return ret ===
|
|
3013
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3014
|
+
}
|
|
3015
|
+
/**
|
|
3016
|
+
* Monotonic revision that changes only when the raster drape resolution could have
|
|
3017
|
+
* changed. The web renderer reads it once per frame and skips the per-terrain-tile
|
|
3018
|
+
* `getRasterTileStates` calls while it is unchanged.
|
|
3019
|
+
* @returns {number}
|
|
3020
|
+
*/
|
|
3021
|
+
rasterRevision() {
|
|
3022
|
+
const ret = wasm.core_rasterRevision(this.__wbg_ptr);
|
|
3023
|
+
return ret >>> 0;
|
|
2981
3024
|
}
|
|
2982
3025
|
/**
|
|
2983
3026
|
* @param {bigint} renderable_feature_bits
|
|
@@ -3160,6 +3203,16 @@ export class Core {
|
|
|
3160
3203
|
setExternalBuffer(handle, bits, byte_length) {
|
|
3161
3204
|
wasm.core_setExternalBuffer(this.__wbg_ptr, handle, bits, byte_length);
|
|
3162
3205
|
}
|
|
3206
|
+
/**
|
|
3207
|
+
* Reports the estimated GPU bytes of fixed, screen-sized allocations
|
|
3208
|
+
* (the postprocessing render-target stack). Counted in the ledger's
|
|
3209
|
+
* usage so the tile budget binds against the remaining memory. The JS
|
|
3210
|
+
* side re-reports on init, resize, and pass-list changes.
|
|
3211
|
+
* @param {number} bytes
|
|
3212
|
+
*/
|
|
3213
|
+
setFixedGpuBytes(bytes) {
|
|
3214
|
+
wasm.core_setFixedGpuBytes(this.__wbg_ptr, bytes);
|
|
3215
|
+
}
|
|
3163
3216
|
/**
|
|
3164
3217
|
* @param {number | null} [fov]
|
|
3165
3218
|
* @param {number | null} [near]
|
|
@@ -3380,7 +3433,6 @@ if (Symbol.dispose) Core.prototype[Symbol.dispose] = Core.prototype.free;
|
|
|
3380
3433
|
|
|
3381
3434
|
export class DataRequestEvent {
|
|
3382
3435
|
static __wrap(ptr) {
|
|
3383
|
-
ptr = ptr >>> 0;
|
|
3384
3436
|
const obj = Object.create(DataRequestEvent.prototype);
|
|
3385
3437
|
obj.__wbg_ptr = ptr;
|
|
3386
3438
|
DataRequestEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3583,7 +3635,6 @@ if (Symbol.dispose) DataRequestEvent.prototype[Symbol.dispose] = DataRequestEven
|
|
|
3583
3635
|
|
|
3584
3636
|
export class DataRequesterRemovedEvent {
|
|
3585
3637
|
static __wrap(ptr) {
|
|
3586
|
-
ptr = ptr >>> 0;
|
|
3587
3638
|
const obj = Object.create(DataRequesterRemovedEvent.prototype);
|
|
3588
3639
|
obj.__wbg_ptr = ptr;
|
|
3589
3640
|
DataRequesterRemovedEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3656,7 +3707,6 @@ if (Symbol.dispose) DataRequesterRemovedEvent.prototype[Symbol.dispose] = DataRe
|
|
|
3656
3707
|
|
|
3657
3708
|
export class DelegatedWorkerTasksParameters {
|
|
3658
3709
|
static __wrap(ptr) {
|
|
3659
|
-
ptr = ptr >>> 0;
|
|
3660
3710
|
const obj = Object.create(DelegatedWorkerTasksParameters.prototype);
|
|
3661
3711
|
obj.__wbg_ptr = ptr;
|
|
3662
3712
|
DelegatedWorkerTasksParametersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3782,7 +3832,6 @@ if (Symbol.dispose) DelegatedWorkerTasksParameters.prototype[Symbol.dispose] = D
|
|
|
3782
3832
|
|
|
3783
3833
|
export class DelegatedWorkerTasksResult {
|
|
3784
3834
|
static __wrap(ptr) {
|
|
3785
|
-
ptr = ptr >>> 0;
|
|
3786
3835
|
const obj = Object.create(DelegatedWorkerTasksResult.prototype);
|
|
3787
3836
|
obj.__wbg_ptr = ptr;
|
|
3788
3837
|
DelegatedWorkerTasksResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4016,7 +4065,7 @@ export class DynamicSse {
|
|
|
4016
4065
|
*/
|
|
4017
4066
|
constructor(enabled, density, sse_factor, height_falloff, min_height, max_height) {
|
|
4018
4067
|
const ret = wasm.dynamicsse_new(enabled, density, sse_factor, height_falloff, min_height, max_height);
|
|
4019
|
-
this.__wbg_ptr = ret
|
|
4068
|
+
this.__wbg_ptr = ret;
|
|
4020
4069
|
DynamicSseFinalization.register(this, this.__wbg_ptr, this);
|
|
4021
4070
|
return this;
|
|
4022
4071
|
}
|
|
@@ -4111,7 +4160,6 @@ if (Symbol.dispose) DynamicSse.prototype[Symbol.dispose] = DynamicSse.prototype.
|
|
|
4111
4160
|
|
|
4112
4161
|
export class ElevationDecoder {
|
|
4113
4162
|
static __wrap(ptr) {
|
|
4114
|
-
ptr = ptr >>> 0;
|
|
4115
4163
|
const obj = Object.create(ElevationDecoder.prototype);
|
|
4116
4164
|
obj.__wbg_ptr = ptr;
|
|
4117
4165
|
ElevationDecoderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4153,7 +4201,7 @@ export class ElevationDecoder {
|
|
|
4153
4201
|
*/
|
|
4154
4202
|
constructor(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon) {
|
|
4155
4203
|
const ret = wasm.elevationdecoder_new(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon);
|
|
4156
|
-
this.__wbg_ptr = ret
|
|
4204
|
+
this.__wbg_ptr = ret;
|
|
4157
4205
|
ElevationDecoderFinalization.register(this, this.__wbg_ptr, this);
|
|
4158
4206
|
return this;
|
|
4159
4207
|
}
|
|
@@ -4277,7 +4325,6 @@ if (Symbol.dispose) ElevationDecoder.prototype[Symbol.dispose] = ElevationDecode
|
|
|
4277
4325
|
*/
|
|
4278
4326
|
export class ElevationHeatmapMaterial {
|
|
4279
4327
|
static __wrap(ptr) {
|
|
4280
|
-
ptr = ptr >>> 0;
|
|
4281
4328
|
const obj = Object.create(ElevationHeatmapMaterial.prototype);
|
|
4282
4329
|
obj.__wbg_ptr = ptr;
|
|
4283
4330
|
ElevationHeatmapMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4387,7 +4434,7 @@ export class EllipsoidGeodesic {
|
|
|
4387
4434
|
_assertClass(end, LLE);
|
|
4388
4435
|
var ptr1 = end.__destroy_into_raw();
|
|
4389
4436
|
const ret = wasm.ellipsoidgeodesic_new(ptr0, ptr1);
|
|
4390
|
-
this.__wbg_ptr = ret
|
|
4437
|
+
this.__wbg_ptr = ret;
|
|
4391
4438
|
EllipsoidGeodesicFinalization.register(this, this.__wbg_ptr, this);
|
|
4392
4439
|
return this;
|
|
4393
4440
|
}
|
|
@@ -4484,7 +4531,7 @@ export class EncodedVec3 {
|
|
|
4484
4531
|
_assertClass(low, Vec3);
|
|
4485
4532
|
var ptr1 = low.__destroy_into_raw();
|
|
4486
4533
|
const ret = wasm.encodedvec3_new(ptr0, ptr1);
|
|
4487
|
-
this.__wbg_ptr = ret
|
|
4534
|
+
this.__wbg_ptr = ret;
|
|
4488
4535
|
EncodedVec3Finalization.register(this, this.__wbg_ptr, this);
|
|
4489
4536
|
return this;
|
|
4490
4537
|
}
|
|
@@ -4523,7 +4570,6 @@ if (Symbol.dispose) EncodedVec3.prototype[Symbol.dispose] = EncodedVec3.prototyp
|
|
|
4523
4570
|
|
|
4524
4571
|
export class EntityEvent {
|
|
4525
4572
|
static __wrap(ptr) {
|
|
4526
|
-
ptr = ptr >>> 0;
|
|
4527
4573
|
const obj = Object.create(EntityEvent.prototype);
|
|
4528
4574
|
obj.__wbg_ptr = ptr;
|
|
4529
4575
|
EntityEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4570,7 +4616,6 @@ if (Symbol.dispose) EntityEvent.prototype[Symbol.dispose] = EntityEvent.prototyp
|
|
|
4570
4616
|
|
|
4571
4617
|
export class Events {
|
|
4572
4618
|
static __wrap(ptr) {
|
|
4573
|
-
ptr = ptr >>> 0;
|
|
4574
4619
|
const obj = Object.create(Events.prototype);
|
|
4575
4620
|
obj.__wbg_ptr = ptr;
|
|
4576
4621
|
EventsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4749,7 +4794,6 @@ if (Symbol.dispose) Events.prototype[Symbol.dispose] = Events.prototype.free;
|
|
|
4749
4794
|
|
|
4750
4795
|
export class ExtentRadianF32 {
|
|
4751
4796
|
static __wrap(ptr) {
|
|
4752
|
-
ptr = ptr >>> 0;
|
|
4753
4797
|
const obj = Object.create(ExtentRadianF32.prototype);
|
|
4754
4798
|
obj.__wbg_ptr = ptr;
|
|
4755
4799
|
ExtentRadianF32Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4773,7 +4817,7 @@ export class ExtentRadianF32 {
|
|
|
4773
4817
|
*/
|
|
4774
4818
|
constructor(west, south, east, north) {
|
|
4775
4819
|
const ret = wasm.extentradianf32_new(west, south, east, north);
|
|
4776
|
-
this.__wbg_ptr = ret
|
|
4820
|
+
this.__wbg_ptr = ret;
|
|
4777
4821
|
ExtentRadianF32Finalization.register(this, this.__wbg_ptr, this);
|
|
4778
4822
|
return this;
|
|
4779
4823
|
}
|
|
@@ -4851,7 +4895,7 @@ export class FloatAttribute {
|
|
|
4851
4895
|
const ptr0 = passArrayF32ToWasm0(data, wasm.__wbindgen_malloc);
|
|
4852
4896
|
const len0 = WASM_VECTOR_LEN;
|
|
4853
4897
|
const ret = wasm.floatattribute_new(ptr0, len0, size);
|
|
4854
|
-
this.__wbg_ptr = ret
|
|
4898
|
+
this.__wbg_ptr = ret;
|
|
4855
4899
|
FloatAttributeFinalization.register(this, this.__wbg_ptr, this);
|
|
4856
4900
|
return this;
|
|
4857
4901
|
}
|
|
@@ -5192,7 +5236,7 @@ export class Geometry {
|
|
|
5192
5236
|
const ptr2 = passArrayF32ToWasm0(uvs, wasm.__wbindgen_malloc);
|
|
5193
5237
|
const len2 = WASM_VECTOR_LEN;
|
|
5194
5238
|
const ret = wasm.geometry_new(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
5195
|
-
this.__wbg_ptr = ret
|
|
5239
|
+
this.__wbg_ptr = ret;
|
|
5196
5240
|
GeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
5197
5241
|
return this;
|
|
5198
5242
|
}
|
|
@@ -5263,7 +5307,6 @@ if (Symbol.dispose) Geometry.prototype[Symbol.dispose] = Geometry.prototype.free
|
|
|
5263
5307
|
*/
|
|
5264
5308
|
export class Globe {
|
|
5265
5309
|
static __wrap(ptr) {
|
|
5266
|
-
ptr = ptr >>> 0;
|
|
5267
5310
|
const obj = Object.create(Globe.prototype);
|
|
5268
5311
|
obj.__wbg_ptr = ptr;
|
|
5269
5312
|
GlobeFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -5306,6 +5349,18 @@ export class Globe {
|
|
|
5306
5349
|
const ret = wasm.__wbg_get_globe_hideUnderground(this.__wbg_ptr);
|
|
5307
5350
|
return ret !== 0;
|
|
5308
5351
|
}
|
|
5352
|
+
/**
|
|
5353
|
+
* Whether the globe tiles with the Geographic scheme (quantized-mesh
|
|
5354
|
+
* terrain) rather than the default WebMercator. Engine-set output — the
|
|
5355
|
+
* web renderer selects its raster drape pipeline (baked vs direct) from
|
|
5356
|
+
* it at tile-mesh creation; ignored on input (the scheme is dictated by
|
|
5357
|
+
* the terrain source, not configurable).
|
|
5358
|
+
* @returns {boolean}
|
|
5359
|
+
*/
|
|
5360
|
+
get isGeographicTiling() {
|
|
5361
|
+
const ret = wasm.__wbg_get_globe_isGeographicTiling(this.__wbg_ptr);
|
|
5362
|
+
return ret !== 0;
|
|
5363
|
+
}
|
|
5309
5364
|
/**
|
|
5310
5365
|
* Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
|
|
5311
5366
|
* @returns {number}
|
|
@@ -5370,7 +5425,7 @@ export class Globe {
|
|
|
5370
5425
|
const ptr0 = passArrayF32ToWasm0(elevation_colormap, wasm.__wbindgen_malloc);
|
|
5371
5426
|
const len0 = WASM_VECTOR_LEN;
|
|
5372
5427
|
const ret = wasm.globe_new(max_sse, segments, color, hide_underground, use_normal, transparent, opacity, wireframe, ptr0, len0);
|
|
5373
|
-
this.__wbg_ptr = ret
|
|
5428
|
+
this.__wbg_ptr = ret;
|
|
5374
5429
|
GlobeFinalization.register(this, this.__wbg_ptr, this);
|
|
5375
5430
|
return this;
|
|
5376
5431
|
}
|
|
@@ -5398,6 +5453,17 @@ export class Globe {
|
|
|
5398
5453
|
set hideUnderground(arg0) {
|
|
5399
5454
|
wasm.__wbg_set_globe_hideUnderground(this.__wbg_ptr, arg0);
|
|
5400
5455
|
}
|
|
5456
|
+
/**
|
|
5457
|
+
* Whether the globe tiles with the Geographic scheme (quantized-mesh
|
|
5458
|
+
* terrain) rather than the default WebMercator. Engine-set output — the
|
|
5459
|
+
* web renderer selects its raster drape pipeline (baked vs direct) from
|
|
5460
|
+
* it at tile-mesh creation; ignored on input (the scheme is dictated by
|
|
5461
|
+
* the terrain source, not configurable).
|
|
5462
|
+
* @param {boolean} arg0
|
|
5463
|
+
*/
|
|
5464
|
+
set isGeographicTiling(arg0) {
|
|
5465
|
+
wasm.__wbg_set_globe_isGeographicTiling(this.__wbg_ptr, arg0);
|
|
5466
|
+
}
|
|
5401
5467
|
/**
|
|
5402
5468
|
* Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
|
|
5403
5469
|
* @param {number} arg0
|
|
@@ -5446,7 +5512,6 @@ if (Symbol.dispose) Globe.prototype[Symbol.dispose] = Globe.prototype.free;
|
|
|
5446
5512
|
|
|
5447
5513
|
export class HillshadeBackfilledEvent {
|
|
5448
5514
|
static __wrap(ptr) {
|
|
5449
|
-
ptr = ptr >>> 0;
|
|
5450
5515
|
const obj = Object.create(HillshadeBackfilledEvent.prototype);
|
|
5451
5516
|
obj.__wbg_ptr = ptr;
|
|
5452
5517
|
HillshadeBackfilledEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -5467,7 +5532,7 @@ export class HillshadeBackfilledEvent {
|
|
|
5467
5532
|
*/
|
|
5468
5533
|
get edge_data_handle() {
|
|
5469
5534
|
const ret = wasm.__wbg_get_hillshadebackfilledevent_edge_data_handle(this.__wbg_ptr);
|
|
5470
|
-
return ret ===
|
|
5535
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5471
5536
|
}
|
|
5472
5537
|
/**
|
|
5473
5538
|
* @returns {number}
|
|
@@ -5495,21 +5560,21 @@ export class HillshadeBackfilledEvent {
|
|
|
5495
5560
|
*/
|
|
5496
5561
|
get original_handle() {
|
|
5497
5562
|
const ret = wasm.__wbg_get_hillshadebackfilledevent_original_handle(this.__wbg_ptr);
|
|
5498
|
-
return ret ===
|
|
5563
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5499
5564
|
}
|
|
5500
5565
|
/**
|
|
5501
5566
|
* @returns {number | undefined}
|
|
5502
5567
|
*/
|
|
5503
5568
|
get target_entity_gen() {
|
|
5504
5569
|
const ret = wasm.__wbg_get_hillshadebackfilledevent_target_entity_gen(this.__wbg_ptr);
|
|
5505
|
-
return ret ===
|
|
5570
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5506
5571
|
}
|
|
5507
5572
|
/**
|
|
5508
5573
|
* @returns {number | undefined}
|
|
5509
5574
|
*/
|
|
5510
5575
|
get target_entity_ind() {
|
|
5511
5576
|
const ret = wasm.__wbg_get_hillshadebackfilledevent_target_entity_ind(this.__wbg_ptr);
|
|
5512
|
-
return ret ===
|
|
5577
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5513
5578
|
}
|
|
5514
5579
|
/**
|
|
5515
5580
|
* @returns {bigint}
|
|
@@ -5551,7 +5616,6 @@ if (Symbol.dispose) HillshadeBackfilledEvent.prototype[Symbol.dispose] = Hillsha
|
|
|
5551
5616
|
*/
|
|
5552
5617
|
export class HillshadeMaterial {
|
|
5553
5618
|
static __wrap(ptr) {
|
|
5554
|
-
ptr = ptr >>> 0;
|
|
5555
5619
|
const obj = Object.create(HillshadeMaterial.prototype);
|
|
5556
5620
|
obj.__wbg_ptr = ptr;
|
|
5557
5621
|
HillshadeMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -5573,21 +5637,20 @@ export class HillshadeMaterial {
|
|
|
5573
5637
|
*/
|
|
5574
5638
|
get exaggeration() {
|
|
5575
5639
|
const ret = wasm.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);
|
|
5576
|
-
return ret ===
|
|
5640
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5577
5641
|
}
|
|
5578
5642
|
/**
|
|
5579
5643
|
* Exaggeration factor for hillshade effect (default: 1.0)
|
|
5580
5644
|
* @param {number | null} [arg0]
|
|
5581
5645
|
*/
|
|
5582
5646
|
set exaggeration(arg0) {
|
|
5583
|
-
wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5647
|
+
wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
5584
5648
|
}
|
|
5585
5649
|
}
|
|
5586
5650
|
if (Symbol.dispose) HillshadeMaterial.prototype[Symbol.dispose] = HillshadeMaterial.prototype.free;
|
|
5587
5651
|
|
|
5588
5652
|
export class LLE {
|
|
5589
5653
|
static __wrap(ptr) {
|
|
5590
|
-
ptr = ptr >>> 0;
|
|
5591
5654
|
const obj = Object.create(LLE.prototype);
|
|
5592
5655
|
obj.__wbg_ptr = ptr;
|
|
5593
5656
|
LLEFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -5631,7 +5694,7 @@ export class LLE {
|
|
|
5631
5694
|
*/
|
|
5632
5695
|
constructor(lat, lng, height) {
|
|
5633
5696
|
const ret = wasm.lle_new(lat, lng, height);
|
|
5634
|
-
this.__wbg_ptr = ret
|
|
5697
|
+
this.__wbg_ptr = ret;
|
|
5635
5698
|
LLEFinalization.register(this, this.__wbg_ptr, this);
|
|
5636
5699
|
return this;
|
|
5637
5700
|
}
|
|
@@ -5756,7 +5819,6 @@ if (Symbol.dispose) LayerDescriptionUrl.prototype[Symbol.dispose] = LayerDescrip
|
|
|
5756
5819
|
|
|
5757
5820
|
export class LegacyElevationHeatmapMaterial {
|
|
5758
5821
|
static __wrap(ptr) {
|
|
5759
|
-
ptr = ptr >>> 0;
|
|
5760
5822
|
const obj = Object.create(LegacyElevationHeatmapMaterial.prototype);
|
|
5761
5823
|
obj.__wbg_ptr = ptr;
|
|
5762
5824
|
LegacyElevationHeatmapMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -5847,7 +5909,6 @@ if (Symbol.dispose) LegacyElevationHeatmapMaterial.prototype[Symbol.dispose] = L
|
|
|
5847
5909
|
|
|
5848
5910
|
export class LegacyEllipsoidTerrainMaterial {
|
|
5849
5911
|
static __wrap(ptr) {
|
|
5850
|
-
ptr = ptr >>> 0;
|
|
5851
5912
|
const obj = Object.create(LegacyEllipsoidTerrainMaterial.prototype);
|
|
5852
5913
|
obj.__wbg_ptr = ptr;
|
|
5853
5914
|
LegacyEllipsoidTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -5875,14 +5936,14 @@ export class LegacyEllipsoidTerrainMaterial {
|
|
|
5875
5936
|
*/
|
|
5876
5937
|
get maxZoom() {
|
|
5877
5938
|
const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr);
|
|
5878
|
-
return ret ===
|
|
5939
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5879
5940
|
}
|
|
5880
5941
|
/**
|
|
5881
5942
|
* @returns {number | undefined}
|
|
5882
5943
|
*/
|
|
5883
5944
|
get minZoom() {
|
|
5884
5945
|
const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr);
|
|
5885
|
-
return ret ===
|
|
5946
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5886
5947
|
}
|
|
5887
5948
|
/**
|
|
5888
5949
|
* @returns {boolean | undefined}
|
|
@@ -5908,13 +5969,13 @@ export class LegacyEllipsoidTerrainMaterial {
|
|
|
5908
5969
|
* @param {number | null} [arg0]
|
|
5909
5970
|
*/
|
|
5910
5971
|
set maxZoom(arg0) {
|
|
5911
|
-
wasm.__wbg_set_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5972
|
+
wasm.__wbg_set_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
5912
5973
|
}
|
|
5913
5974
|
/**
|
|
5914
5975
|
* @param {number | null} [arg0]
|
|
5915
5976
|
*/
|
|
5916
5977
|
set minZoom(arg0) {
|
|
5917
|
-
wasm.__wbg_set_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5978
|
+
wasm.__wbg_set_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
5918
5979
|
}
|
|
5919
5980
|
/**
|
|
5920
5981
|
* @param {boolean | null} [arg0]
|
|
@@ -5933,7 +5994,6 @@ if (Symbol.dispose) LegacyEllipsoidTerrainMaterial.prototype[Symbol.dispose] = L
|
|
|
5933
5994
|
|
|
5934
5995
|
export class LegacyHillshadeMaterial {
|
|
5935
5996
|
static __wrap(ptr) {
|
|
5936
|
-
ptr = ptr >>> 0;
|
|
5937
5997
|
const obj = Object.create(LegacyHillshadeMaterial.prototype);
|
|
5938
5998
|
obj.__wbg_ptr = ptr;
|
|
5939
5999
|
LegacyHillshadeMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -5962,7 +6022,7 @@ export class LegacyHillshadeMaterial {
|
|
|
5962
6022
|
*/
|
|
5963
6023
|
get exaggeration() {
|
|
5964
6024
|
const ret = wasm.__wbg_get_legacyhillshadematerial_exaggeration(this.__wbg_ptr);
|
|
5965
|
-
return ret ===
|
|
6025
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5966
6026
|
}
|
|
5967
6027
|
/**
|
|
5968
6028
|
* @param {ElevationDecoder | null} [arg0]
|
|
@@ -5980,14 +6040,13 @@ export class LegacyHillshadeMaterial {
|
|
|
5980
6040
|
* @param {number | null} [arg0]
|
|
5981
6041
|
*/
|
|
5982
6042
|
set exaggeration(arg0) {
|
|
5983
|
-
wasm.__wbg_set_legacyhillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6043
|
+
wasm.__wbg_set_legacyhillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
5984
6044
|
}
|
|
5985
6045
|
}
|
|
5986
6046
|
if (Symbol.dispose) LegacyHillshadeMaterial.prototype[Symbol.dispose] = LegacyHillshadeMaterial.prototype.free;
|
|
5987
6047
|
|
|
5988
6048
|
export class LegacyQuantizedMeshTerrainMaterial {
|
|
5989
6049
|
static __wrap(ptr) {
|
|
5990
|
-
ptr = ptr >>> 0;
|
|
5991
6050
|
const obj = Object.create(LegacyQuantizedMeshTerrainMaterial.prototype);
|
|
5992
6051
|
obj.__wbg_ptr = ptr;
|
|
5993
6052
|
LegacyQuantizedMeshTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6022,21 +6081,21 @@ export class LegacyQuantizedMeshTerrainMaterial {
|
|
|
6022
6081
|
*/
|
|
6023
6082
|
get maxZoom() {
|
|
6024
6083
|
const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr);
|
|
6025
|
-
return ret ===
|
|
6084
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6026
6085
|
}
|
|
6027
6086
|
/**
|
|
6028
6087
|
* @returns {number | undefined}
|
|
6029
6088
|
*/
|
|
6030
6089
|
get minZoom() {
|
|
6031
6090
|
const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr);
|
|
6032
|
-
return ret ===
|
|
6091
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6033
6092
|
}
|
|
6034
6093
|
/**
|
|
6035
6094
|
* @returns {number | undefined}
|
|
6036
6095
|
*/
|
|
6037
6096
|
get overscaledMaxZoom() {
|
|
6038
6097
|
const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr);
|
|
6039
|
-
return ret ===
|
|
6098
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6040
6099
|
}
|
|
6041
6100
|
/**
|
|
6042
6101
|
* @returns {boolean | undefined}
|
|
@@ -6078,7 +6137,7 @@ export class LegacyQuantizedMeshTerrainMaterial {
|
|
|
6078
6137
|
*/
|
|
6079
6138
|
get skirtExaggeration() {
|
|
6080
6139
|
const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr);
|
|
6081
|
-
return ret ===
|
|
6140
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6082
6141
|
}
|
|
6083
6142
|
/**
|
|
6084
6143
|
* @returns {boolean | undefined}
|
|
@@ -6122,19 +6181,19 @@ export class LegacyQuantizedMeshTerrainMaterial {
|
|
|
6122
6181
|
* @param {number | null} [arg0]
|
|
6123
6182
|
*/
|
|
6124
6183
|
set maxZoom(arg0) {
|
|
6125
|
-
wasm.__wbg_set_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6184
|
+
wasm.__wbg_set_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6126
6185
|
}
|
|
6127
6186
|
/**
|
|
6128
6187
|
* @param {number | null} [arg0]
|
|
6129
6188
|
*/
|
|
6130
6189
|
set minZoom(arg0) {
|
|
6131
|
-
wasm.__wbg_set_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6190
|
+
wasm.__wbg_set_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6132
6191
|
}
|
|
6133
6192
|
/**
|
|
6134
6193
|
* @param {number | null} [arg0]
|
|
6135
6194
|
*/
|
|
6136
6195
|
set overscaledMaxZoom(arg0) {
|
|
6137
|
-
wasm.__wbg_set_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6196
|
+
wasm.__wbg_set_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6138
6197
|
}
|
|
6139
6198
|
/**
|
|
6140
6199
|
* @param {boolean | null} [arg0]
|
|
@@ -6170,7 +6229,7 @@ export class LegacyQuantizedMeshTerrainMaterial {
|
|
|
6170
6229
|
* @param {number | null} [arg0]
|
|
6171
6230
|
*/
|
|
6172
6231
|
set skirtExaggeration(arg0) {
|
|
6173
|
-
wasm.__wbg_set_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6232
|
+
wasm.__wbg_set_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6174
6233
|
}
|
|
6175
6234
|
/**
|
|
6176
6235
|
* @param {boolean | null} [arg0]
|
|
@@ -6197,7 +6256,6 @@ if (Symbol.dispose) LegacyQuantizedMeshTerrainMaterial.prototype[Symbol.dispose]
|
|
|
6197
6256
|
|
|
6198
6257
|
export class LegacyRasterTerrainMaterial {
|
|
6199
6258
|
static __wrap(ptr) {
|
|
6200
|
-
ptr = ptr >>> 0;
|
|
6201
6259
|
const obj = Object.create(LegacyRasterTerrainMaterial.prototype);
|
|
6202
6260
|
obj.__wbg_ptr = ptr;
|
|
6203
6261
|
LegacyRasterTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6232,21 +6290,21 @@ export class LegacyRasterTerrainMaterial {
|
|
|
6232
6290
|
*/
|
|
6233
6291
|
get maxZoom() {
|
|
6234
6292
|
const ret = wasm.__wbg_get_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr);
|
|
6235
|
-
return ret ===
|
|
6293
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6236
6294
|
}
|
|
6237
6295
|
/**
|
|
6238
6296
|
* @returns {number | undefined}
|
|
6239
6297
|
*/
|
|
6240
6298
|
get minZoom() {
|
|
6241
6299
|
const ret = wasm.__wbg_get_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr);
|
|
6242
|
-
return ret ===
|
|
6300
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6243
6301
|
}
|
|
6244
6302
|
/**
|
|
6245
6303
|
* @returns {number | undefined}
|
|
6246
6304
|
*/
|
|
6247
6305
|
get overscaledMaxZoom() {
|
|
6248
6306
|
const ret = wasm.__wbg_get_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr);
|
|
6249
|
-
return ret ===
|
|
6307
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6250
6308
|
}
|
|
6251
6309
|
/**
|
|
6252
6310
|
* @returns {boolean | undefined}
|
|
@@ -6274,7 +6332,7 @@ export class LegacyRasterTerrainMaterial {
|
|
|
6274
6332
|
*/
|
|
6275
6333
|
get skirtExaggeration() {
|
|
6276
6334
|
const ret = wasm.__wbg_get_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr);
|
|
6277
|
-
return ret ===
|
|
6335
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6278
6336
|
}
|
|
6279
6337
|
/**
|
|
6280
6338
|
* @returns {boolean | undefined}
|
|
@@ -6288,7 +6346,7 @@ export class LegacyRasterTerrainMaterial {
|
|
|
6288
6346
|
*/
|
|
6289
6347
|
get tileSize() {
|
|
6290
6348
|
const ret = wasm.__wbg_get_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr);
|
|
6291
|
-
return ret ===
|
|
6349
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6292
6350
|
}
|
|
6293
6351
|
/**
|
|
6294
6352
|
* @param {boolean | null} [arg0]
|
|
@@ -6311,19 +6369,19 @@ export class LegacyRasterTerrainMaterial {
|
|
|
6311
6369
|
* @param {number | null} [arg0]
|
|
6312
6370
|
*/
|
|
6313
6371
|
set maxZoom(arg0) {
|
|
6314
|
-
wasm.__wbg_set_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6372
|
+
wasm.__wbg_set_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6315
6373
|
}
|
|
6316
6374
|
/**
|
|
6317
6375
|
* @param {number | null} [arg0]
|
|
6318
6376
|
*/
|
|
6319
6377
|
set minZoom(arg0) {
|
|
6320
|
-
wasm.__wbg_set_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6378
|
+
wasm.__wbg_set_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6321
6379
|
}
|
|
6322
6380
|
/**
|
|
6323
6381
|
* @param {number | null} [arg0]
|
|
6324
6382
|
*/
|
|
6325
6383
|
set overscaledMaxZoom(arg0) {
|
|
6326
|
-
wasm.__wbg_set_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6384
|
+
wasm.__wbg_set_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6327
6385
|
}
|
|
6328
6386
|
/**
|
|
6329
6387
|
* @param {boolean | null} [arg0]
|
|
@@ -6347,7 +6405,7 @@ export class LegacyRasterTerrainMaterial {
|
|
|
6347
6405
|
* @param {number | null} [arg0]
|
|
6348
6406
|
*/
|
|
6349
6407
|
set skirtExaggeration(arg0) {
|
|
6350
|
-
wasm.__wbg_set_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6408
|
+
wasm.__wbg_set_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6351
6409
|
}
|
|
6352
6410
|
/**
|
|
6353
6411
|
* @param {boolean | null} [arg0]
|
|
@@ -6359,14 +6417,13 @@ export class LegacyRasterTerrainMaterial {
|
|
|
6359
6417
|
* @param {number | null} [arg0]
|
|
6360
6418
|
*/
|
|
6361
6419
|
set tileSize(arg0) {
|
|
6362
|
-
wasm.__wbg_set_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6420
|
+
wasm.__wbg_set_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6363
6421
|
}
|
|
6364
6422
|
}
|
|
6365
6423
|
if (Symbol.dispose) LegacyRasterTerrainMaterial.prototype[Symbol.dispose] = LegacyRasterTerrainMaterial.prototype.free;
|
|
6366
6424
|
|
|
6367
6425
|
export class LegacyRasterTileMaterial {
|
|
6368
6426
|
static __wrap(ptr) {
|
|
6369
|
-
ptr = ptr >>> 0;
|
|
6370
6427
|
const obj = Object.create(LegacyRasterTileMaterial.prototype);
|
|
6371
6428
|
obj.__wbg_ptr = ptr;
|
|
6372
6429
|
LegacyRasterTileMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6387,35 +6444,35 @@ export class LegacyRasterTileMaterial {
|
|
|
6387
6444
|
*/
|
|
6388
6445
|
get color() {
|
|
6389
6446
|
const ret = wasm.__wbg_get_legacyrastertilematerial_color(this.__wbg_ptr);
|
|
6390
|
-
return ret ===
|
|
6447
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6391
6448
|
}
|
|
6392
6449
|
/**
|
|
6393
6450
|
* @returns {number | undefined}
|
|
6394
6451
|
*/
|
|
6395
6452
|
get maxZoom() {
|
|
6396
6453
|
const ret = wasm.__wbg_get_legacyrastertilematerial_maxZoom(this.__wbg_ptr);
|
|
6397
|
-
return ret ===
|
|
6454
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6398
6455
|
}
|
|
6399
6456
|
/**
|
|
6400
6457
|
* @returns {number | undefined}
|
|
6401
6458
|
*/
|
|
6402
6459
|
get minZoom() {
|
|
6403
6460
|
const ret = wasm.__wbg_get_legacyrastertilematerial_minZoom(this.__wbg_ptr);
|
|
6404
|
-
return ret ===
|
|
6461
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6405
6462
|
}
|
|
6406
6463
|
/**
|
|
6407
6464
|
* @returns {number | undefined}
|
|
6408
6465
|
*/
|
|
6409
6466
|
get opacity() {
|
|
6410
6467
|
const ret = wasm.__wbg_get_legacyrastertilematerial_opacity(this.__wbg_ptr);
|
|
6411
|
-
return ret ===
|
|
6468
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6412
6469
|
}
|
|
6413
6470
|
/**
|
|
6414
6471
|
* @returns {number | undefined}
|
|
6415
6472
|
*/
|
|
6416
6473
|
get overscaledMaxZoom() {
|
|
6417
6474
|
const ret = wasm.__wbg_get_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr);
|
|
6418
|
-
return ret ===
|
|
6475
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6419
6476
|
}
|
|
6420
6477
|
/**
|
|
6421
6478
|
* @returns {boolean | undefined}
|
|
@@ -6442,31 +6499,31 @@ export class LegacyRasterTileMaterial {
|
|
|
6442
6499
|
* @param {number | null} [arg0]
|
|
6443
6500
|
*/
|
|
6444
6501
|
set color(arg0) {
|
|
6445
|
-
wasm.__wbg_set_legacyrastertilematerial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6502
|
+
wasm.__wbg_set_legacyrastertilematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6446
6503
|
}
|
|
6447
6504
|
/**
|
|
6448
6505
|
* @param {number | null} [arg0]
|
|
6449
6506
|
*/
|
|
6450
6507
|
set maxZoom(arg0) {
|
|
6451
|
-
wasm.__wbg_set_legacyrastertilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6508
|
+
wasm.__wbg_set_legacyrastertilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6452
6509
|
}
|
|
6453
6510
|
/**
|
|
6454
6511
|
* @param {number | null} [arg0]
|
|
6455
6512
|
*/
|
|
6456
6513
|
set minZoom(arg0) {
|
|
6457
|
-
wasm.__wbg_set_legacyrastertilematerial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6514
|
+
wasm.__wbg_set_legacyrastertilematerial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6458
6515
|
}
|
|
6459
6516
|
/**
|
|
6460
6517
|
* @param {number | null} [arg0]
|
|
6461
6518
|
*/
|
|
6462
6519
|
set opacity(arg0) {
|
|
6463
|
-
wasm.__wbg_set_legacyrastertilematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6520
|
+
wasm.__wbg_set_legacyrastertilematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6464
6521
|
}
|
|
6465
6522
|
/**
|
|
6466
6523
|
* @param {number | null} [arg0]
|
|
6467
6524
|
*/
|
|
6468
6525
|
set overscaledMaxZoom(arg0) {
|
|
6469
|
-
wasm.__wbg_set_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6526
|
+
wasm.__wbg_set_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6470
6527
|
}
|
|
6471
6528
|
/**
|
|
6472
6529
|
* @param {boolean | null} [arg0]
|
|
@@ -6491,7 +6548,6 @@ if (Symbol.dispose) LegacyRasterTileMaterial.prototype[Symbol.dispose] = LegacyR
|
|
|
6491
6548
|
|
|
6492
6549
|
export class LegacyVectorTileMaterial {
|
|
6493
6550
|
static __wrap(ptr) {
|
|
6494
|
-
ptr = ptr >>> 0;
|
|
6495
6551
|
const obj = Object.create(LegacyVectorTileMaterial.prototype);
|
|
6496
6552
|
obj.__wbg_ptr = ptr;
|
|
6497
6553
|
LegacyVectorTileMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6533,21 +6589,21 @@ export class LegacyVectorTileMaterial {
|
|
|
6533
6589
|
*/
|
|
6534
6590
|
get maxSse() {
|
|
6535
6591
|
const ret = wasm.__wbg_get_legacyvectortilematerial_maxSse(this.__wbg_ptr);
|
|
6536
|
-
return ret ===
|
|
6592
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6537
6593
|
}
|
|
6538
6594
|
/**
|
|
6539
6595
|
* @returns {number | undefined}
|
|
6540
6596
|
*/
|
|
6541
6597
|
get maxZoom() {
|
|
6542
6598
|
const ret = wasm.__wbg_get_legacyvectortilematerial_maxZoom(this.__wbg_ptr);
|
|
6543
|
-
return ret ===
|
|
6599
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6544
6600
|
}
|
|
6545
6601
|
/**
|
|
6546
6602
|
* @returns {number | undefined}
|
|
6547
6603
|
*/
|
|
6548
6604
|
get overscaledMaxZoom() {
|
|
6549
6605
|
const ret = wasm.__wbg_get_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr);
|
|
6550
|
-
return ret ===
|
|
6606
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6551
6607
|
}
|
|
6552
6608
|
/**
|
|
6553
6609
|
* @returns {boolean | undefined}
|
|
@@ -6583,19 +6639,19 @@ export class LegacyVectorTileMaterial {
|
|
|
6583
6639
|
* @param {number | null} [arg0]
|
|
6584
6640
|
*/
|
|
6585
6641
|
set maxSse(arg0) {
|
|
6586
|
-
wasm.__wbg_set_legacyvectortilematerial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6642
|
+
wasm.__wbg_set_legacyvectortilematerial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6587
6643
|
}
|
|
6588
6644
|
/**
|
|
6589
6645
|
* @param {number | null} [arg0]
|
|
6590
6646
|
*/
|
|
6591
6647
|
set maxZoom(arg0) {
|
|
6592
|
-
wasm.__wbg_set_legacyvectortilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6648
|
+
wasm.__wbg_set_legacyvectortilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6593
6649
|
}
|
|
6594
6650
|
/**
|
|
6595
6651
|
* @param {number | null} [arg0]
|
|
6596
6652
|
*/
|
|
6597
6653
|
set overscaledMaxZoom(arg0) {
|
|
6598
|
-
wasm.__wbg_set_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6654
|
+
wasm.__wbg_set_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6599
6655
|
}
|
|
6600
6656
|
/**
|
|
6601
6657
|
* @param {boolean | null} [arg0]
|
|
@@ -6618,7 +6674,6 @@ if (Symbol.dispose) LegacyVectorTileMaterial.prototype[Symbol.dispose] = LegacyV
|
|
|
6618
6674
|
*/
|
|
6619
6675
|
export class MemoryStats {
|
|
6620
6676
|
static __wrap(ptr) {
|
|
6621
|
-
ptr = ptr >>> 0;
|
|
6622
6677
|
const obj = Object.create(MemoryStats.prototype);
|
|
6623
6678
|
obj.__wbg_ptr = ptr;
|
|
6624
6679
|
MemoryStatsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6676,6 +6731,13 @@ export class MemoryStats {
|
|
|
6676
6731
|
const ret = wasm.__wbg_get_memorystats_externalCpuBytes(this.__wbg_ptr);
|
|
6677
6732
|
return ret;
|
|
6678
6733
|
}
|
|
6734
|
+
/**
|
|
6735
|
+
* @returns {number}
|
|
6736
|
+
*/
|
|
6737
|
+
get fixedGpuBytes() {
|
|
6738
|
+
const ret = wasm.__wbg_get_memorystats_fixedGpuBytes(this.__wbg_ptr);
|
|
6739
|
+
return ret;
|
|
6740
|
+
}
|
|
6679
6741
|
/**
|
|
6680
6742
|
* @returns {number}
|
|
6681
6743
|
*/
|
|
@@ -6730,7 +6792,6 @@ if (Symbol.dispose) MemoryStats.prototype[Symbol.dispose] = MemoryStats.prototyp
|
|
|
6730
6792
|
|
|
6731
6793
|
export class Mesh {
|
|
6732
6794
|
static __wrap(ptr) {
|
|
6733
|
-
ptr = ptr >>> 0;
|
|
6734
6795
|
const obj = Object.create(Mesh.prototype);
|
|
6735
6796
|
obj.__wbg_ptr = ptr;
|
|
6736
6797
|
MeshFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6773,7 +6834,7 @@ export class Mesh {
|
|
|
6773
6834
|
*/
|
|
6774
6835
|
get normals() {
|
|
6775
6836
|
const ret = wasm.__wbg_get_mesh_normals(this.__wbg_ptr);
|
|
6776
|
-
return ret ===
|
|
6837
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6777
6838
|
}
|
|
6778
6839
|
/**
|
|
6779
6840
|
* @returns {number}
|
|
@@ -6788,7 +6849,7 @@ export class Mesh {
|
|
|
6788
6849
|
*/
|
|
6789
6850
|
get skirt_indices() {
|
|
6790
6851
|
const ret = wasm.__wbg_get_mesh_skirt_indices(this.__wbg_ptr);
|
|
6791
|
-
return ret ===
|
|
6852
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6792
6853
|
}
|
|
6793
6854
|
/**
|
|
6794
6855
|
* Skirt per-vertex normals handle.
|
|
@@ -6796,7 +6857,7 @@ export class Mesh {
|
|
|
6796
6857
|
*/
|
|
6797
6858
|
get skirt_normals() {
|
|
6798
6859
|
const ret = wasm.__wbg_get_mesh_skirt_normals(this.__wbg_ptr);
|
|
6799
|
-
return ret ===
|
|
6860
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6800
6861
|
}
|
|
6801
6862
|
/**
|
|
6802
6863
|
* Skirt UVs handle.
|
|
@@ -6804,7 +6865,7 @@ export class Mesh {
|
|
|
6804
6865
|
*/
|
|
6805
6866
|
get skirt_uvs() {
|
|
6806
6867
|
const ret = wasm.__wbg_get_mesh_skirt_uvs(this.__wbg_ptr);
|
|
6807
|
-
return ret ===
|
|
6868
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6808
6869
|
}
|
|
6809
6870
|
/**
|
|
6810
6871
|
* Skirt vertices handle (separate from main geometry for shadow/normal handling).
|
|
@@ -6812,7 +6873,7 @@ export class Mesh {
|
|
|
6812
6873
|
*/
|
|
6813
6874
|
get skirt_vertices() {
|
|
6814
6875
|
const ret = wasm.__wbg_get_mesh_skirt_vertices(this.__wbg_ptr);
|
|
6815
|
-
return ret ===
|
|
6876
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6816
6877
|
}
|
|
6817
6878
|
/**
|
|
6818
6879
|
* @returns {number}
|
|
@@ -6834,7 +6895,7 @@ export class Mesh {
|
|
|
6834
6895
|
*/
|
|
6835
6896
|
get watermask() {
|
|
6836
6897
|
const ret = wasm.__wbg_get_mesh_watermask(this.__wbg_ptr);
|
|
6837
|
-
return ret ===
|
|
6898
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6838
6899
|
}
|
|
6839
6900
|
/**
|
|
6840
6901
|
* @param {Aabb} arg0
|
|
@@ -6861,7 +6922,7 @@ export class Mesh {
|
|
|
6861
6922
|
* @param {number | null} [arg0]
|
|
6862
6923
|
*/
|
|
6863
6924
|
set normals(arg0) {
|
|
6864
|
-
wasm.__wbg_set_mesh_normals(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6925
|
+
wasm.__wbg_set_mesh_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
6865
6926
|
}
|
|
6866
6927
|
/**
|
|
6867
6928
|
* @param {number} arg0
|
|
@@ -6874,28 +6935,28 @@ export class Mesh {
|
|
|
6874
6935
|
* @param {number | null} [arg0]
|
|
6875
6936
|
*/
|
|
6876
6937
|
set skirt_indices(arg0) {
|
|
6877
|
-
wasm.__wbg_set_mesh_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6938
|
+
wasm.__wbg_set_mesh_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
6878
6939
|
}
|
|
6879
6940
|
/**
|
|
6880
6941
|
* Skirt per-vertex normals handle.
|
|
6881
6942
|
* @param {number | null} [arg0]
|
|
6882
6943
|
*/
|
|
6883
6944
|
set skirt_normals(arg0) {
|
|
6884
|
-
wasm.__wbg_set_mesh_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6945
|
+
wasm.__wbg_set_mesh_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
6885
6946
|
}
|
|
6886
6947
|
/**
|
|
6887
6948
|
* Skirt UVs handle.
|
|
6888
6949
|
* @param {number | null} [arg0]
|
|
6889
6950
|
*/
|
|
6890
6951
|
set skirt_uvs(arg0) {
|
|
6891
|
-
wasm.__wbg_set_mesh_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6952
|
+
wasm.__wbg_set_mesh_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
6892
6953
|
}
|
|
6893
6954
|
/**
|
|
6894
6955
|
* Skirt vertices handle (separate from main geometry for shadow/normal handling).
|
|
6895
6956
|
* @param {number | null} [arg0]
|
|
6896
6957
|
*/
|
|
6897
6958
|
set skirt_vertices(arg0) {
|
|
6898
|
-
wasm.__wbg_set_mesh_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6959
|
+
wasm.__wbg_set_mesh_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
6899
6960
|
}
|
|
6900
6961
|
/**
|
|
6901
6962
|
* @param {number} arg0
|
|
@@ -6914,14 +6975,13 @@ export class Mesh {
|
|
|
6914
6975
|
* @param {number | null} [arg0]
|
|
6915
6976
|
*/
|
|
6916
6977
|
set watermask(arg0) {
|
|
6917
|
-
wasm.__wbg_set_mesh_watermask(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6978
|
+
wasm.__wbg_set_mesh_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
6918
6979
|
}
|
|
6919
6980
|
}
|
|
6920
6981
|
if (Symbol.dispose) Mesh.prototype[Symbol.dispose] = Mesh.prototype.free;
|
|
6921
6982
|
|
|
6922
6983
|
export class MeshAdded {
|
|
6923
6984
|
static __wrap(ptr) {
|
|
6924
|
-
ptr = ptr >>> 0;
|
|
6925
6985
|
const obj = Object.create(MeshAdded.prototype);
|
|
6926
6986
|
obj.__wbg_ptr = ptr;
|
|
6927
6987
|
MeshAddedFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7054,7 +7114,6 @@ if (Symbol.dispose) MeshAdded.prototype[Symbol.dispose] = MeshAdded.prototype.fr
|
|
|
7054
7114
|
|
|
7055
7115
|
export class MeshChanged {
|
|
7056
7116
|
static __wrap(ptr) {
|
|
7057
|
-
ptr = ptr >>> 0;
|
|
7058
7117
|
const obj = Object.create(MeshChanged.prototype);
|
|
7059
7118
|
obj.__wbg_ptr = ptr;
|
|
7060
7119
|
MeshChangedFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7159,7 +7218,6 @@ if (Symbol.dispose) MeshChanged.prototype[Symbol.dispose] = MeshChanged.prototyp
|
|
|
7159
7218
|
|
|
7160
7219
|
export class ModelInternalMaterial {
|
|
7161
7220
|
static __wrap(ptr) {
|
|
7162
|
-
ptr = ptr >>> 0;
|
|
7163
7221
|
const obj = Object.create(ModelInternalMaterial.prototype);
|
|
7164
7222
|
obj.__wbg_ptr = ptr;
|
|
7165
7223
|
ModelInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7221,7 +7279,6 @@ if (Symbol.dispose) ModelInternalMaterial.prototype[Symbol.dispose] = ModelInter
|
|
|
7221
7279
|
|
|
7222
7280
|
export class ModelMaterial {
|
|
7223
7281
|
static __wrap(ptr) {
|
|
7224
|
-
ptr = ptr >>> 0;
|
|
7225
7282
|
const obj = Object.create(ModelMaterial.prototype);
|
|
7226
7283
|
obj.__wbg_ptr = ptr;
|
|
7227
7284
|
ModelMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7261,7 +7318,7 @@ export class ModelMaterial {
|
|
|
7261
7318
|
*/
|
|
7262
7319
|
get animationSpeed() {
|
|
7263
7320
|
const ret = wasm.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);
|
|
7264
|
-
return ret ===
|
|
7321
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7265
7322
|
}
|
|
7266
7323
|
/**
|
|
7267
7324
|
* @returns {boolean | undefined}
|
|
@@ -7289,7 +7346,7 @@ export class ModelMaterial {
|
|
|
7289
7346
|
*/
|
|
7290
7347
|
get color() {
|
|
7291
7348
|
const ret = wasm.__wbg_get_modelmaterial_color(this.__wbg_ptr);
|
|
7292
|
-
return ret ===
|
|
7349
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7293
7350
|
}
|
|
7294
7351
|
/**
|
|
7295
7352
|
* Crease angle (in radians) used when `normals` is true. Defaults to 30°
|
|
@@ -7298,7 +7355,7 @@ export class ModelMaterial {
|
|
|
7298
7355
|
*/
|
|
7299
7356
|
get creaseNormalAngle() {
|
|
7300
7357
|
const ret = wasm.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);
|
|
7301
|
-
return ret ===
|
|
7358
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7302
7359
|
}
|
|
7303
7360
|
/**
|
|
7304
7361
|
* Enable writing to depth buffer
|
|
@@ -7327,7 +7384,7 @@ export class ModelMaterial {
|
|
|
7327
7384
|
*/
|
|
7328
7385
|
get emissiveColor() {
|
|
7329
7386
|
const ret = wasm.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);
|
|
7330
|
-
return ret ===
|
|
7387
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7331
7388
|
}
|
|
7332
7389
|
/**
|
|
7333
7390
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -7335,35 +7392,35 @@ export class ModelMaterial {
|
|
|
7335
7392
|
*/
|
|
7336
7393
|
get emissiveIntensity() {
|
|
7337
7394
|
const ret = wasm.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
7338
|
-
return ret ===
|
|
7395
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7339
7396
|
}
|
|
7340
7397
|
/**
|
|
7341
7398
|
* @returns {number | undefined}
|
|
7342
7399
|
*/
|
|
7343
7400
|
get height() {
|
|
7344
7401
|
const ret = wasm.__wbg_get_modelmaterial_height(this.__wbg_ptr);
|
|
7345
|
-
return ret ===
|
|
7402
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7346
7403
|
}
|
|
7347
7404
|
/**
|
|
7348
7405
|
* @returns {number | undefined}
|
|
7349
7406
|
*/
|
|
7350
7407
|
get ior() {
|
|
7351
7408
|
const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
|
|
7352
|
-
return ret ===
|
|
7409
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7353
7410
|
}
|
|
7354
7411
|
/**
|
|
7355
7412
|
* @returns {number | undefined}
|
|
7356
7413
|
*/
|
|
7357
7414
|
get maxSse() {
|
|
7358
7415
|
const ret = wasm.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);
|
|
7359
|
-
return ret ===
|
|
7416
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7360
7417
|
}
|
|
7361
7418
|
/**
|
|
7362
7419
|
* @returns {number | undefined}
|
|
7363
7420
|
*/
|
|
7364
7421
|
get metalness() {
|
|
7365
7422
|
const ret = wasm.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);
|
|
7366
|
-
return ret ===
|
|
7423
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7367
7424
|
}
|
|
7368
7425
|
/**
|
|
7369
7426
|
* When true, recompute vertex normals using a creased-normals algorithm
|
|
@@ -7381,14 +7438,14 @@ export class ModelMaterial {
|
|
|
7381
7438
|
*/
|
|
7382
7439
|
get opacity() {
|
|
7383
7440
|
const ret = wasm.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);
|
|
7384
|
-
return ret ===
|
|
7441
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7385
7442
|
}
|
|
7386
7443
|
/**
|
|
7387
7444
|
* @returns {number | undefined}
|
|
7388
7445
|
*/
|
|
7389
7446
|
get pointSize() {
|
|
7390
7447
|
const ret = wasm.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);
|
|
7391
|
-
return ret ===
|
|
7448
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7392
7449
|
}
|
|
7393
7450
|
/**
|
|
7394
7451
|
* @returns {boolean | undefined}
|
|
@@ -7403,7 +7460,7 @@ export class ModelMaterial {
|
|
|
7403
7460
|
*/
|
|
7404
7461
|
get reflectivity() {
|
|
7405
7462
|
const ret = wasm.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);
|
|
7406
|
-
return ret ===
|
|
7463
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7407
7464
|
}
|
|
7408
7465
|
/**
|
|
7409
7466
|
* Reflectivity for post-process.
|
|
@@ -7411,14 +7468,14 @@ export class ModelMaterial {
|
|
|
7411
7468
|
*/
|
|
7412
7469
|
get roughness() {
|
|
7413
7470
|
const ret = wasm.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);
|
|
7414
|
-
return ret ===
|
|
7471
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7415
7472
|
}
|
|
7416
7473
|
/**
|
|
7417
7474
|
* @returns {number | undefined}
|
|
7418
7475
|
*/
|
|
7419
7476
|
get shininess() {
|
|
7420
7477
|
const ret = wasm.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);
|
|
7421
|
-
return ret ===
|
|
7478
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7422
7479
|
}
|
|
7423
7480
|
/**
|
|
7424
7481
|
* @returns {boolean | undefined}
|
|
@@ -7446,14 +7503,14 @@ export class ModelMaterial {
|
|
|
7446
7503
|
*/
|
|
7447
7504
|
get size() {
|
|
7448
7505
|
const ret = wasm.__wbg_get_modelmaterial_size(this.__wbg_ptr);
|
|
7449
|
-
return ret ===
|
|
7506
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7450
7507
|
}
|
|
7451
7508
|
/**
|
|
7452
7509
|
* @returns {number | undefined}
|
|
7453
7510
|
*/
|
|
7454
7511
|
get specularStrength() {
|
|
7455
7512
|
const ret = wasm.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);
|
|
7456
|
-
return ret ===
|
|
7513
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7457
7514
|
}
|
|
7458
7515
|
/**
|
|
7459
7516
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -7489,7 +7546,7 @@ export class ModelMaterial {
|
|
|
7489
7546
|
*/
|
|
7490
7547
|
get waterScaleNormal() {
|
|
7491
7548
|
const ret = wasm.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);
|
|
7492
|
-
return ret ===
|
|
7549
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7493
7550
|
}
|
|
7494
7551
|
/**
|
|
7495
7552
|
* Water wave speed.
|
|
@@ -7497,7 +7554,7 @@ export class ModelMaterial {
|
|
|
7497
7554
|
*/
|
|
7498
7555
|
get waterSpeed() {
|
|
7499
7556
|
const ret = wasm.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);
|
|
7500
|
-
return ret ===
|
|
7557
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7501
7558
|
}
|
|
7502
7559
|
/**
|
|
7503
7560
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -7530,7 +7587,7 @@ export class ModelMaterial {
|
|
|
7530
7587
|
* @param {number | null} [arg0]
|
|
7531
7588
|
*/
|
|
7532
7589
|
set animationSpeed(arg0) {
|
|
7533
|
-
wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7590
|
+
wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7534
7591
|
}
|
|
7535
7592
|
/**
|
|
7536
7593
|
* @param {boolean | null} [arg0]
|
|
@@ -7554,7 +7611,7 @@ export class ModelMaterial {
|
|
|
7554
7611
|
* @param {number | null} [arg0]
|
|
7555
7612
|
*/
|
|
7556
7613
|
set color(arg0) {
|
|
7557
|
-
wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7614
|
+
wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
7558
7615
|
}
|
|
7559
7616
|
/**
|
|
7560
7617
|
* Crease angle (in radians) used when `normals` is true. Defaults to 30°
|
|
@@ -7562,7 +7619,7 @@ export class ModelMaterial {
|
|
|
7562
7619
|
* @param {number | null} [arg0]
|
|
7563
7620
|
*/
|
|
7564
7621
|
set creaseNormalAngle(arg0) {
|
|
7565
|
-
wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7622
|
+
wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7566
7623
|
}
|
|
7567
7624
|
/**
|
|
7568
7625
|
* Enable writing to depth buffer
|
|
@@ -7585,38 +7642,38 @@ export class ModelMaterial {
|
|
|
7585
7642
|
* @param {number | null} [arg0]
|
|
7586
7643
|
*/
|
|
7587
7644
|
set emissiveColor(arg0) {
|
|
7588
|
-
wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7645
|
+
wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
7589
7646
|
}
|
|
7590
7647
|
/**
|
|
7591
7648
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
7592
7649
|
* @param {number | null} [arg0]
|
|
7593
7650
|
*/
|
|
7594
7651
|
set emissiveIntensity(arg0) {
|
|
7595
|
-
wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7652
|
+
wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7596
7653
|
}
|
|
7597
7654
|
/**
|
|
7598
7655
|
* @param {number | null} [arg0]
|
|
7599
7656
|
*/
|
|
7600
7657
|
set height(arg0) {
|
|
7601
|
-
wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7658
|
+
wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7602
7659
|
}
|
|
7603
7660
|
/**
|
|
7604
7661
|
* @param {number | null} [arg0]
|
|
7605
7662
|
*/
|
|
7606
7663
|
set ior(arg0) {
|
|
7607
|
-
wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7664
|
+
wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7608
7665
|
}
|
|
7609
7666
|
/**
|
|
7610
7667
|
* @param {number | null} [arg0]
|
|
7611
7668
|
*/
|
|
7612
7669
|
set maxSse(arg0) {
|
|
7613
|
-
wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7670
|
+
wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7614
7671
|
}
|
|
7615
7672
|
/**
|
|
7616
7673
|
* @param {number | null} [arg0]
|
|
7617
7674
|
*/
|
|
7618
7675
|
set metalness(arg0) {
|
|
7619
|
-
wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7676
|
+
wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7620
7677
|
}
|
|
7621
7678
|
/**
|
|
7622
7679
|
* When true, recompute vertex normals using a creased-normals algorithm
|
|
@@ -7632,13 +7689,13 @@ export class ModelMaterial {
|
|
|
7632
7689
|
* @param {number | null} [arg0]
|
|
7633
7690
|
*/
|
|
7634
7691
|
set opacity(arg0) {
|
|
7635
|
-
wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7692
|
+
wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7636
7693
|
}
|
|
7637
7694
|
/**
|
|
7638
7695
|
* @param {number | null} [arg0]
|
|
7639
7696
|
*/
|
|
7640
7697
|
set pointSize(arg0) {
|
|
7641
|
-
wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7698
|
+
wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7642
7699
|
}
|
|
7643
7700
|
/**
|
|
7644
7701
|
* @param {boolean | null} [arg0]
|
|
@@ -7651,20 +7708,20 @@ export class ModelMaterial {
|
|
|
7651
7708
|
* @param {number | null} [arg0]
|
|
7652
7709
|
*/
|
|
7653
7710
|
set reflectivity(arg0) {
|
|
7654
|
-
wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7711
|
+
wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7655
7712
|
}
|
|
7656
7713
|
/**
|
|
7657
7714
|
* Reflectivity for post-process.
|
|
7658
7715
|
* @param {number | null} [arg0]
|
|
7659
7716
|
*/
|
|
7660
7717
|
set roughness(arg0) {
|
|
7661
|
-
wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7718
|
+
wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7662
7719
|
}
|
|
7663
7720
|
/**
|
|
7664
7721
|
* @param {number | null} [arg0]
|
|
7665
7722
|
*/
|
|
7666
7723
|
set shininess(arg0) {
|
|
7667
|
-
wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7724
|
+
wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7668
7725
|
}
|
|
7669
7726
|
/**
|
|
7670
7727
|
* @param {boolean | null} [arg0]
|
|
@@ -7688,13 +7745,13 @@ export class ModelMaterial {
|
|
|
7688
7745
|
* @param {number | null} [arg0]
|
|
7689
7746
|
*/
|
|
7690
7747
|
set size(arg0) {
|
|
7691
|
-
wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7748
|
+
wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7692
7749
|
}
|
|
7693
7750
|
/**
|
|
7694
7751
|
* @param {number | null} [arg0]
|
|
7695
7752
|
*/
|
|
7696
7753
|
set specularStrength(arg0) {
|
|
7697
|
-
wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7754
|
+
wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7698
7755
|
}
|
|
7699
7756
|
/**
|
|
7700
7757
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -7723,14 +7780,14 @@ export class ModelMaterial {
|
|
|
7723
7780
|
* @param {number | null} [arg0]
|
|
7724
7781
|
*/
|
|
7725
7782
|
set waterScaleNormal(arg0) {
|
|
7726
|
-
wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7783
|
+
wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7727
7784
|
}
|
|
7728
7785
|
/**
|
|
7729
7786
|
* Water wave speed.
|
|
7730
7787
|
* @param {number | null} [arg0]
|
|
7731
7788
|
*/
|
|
7732
7789
|
set waterSpeed(arg0) {
|
|
7733
|
-
wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7790
|
+
wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7734
7791
|
}
|
|
7735
7792
|
/**
|
|
7736
7793
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -7744,7 +7801,6 @@ if (Symbol.dispose) ModelMaterial.prototype[Symbol.dispose] = ModelMaterial.prot
|
|
|
7744
7801
|
|
|
7745
7802
|
export class ModelMesh {
|
|
7746
7803
|
static __wrap(ptr) {
|
|
7747
|
-
ptr = ptr >>> 0;
|
|
7748
7804
|
const obj = Object.create(ModelMesh.prototype);
|
|
7749
7805
|
obj.__wbg_ptr = ptr;
|
|
7750
7806
|
ModelMeshFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7786,7 +7842,7 @@ export class ModelMesh {
|
|
|
7786
7842
|
*/
|
|
7787
7843
|
get bin() {
|
|
7788
7844
|
const ret = wasm.__wbg_get_modelmesh_bin(this.__wbg_ptr);
|
|
7789
|
-
return ret ===
|
|
7845
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7790
7846
|
}
|
|
7791
7847
|
/**
|
|
7792
7848
|
* @returns {TransferableModelGeometry}
|
|
@@ -7833,7 +7889,7 @@ export class ModelMesh {
|
|
|
7833
7889
|
* @param {number | null} [arg0]
|
|
7834
7890
|
*/
|
|
7835
7891
|
set bin(arg0) {
|
|
7836
|
-
wasm.__wbg_set_modelmesh_bin(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
7892
|
+
wasm.__wbg_set_modelmesh_bin(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
7837
7893
|
}
|
|
7838
7894
|
/**
|
|
7839
7895
|
* @param {TransferableModelGeometry} arg0
|
|
@@ -8079,7 +8135,6 @@ if (Symbol.dispose) NearFar.prototype[Symbol.dispose] = NearFar.prototype.free;
|
|
|
8079
8135
|
|
|
8080
8136
|
export class ObjectTransformEvent {
|
|
8081
8137
|
static __wrap(ptr) {
|
|
8082
|
-
ptr = ptr >>> 0;
|
|
8083
8138
|
const obj = Object.create(ObjectTransformEvent.prototype);
|
|
8084
8139
|
obj.__wbg_ptr = ptr;
|
|
8085
8140
|
ObjectTransformEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -8141,7 +8196,6 @@ if (Symbol.dispose) ObjectTransformEvent.prototype[Symbol.dispose] = ObjectTrans
|
|
|
8141
8196
|
|
|
8142
8197
|
export class OrthoCamTransform {
|
|
8143
8198
|
static __wrap(ptr) {
|
|
8144
|
-
ptr = ptr >>> 0;
|
|
8145
8199
|
const obj = Object.create(OrthoCamTransform.prototype);
|
|
8146
8200
|
obj.__wbg_ptr = ptr;
|
|
8147
8201
|
OrthoCamTransformFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -8193,7 +8247,7 @@ export class OrthoCamTransform {
|
|
|
8193
8247
|
*/
|
|
8194
8248
|
constructor(left, right, top, bottom) {
|
|
8195
8249
|
const ret = wasm.orthocamtransform_new(left, right, top, bottom);
|
|
8196
|
-
this.__wbg_ptr = ret
|
|
8250
|
+
this.__wbg_ptr = ret;
|
|
8197
8251
|
OrthoCamTransformFinalization.register(this, this.__wbg_ptr, this);
|
|
8198
8252
|
return this;
|
|
8199
8253
|
}
|
|
@@ -8226,7 +8280,6 @@ if (Symbol.dispose) OrthoCamTransform.prototype[Symbol.dispose] = OrthoCamTransf
|
|
|
8226
8280
|
|
|
8227
8281
|
export class OverscaledTileHandle {
|
|
8228
8282
|
static __wrap(ptr) {
|
|
8229
|
-
ptr = ptr >>> 0;
|
|
8230
8283
|
const obj = Object.create(OverscaledTileHandle.prototype);
|
|
8231
8284
|
obj.__wbg_ptr = ptr;
|
|
8232
8285
|
OverscaledTileHandleFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -8267,7 +8320,6 @@ if (Symbol.dispose) OverscaledTileHandle.prototype[Symbol.dispose] = OverscaledT
|
|
|
8267
8320
|
*/
|
|
8268
8321
|
export class ParseMvtTileParameters {
|
|
8269
8322
|
static __wrap(ptr) {
|
|
8270
|
-
ptr = ptr >>> 0;
|
|
8271
8323
|
const obj = Object.create(ParseMvtTileParameters.prototype);
|
|
8272
8324
|
obj.__wbg_ptr = ptr;
|
|
8273
8325
|
ParseMvtTileParametersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -8403,7 +8455,6 @@ if (Symbol.dispose) ParseMvtTileParameters.prototype[Symbol.dispose] = ParseMvtT
|
|
|
8403
8455
|
*/
|
|
8404
8456
|
export class ParseMvtTileResult {
|
|
8405
8457
|
static __wrap(ptr) {
|
|
8406
|
-
ptr = ptr >>> 0;
|
|
8407
8458
|
const obj = Object.create(ParseMvtTileResult.prototype);
|
|
8408
8459
|
obj.__wbg_ptr = ptr;
|
|
8409
8460
|
ParseMvtTileResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -8447,7 +8498,7 @@ export class ParseMvtTileResult {
|
|
|
8447
8498
|
if (ret[2]) {
|
|
8448
8499
|
throw takeFromExternrefTable0(ret[1]);
|
|
8449
8500
|
}
|
|
8450
|
-
this.__wbg_ptr = ret[0]
|
|
8501
|
+
this.__wbg_ptr = ret[0];
|
|
8451
8502
|
ParseMvtTileResultFinalization.register(this, this.__wbg_ptr, this);
|
|
8452
8503
|
return this;
|
|
8453
8504
|
}
|
|
@@ -8583,7 +8634,6 @@ if (Symbol.dispose) PntsLayerDescription.prototype[Symbol.dispose] = PntsLayerDe
|
|
|
8583
8634
|
|
|
8584
8635
|
export class PointMaterial {
|
|
8585
8636
|
static __wrap(ptr) {
|
|
8586
|
-
ptr = ptr >>> 0;
|
|
8587
8637
|
const obj = Object.create(PointMaterial.prototype);
|
|
8588
8638
|
obj.__wbg_ptr = ptr;
|
|
8589
8639
|
PointMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -8620,7 +8670,26 @@ export class PointMaterial {
|
|
|
8620
8670
|
*/
|
|
8621
8671
|
get color() {
|
|
8622
8672
|
const ret = wasm.__wbg_get_pointmaterial_color(this.__wbg_ptr);
|
|
8623
|
-
return ret ===
|
|
8673
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
8674
|
+
}
|
|
8675
|
+
/**
|
|
8676
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
8677
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
8678
|
+
* @returns {number | undefined}
|
|
8679
|
+
*/
|
|
8680
|
+
get declutterPriority() {
|
|
8681
|
+
const ret = wasm.__wbg_get_pointmaterial_declutterPriority(this.__wbg_ptr);
|
|
8682
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
8683
|
+
}
|
|
8684
|
+
/**
|
|
8685
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
8686
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
8687
|
+
* `false` to draw every label unconditionally.
|
|
8688
|
+
* @returns {boolean | undefined}
|
|
8689
|
+
*/
|
|
8690
|
+
get declutter() {
|
|
8691
|
+
const ret = wasm.__wbg_get_pointmaterial_declutter(this.__wbg_ptr);
|
|
8692
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
8624
8693
|
}
|
|
8625
8694
|
/**
|
|
8626
8695
|
* @returns {boolean | undefined}
|
|
@@ -8648,7 +8717,7 @@ export class PointMaterial {
|
|
|
8648
8717
|
*/
|
|
8649
8718
|
get emissiveColor() {
|
|
8650
8719
|
const ret = wasm.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);
|
|
8651
|
-
return ret ===
|
|
8720
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
8652
8721
|
}
|
|
8653
8722
|
/**
|
|
8654
8723
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -8656,14 +8725,14 @@ export class PointMaterial {
|
|
|
8656
8725
|
*/
|
|
8657
8726
|
get emissiveIntensity() {
|
|
8658
8727
|
const ret = wasm.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
8659
|
-
return ret ===
|
|
8728
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
8660
8729
|
}
|
|
8661
8730
|
/**
|
|
8662
8731
|
* @returns {number | undefined}
|
|
8663
8732
|
*/
|
|
8664
8733
|
get height() {
|
|
8665
8734
|
const ret = wasm.__wbg_get_pointmaterial_height(this.__wbg_ptr);
|
|
8666
|
-
return ret ===
|
|
8735
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
8667
8736
|
}
|
|
8668
8737
|
/**
|
|
8669
8738
|
* Avoid overlapping with the globe surface.
|
|
@@ -8678,7 +8747,7 @@ export class PointMaterial {
|
|
|
8678
8747
|
*/
|
|
8679
8748
|
get opacity() {
|
|
8680
8749
|
const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
|
|
8681
|
-
return ret ===
|
|
8750
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
8682
8751
|
}
|
|
8683
8752
|
/**
|
|
8684
8753
|
* @returns {boolean | undefined}
|
|
@@ -8701,7 +8770,7 @@ export class PointMaterial {
|
|
|
8701
8770
|
*/
|
|
8702
8771
|
get size() {
|
|
8703
8772
|
const ret = wasm.__wbg_get_pointmaterial_size(this.__wbg_ptr);
|
|
8704
|
-
return ret ===
|
|
8773
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
8705
8774
|
}
|
|
8706
8775
|
/**
|
|
8707
8776
|
* @returns {boolean | undefined}
|
|
@@ -8733,7 +8802,24 @@ export class PointMaterial {
|
|
|
8733
8802
|
* @param {number | null} [arg0]
|
|
8734
8803
|
*/
|
|
8735
8804
|
set color(arg0) {
|
|
8736
|
-
wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
8805
|
+
wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
8806
|
+
}
|
|
8807
|
+
/**
|
|
8808
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
8809
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
8810
|
+
* @param {number | null} [arg0]
|
|
8811
|
+
*/
|
|
8812
|
+
set declutterPriority(arg0) {
|
|
8813
|
+
wasm.__wbg_set_pointmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
8814
|
+
}
|
|
8815
|
+
/**
|
|
8816
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
8817
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
8818
|
+
* `false` to draw every label unconditionally.
|
|
8819
|
+
* @param {boolean | null} [arg0]
|
|
8820
|
+
*/
|
|
8821
|
+
set declutter(arg0) {
|
|
8822
|
+
wasm.__wbg_set_pointmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
8737
8823
|
}
|
|
8738
8824
|
/**
|
|
8739
8825
|
* @param {boolean | null} [arg0]
|
|
@@ -8755,20 +8841,20 @@ export class PointMaterial {
|
|
|
8755
8841
|
* @param {number | null} [arg0]
|
|
8756
8842
|
*/
|
|
8757
8843
|
set emissiveColor(arg0) {
|
|
8758
|
-
wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
8844
|
+
wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
8759
8845
|
}
|
|
8760
8846
|
/**
|
|
8761
8847
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
8762
8848
|
* @param {number | null} [arg0]
|
|
8763
8849
|
*/
|
|
8764
8850
|
set emissiveIntensity(arg0) {
|
|
8765
|
-
wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
8851
|
+
wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
8766
8852
|
}
|
|
8767
8853
|
/**
|
|
8768
8854
|
* @param {number | null} [arg0]
|
|
8769
8855
|
*/
|
|
8770
8856
|
set height(arg0) {
|
|
8771
|
-
wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
8857
|
+
wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
8772
8858
|
}
|
|
8773
8859
|
/**
|
|
8774
8860
|
* Avoid overlapping with the globe surface.
|
|
@@ -8781,7 +8867,7 @@ export class PointMaterial {
|
|
|
8781
8867
|
* @param {number | null} [arg0]
|
|
8782
8868
|
*/
|
|
8783
8869
|
set opacity(arg0) {
|
|
8784
|
-
wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
8870
|
+
wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
8785
8871
|
}
|
|
8786
8872
|
/**
|
|
8787
8873
|
* @param {boolean | null} [arg0]
|
|
@@ -8801,7 +8887,7 @@ export class PointMaterial {
|
|
|
8801
8887
|
* @param {number | null} [arg0]
|
|
8802
8888
|
*/
|
|
8803
8889
|
set size(arg0) {
|
|
8804
|
-
wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
8890
|
+
wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
8805
8891
|
}
|
|
8806
8892
|
/**
|
|
8807
8893
|
* @param {boolean | null} [arg0]
|
|
@@ -8814,7 +8900,6 @@ if (Symbol.dispose) PointMaterial.prototype[Symbol.dispose] = PointMaterial.prot
|
|
|
8814
8900
|
|
|
8815
8901
|
export class PointMesh {
|
|
8816
8902
|
static __wrap(ptr) {
|
|
8817
|
-
ptr = ptr >>> 0;
|
|
8818
8903
|
const obj = Object.create(PointMesh.prototype);
|
|
8819
8904
|
obj.__wbg_ptr = ptr;
|
|
8820
8905
|
PointMeshFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -9137,7 +9222,6 @@ if (Symbol.dispose) PolygonGeometryAttributes.prototype[Symbol.dispose] = Polygo
|
|
|
9137
9222
|
|
|
9138
9223
|
export class PolygonInternalMaterial {
|
|
9139
9224
|
static __wrap(ptr) {
|
|
9140
|
-
ptr = ptr >>> 0;
|
|
9141
9225
|
const obj = Object.create(PolygonInternalMaterial.prototype);
|
|
9142
9226
|
obj.__wbg_ptr = ptr;
|
|
9143
9227
|
PolygonInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -9175,7 +9259,6 @@ if (Symbol.dispose) PolygonInternalMaterial.prototype[Symbol.dispose] = PolygonI
|
|
|
9175
9259
|
|
|
9176
9260
|
export class PolygonMaterial {
|
|
9177
9261
|
static __wrap(ptr) {
|
|
9178
|
-
ptr = ptr >>> 0;
|
|
9179
9262
|
const obj = Object.create(PolygonMaterial.prototype);
|
|
9180
9263
|
obj.__wbg_ptr = ptr;
|
|
9181
9264
|
PolygonMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -9224,7 +9307,7 @@ export class PolygonMaterial {
|
|
|
9224
9307
|
*/
|
|
9225
9308
|
get color() {
|
|
9226
9309
|
const ret = wasm.__wbg_get_polygonmaterial_color(this.__wbg_ptr);
|
|
9227
|
-
return ret ===
|
|
9310
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9228
9311
|
}
|
|
9229
9312
|
/**
|
|
9230
9313
|
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
@@ -9245,7 +9328,7 @@ export class PolygonMaterial {
|
|
|
9245
9328
|
*/
|
|
9246
9329
|
get emissiveColor() {
|
|
9247
9330
|
const ret = wasm.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);
|
|
9248
|
-
return ret ===
|
|
9331
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9249
9332
|
}
|
|
9250
9333
|
/**
|
|
9251
9334
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -9253,28 +9336,28 @@ export class PolygonMaterial {
|
|
|
9253
9336
|
*/
|
|
9254
9337
|
get emissiveIntensity() {
|
|
9255
9338
|
const ret = wasm.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
9256
|
-
return ret ===
|
|
9339
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9257
9340
|
}
|
|
9258
9341
|
/**
|
|
9259
9342
|
* @returns {number | undefined}
|
|
9260
9343
|
*/
|
|
9261
9344
|
get extrudedHeight() {
|
|
9262
9345
|
const ret = wasm.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);
|
|
9263
|
-
return ret ===
|
|
9346
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9264
9347
|
}
|
|
9265
9348
|
/**
|
|
9266
9349
|
* @returns {number | undefined}
|
|
9267
9350
|
*/
|
|
9268
9351
|
get height() {
|
|
9269
9352
|
const ret = wasm.__wbg_get_polygonmaterial_height(this.__wbg_ptr);
|
|
9270
|
-
return ret ===
|
|
9353
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9271
9354
|
}
|
|
9272
9355
|
/**
|
|
9273
9356
|
* @returns {number | undefined}
|
|
9274
9357
|
*/
|
|
9275
9358
|
get ior() {
|
|
9276
9359
|
const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
|
|
9277
|
-
return ret ===
|
|
9360
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9278
9361
|
}
|
|
9279
9362
|
/**
|
|
9280
9363
|
* Need to enable `transparent`.
|
|
@@ -9282,7 +9365,7 @@ export class PolygonMaterial {
|
|
|
9282
9365
|
*/
|
|
9283
9366
|
get opacity() {
|
|
9284
9367
|
const ret = wasm.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);
|
|
9285
|
-
return ret ===
|
|
9368
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9286
9369
|
}
|
|
9287
9370
|
/**
|
|
9288
9371
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -9290,7 +9373,7 @@ export class PolygonMaterial {
|
|
|
9290
9373
|
*/
|
|
9291
9374
|
get outlineColor() {
|
|
9292
9375
|
const ret = wasm.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);
|
|
9293
|
-
return ret ===
|
|
9376
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9294
9377
|
}
|
|
9295
9378
|
/**
|
|
9296
9379
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -9306,7 +9389,7 @@ export class PolygonMaterial {
|
|
|
9306
9389
|
*/
|
|
9307
9390
|
get outlineWidth() {
|
|
9308
9391
|
const ret = wasm.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);
|
|
9309
|
-
return ret ===
|
|
9392
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9310
9393
|
}
|
|
9311
9394
|
/**
|
|
9312
9395
|
* Whether to compute outline geometry. Only effective at initial load time.
|
|
@@ -9338,7 +9421,7 @@ export class PolygonMaterial {
|
|
|
9338
9421
|
*/
|
|
9339
9422
|
get reflectivity() {
|
|
9340
9423
|
const ret = wasm.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);
|
|
9341
|
-
return ret ===
|
|
9424
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9342
9425
|
}
|
|
9343
9426
|
/**
|
|
9344
9427
|
* Reflectivity for post-process.
|
|
@@ -9346,14 +9429,14 @@ export class PolygonMaterial {
|
|
|
9346
9429
|
*/
|
|
9347
9430
|
get roughness() {
|
|
9348
9431
|
const ret = wasm.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);
|
|
9349
|
-
return ret ===
|
|
9432
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9350
9433
|
}
|
|
9351
9434
|
/**
|
|
9352
9435
|
* @returns {number | undefined}
|
|
9353
9436
|
*/
|
|
9354
9437
|
get shininess() {
|
|
9355
9438
|
const ret = wasm.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);
|
|
9356
|
-
return ret ===
|
|
9439
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9357
9440
|
}
|
|
9358
9441
|
/**
|
|
9359
9442
|
* @returns {boolean | undefined}
|
|
@@ -9367,7 +9450,7 @@ export class PolygonMaterial {
|
|
|
9367
9450
|
*/
|
|
9368
9451
|
get specularStrength() {
|
|
9369
9452
|
const ret = wasm.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);
|
|
9370
|
-
return ret ===
|
|
9453
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9371
9454
|
}
|
|
9372
9455
|
/**
|
|
9373
9456
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -9412,7 +9495,7 @@ export class PolygonMaterial {
|
|
|
9412
9495
|
*/
|
|
9413
9496
|
get waterScaleNormal() {
|
|
9414
9497
|
const ret = wasm.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);
|
|
9415
|
-
return ret ===
|
|
9498
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9416
9499
|
}
|
|
9417
9500
|
/**
|
|
9418
9501
|
* Water wave speed.
|
|
@@ -9420,7 +9503,7 @@ export class PolygonMaterial {
|
|
|
9420
9503
|
*/
|
|
9421
9504
|
get waterSpeed() {
|
|
9422
9505
|
const ret = wasm.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);
|
|
9423
|
-
return ret ===
|
|
9506
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
9424
9507
|
}
|
|
9425
9508
|
/**
|
|
9426
9509
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -9457,8 +9540,8 @@ export class PolygonMaterial {
|
|
|
9457
9540
|
_assertClass(__internal__, PolygonInternalMaterial);
|
|
9458
9541
|
ptr0 = __internal__.__destroy_into_raw();
|
|
9459
9542
|
}
|
|
9460
|
-
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) ?
|
|
9461
|
-
this.__wbg_ptr = ret
|
|
9543
|
+
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);
|
|
9544
|
+
this.__wbg_ptr = ret;
|
|
9462
9545
|
PolygonMaterialFinalization.register(this, this.__wbg_ptr, this);
|
|
9463
9546
|
return this;
|
|
9464
9547
|
}
|
|
@@ -9495,7 +9578,7 @@ export class PolygonMaterial {
|
|
|
9495
9578
|
* @param {number | null} [arg0]
|
|
9496
9579
|
*/
|
|
9497
9580
|
set color(arg0) {
|
|
9498
|
-
wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9581
|
+
wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
9499
9582
|
}
|
|
9500
9583
|
/**
|
|
9501
9584
|
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
@@ -9511,46 +9594,46 @@ export class PolygonMaterial {
|
|
|
9511
9594
|
* @param {number | null} [arg0]
|
|
9512
9595
|
*/
|
|
9513
9596
|
set emissiveColor(arg0) {
|
|
9514
|
-
wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9597
|
+
wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
9515
9598
|
}
|
|
9516
9599
|
/**
|
|
9517
9600
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
9518
9601
|
* @param {number | null} [arg0]
|
|
9519
9602
|
*/
|
|
9520
9603
|
set emissiveIntensity(arg0) {
|
|
9521
|
-
wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9604
|
+
wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9522
9605
|
}
|
|
9523
9606
|
/**
|
|
9524
9607
|
* @param {number | null} [arg0]
|
|
9525
9608
|
*/
|
|
9526
9609
|
set extrudedHeight(arg0) {
|
|
9527
|
-
wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9610
|
+
wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9528
9611
|
}
|
|
9529
9612
|
/**
|
|
9530
9613
|
* @param {number | null} [arg0]
|
|
9531
9614
|
*/
|
|
9532
9615
|
set height(arg0) {
|
|
9533
|
-
wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9616
|
+
wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9534
9617
|
}
|
|
9535
9618
|
/**
|
|
9536
9619
|
* @param {number | null} [arg0]
|
|
9537
9620
|
*/
|
|
9538
9621
|
set ior(arg0) {
|
|
9539
|
-
wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9622
|
+
wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9540
9623
|
}
|
|
9541
9624
|
/**
|
|
9542
9625
|
* Need to enable `transparent`.
|
|
9543
9626
|
* @param {number | null} [arg0]
|
|
9544
9627
|
*/
|
|
9545
9628
|
set opacity(arg0) {
|
|
9546
|
-
wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9629
|
+
wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9547
9630
|
}
|
|
9548
9631
|
/**
|
|
9549
9632
|
* Currently, this property is supported only in GeoJSON.
|
|
9550
9633
|
* @param {number | null} [arg0]
|
|
9551
9634
|
*/
|
|
9552
9635
|
set outlineColor(arg0) {
|
|
9553
|
-
wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9636
|
+
wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
9554
9637
|
}
|
|
9555
9638
|
/**
|
|
9556
9639
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -9564,7 +9647,7 @@ export class PolygonMaterial {
|
|
|
9564
9647
|
* @param {number | null} [arg0]
|
|
9565
9648
|
*/
|
|
9566
9649
|
set outlineWidth(arg0) {
|
|
9567
|
-
wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9650
|
+
wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9568
9651
|
}
|
|
9569
9652
|
/**
|
|
9570
9653
|
* Whether to compute outline geometry. Only effective at initial load time.
|
|
@@ -9592,20 +9675,20 @@ export class PolygonMaterial {
|
|
|
9592
9675
|
* @param {number | null} [arg0]
|
|
9593
9676
|
*/
|
|
9594
9677
|
set reflectivity(arg0) {
|
|
9595
|
-
wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9678
|
+
wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9596
9679
|
}
|
|
9597
9680
|
/**
|
|
9598
9681
|
* Reflectivity for post-process.
|
|
9599
9682
|
* @param {number | null} [arg0]
|
|
9600
9683
|
*/
|
|
9601
9684
|
set roughness(arg0) {
|
|
9602
|
-
wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9685
|
+
wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9603
9686
|
}
|
|
9604
9687
|
/**
|
|
9605
9688
|
* @param {number | null} [arg0]
|
|
9606
9689
|
*/
|
|
9607
9690
|
set shininess(arg0) {
|
|
9608
|
-
wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9691
|
+
wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9609
9692
|
}
|
|
9610
9693
|
/**
|
|
9611
9694
|
* @param {boolean | null} [arg0]
|
|
@@ -9617,7 +9700,7 @@ export class PolygonMaterial {
|
|
|
9617
9700
|
* @param {number | null} [arg0]
|
|
9618
9701
|
*/
|
|
9619
9702
|
set specularStrength(arg0) {
|
|
9620
|
-
wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9703
|
+
wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9621
9704
|
}
|
|
9622
9705
|
/**
|
|
9623
9706
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -9657,14 +9740,14 @@ export class PolygonMaterial {
|
|
|
9657
9740
|
* @param {number | null} [arg0]
|
|
9658
9741
|
*/
|
|
9659
9742
|
set waterScaleNormal(arg0) {
|
|
9660
|
-
wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9743
|
+
wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9661
9744
|
}
|
|
9662
9745
|
/**
|
|
9663
9746
|
* Water wave speed.
|
|
9664
9747
|
* @param {number | null} [arg0]
|
|
9665
9748
|
*/
|
|
9666
9749
|
set waterSpeed(arg0) {
|
|
9667
|
-
wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
9750
|
+
wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
9668
9751
|
}
|
|
9669
9752
|
/**
|
|
9670
9753
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -9684,7 +9767,6 @@ if (Symbol.dispose) PolygonMaterial.prototype[Symbol.dispose] = PolygonMaterial.
|
|
|
9684
9767
|
|
|
9685
9768
|
export class PolygonMesh {
|
|
9686
9769
|
static __wrap(ptr) {
|
|
9687
|
-
ptr = ptr >>> 0;
|
|
9688
9770
|
const obj = Object.create(PolygonMesh.prototype);
|
|
9689
9771
|
obj.__wbg_ptr = ptr;
|
|
9690
9772
|
PolygonMeshFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -10239,7 +10321,6 @@ if (Symbol.dispose) PolylineGeometryAttributes.prototype[Symbol.dispose] = Polyl
|
|
|
10239
10321
|
|
|
10240
10322
|
export class PolylineInternalMaterial {
|
|
10241
10323
|
static __wrap(ptr) {
|
|
10242
|
-
ptr = ptr >>> 0;
|
|
10243
10324
|
const obj = Object.create(PolylineInternalMaterial.prototype);
|
|
10244
10325
|
obj.__wbg_ptr = ptr;
|
|
10245
10326
|
PolylineInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -10277,7 +10358,6 @@ if (Symbol.dispose) PolylineInternalMaterial.prototype[Symbol.dispose] = Polylin
|
|
|
10277
10358
|
|
|
10278
10359
|
export class PolylineMaterial {
|
|
10279
10360
|
static __wrap(ptr) {
|
|
10280
|
-
ptr = ptr >>> 0;
|
|
10281
10361
|
const obj = Object.create(PolylineMaterial.prototype);
|
|
10282
10362
|
obj.__wbg_ptr = ptr;
|
|
10283
10363
|
PolylineMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -10319,7 +10399,7 @@ export class PolylineMaterial {
|
|
|
10319
10399
|
*/
|
|
10320
10400
|
get color() {
|
|
10321
10401
|
const ret = wasm.__wbg_get_polylinematerial_color(this.__wbg_ptr);
|
|
10322
|
-
return ret ===
|
|
10402
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10323
10403
|
}
|
|
10324
10404
|
/**
|
|
10325
10405
|
* Enable writing to depth buffer
|
|
@@ -10348,7 +10428,7 @@ export class PolylineMaterial {
|
|
|
10348
10428
|
*/
|
|
10349
10429
|
get emissiveColor() {
|
|
10350
10430
|
const ret = wasm.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);
|
|
10351
|
-
return ret ===
|
|
10431
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10352
10432
|
}
|
|
10353
10433
|
/**
|
|
10354
10434
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -10356,14 +10436,14 @@ export class PolylineMaterial {
|
|
|
10356
10436
|
*/
|
|
10357
10437
|
get emissiveIntensity() {
|
|
10358
10438
|
const ret = wasm.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);
|
|
10359
|
-
return ret ===
|
|
10439
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10360
10440
|
}
|
|
10361
10441
|
/**
|
|
10362
10442
|
* @returns {number | undefined}
|
|
10363
10443
|
*/
|
|
10364
10444
|
get height() {
|
|
10365
10445
|
const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
|
|
10366
|
-
return ret ===
|
|
10446
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10367
10447
|
}
|
|
10368
10448
|
/**
|
|
10369
10449
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
@@ -10372,7 +10452,7 @@ export class PolylineMaterial {
|
|
|
10372
10452
|
*/
|
|
10373
10453
|
get maxWidth() {
|
|
10374
10454
|
const ret = wasm.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);
|
|
10375
|
-
return ret ===
|
|
10455
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10376
10456
|
}
|
|
10377
10457
|
/**
|
|
10378
10458
|
* Opacity value
|
|
@@ -10380,7 +10460,7 @@ export class PolylineMaterial {
|
|
|
10380
10460
|
*/
|
|
10381
10461
|
get opacity() {
|
|
10382
10462
|
const ret = wasm.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);
|
|
10383
|
-
return ret ===
|
|
10463
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10384
10464
|
}
|
|
10385
10465
|
/**
|
|
10386
10466
|
* @returns {boolean | undefined}
|
|
@@ -10421,7 +10501,7 @@ export class PolylineMaterial {
|
|
|
10421
10501
|
*/
|
|
10422
10502
|
get width() {
|
|
10423
10503
|
const ret = wasm.__wbg_get_polylinematerial_width(this.__wbg_ptr);
|
|
10424
|
-
return ret ===
|
|
10504
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10425
10505
|
}
|
|
10426
10506
|
/**
|
|
10427
10507
|
* @param {boolean | null} [show]
|
|
@@ -10441,8 +10521,8 @@ export class PolylineMaterial {
|
|
|
10441
10521
|
_assertClass(__internal__, PolylineInternalMaterial);
|
|
10442
10522
|
ptr0 = __internal__.__destroy_into_raw();
|
|
10443
10523
|
}
|
|
10444
|
-
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) ?
|
|
10445
|
-
this.__wbg_ptr = ret
|
|
10524
|
+
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);
|
|
10525
|
+
this.__wbg_ptr = ret;
|
|
10446
10526
|
PolylineMaterialFinalization.register(this, this.__wbg_ptr, this);
|
|
10447
10527
|
return this;
|
|
10448
10528
|
}
|
|
@@ -10473,7 +10553,7 @@ export class PolylineMaterial {
|
|
|
10473
10553
|
* @param {number | null} [arg0]
|
|
10474
10554
|
*/
|
|
10475
10555
|
set color(arg0) {
|
|
10476
|
-
wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10556
|
+
wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
10477
10557
|
}
|
|
10478
10558
|
/**
|
|
10479
10559
|
* Enable writing to depth buffer
|
|
@@ -10496,20 +10576,20 @@ export class PolylineMaterial {
|
|
|
10496
10576
|
* @param {number | null} [arg0]
|
|
10497
10577
|
*/
|
|
10498
10578
|
set emissiveColor(arg0) {
|
|
10499
|
-
wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10579
|
+
wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
10500
10580
|
}
|
|
10501
10581
|
/**
|
|
10502
10582
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
10503
10583
|
* @param {number | null} [arg0]
|
|
10504
10584
|
*/
|
|
10505
10585
|
set emissiveIntensity(arg0) {
|
|
10506
|
-
wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10586
|
+
wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
10507
10587
|
}
|
|
10508
10588
|
/**
|
|
10509
10589
|
* @param {number | null} [arg0]
|
|
10510
10590
|
*/
|
|
10511
10591
|
set height(arg0) {
|
|
10512
|
-
wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10592
|
+
wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
10513
10593
|
}
|
|
10514
10594
|
/**
|
|
10515
10595
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
@@ -10517,14 +10597,14 @@ export class PolylineMaterial {
|
|
|
10517
10597
|
* @param {number | null} [arg0]
|
|
10518
10598
|
*/
|
|
10519
10599
|
set maxWidth(arg0) {
|
|
10520
|
-
wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10600
|
+
wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
10521
10601
|
}
|
|
10522
10602
|
/**
|
|
10523
10603
|
* Opacity value
|
|
10524
10604
|
* @param {number | null} [arg0]
|
|
10525
10605
|
*/
|
|
10526
10606
|
set opacity(arg0) {
|
|
10527
|
-
wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10607
|
+
wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
10528
10608
|
}
|
|
10529
10609
|
/**
|
|
10530
10610
|
* @param {boolean | null} [arg0]
|
|
@@ -10560,14 +10640,13 @@ export class PolylineMaterial {
|
|
|
10560
10640
|
* @param {number | null} [arg0]
|
|
10561
10641
|
*/
|
|
10562
10642
|
set width(arg0) {
|
|
10563
|
-
wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10643
|
+
wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
10564
10644
|
}
|
|
10565
10645
|
}
|
|
10566
10646
|
if (Symbol.dispose) PolylineMaterial.prototype[Symbol.dispose] = PolylineMaterial.prototype.free;
|
|
10567
10647
|
|
|
10568
10648
|
export class PolylineMesh {
|
|
10569
10649
|
static __wrap(ptr) {
|
|
10570
|
-
ptr = ptr >>> 0;
|
|
10571
10650
|
const obj = Object.create(PolylineMesh.prototype);
|
|
10572
10651
|
obj.__wbg_ptr = ptr;
|
|
10573
10652
|
PolylineMeshFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -10695,21 +10774,21 @@ export class QuantizedMeshSourceDescription {
|
|
|
10695
10774
|
*/
|
|
10696
10775
|
get maxZoom() {
|
|
10697
10776
|
const ret = wasm.__wbg_get_quantizedmeshsourcedescription_maxZoom(this.__wbg_ptr);
|
|
10698
|
-
return ret ===
|
|
10777
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10699
10778
|
}
|
|
10700
10779
|
/**
|
|
10701
10780
|
* @returns {number | undefined}
|
|
10702
10781
|
*/
|
|
10703
10782
|
get minZoom() {
|
|
10704
10783
|
const ret = wasm.__wbg_get_quantizedmeshsourcedescription_minZoom(this.__wbg_ptr);
|
|
10705
|
-
return ret ===
|
|
10784
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10706
10785
|
}
|
|
10707
10786
|
/**
|
|
10708
10787
|
* @returns {number | undefined}
|
|
10709
10788
|
*/
|
|
10710
10789
|
get overscaledMaxZoom() {
|
|
10711
10790
|
const ret = wasm.__wbg_get_quantizedmeshsourcedescription_overscaledMaxZoom(this.__wbg_ptr);
|
|
10712
|
-
return ret ===
|
|
10791
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10713
10792
|
}
|
|
10714
10793
|
/**
|
|
10715
10794
|
* @returns {boolean | undefined}
|
|
@@ -10778,19 +10857,19 @@ export class QuantizedMeshSourceDescription {
|
|
|
10778
10857
|
* @param {number | null} [arg0]
|
|
10779
10858
|
*/
|
|
10780
10859
|
set maxZoom(arg0) {
|
|
10781
|
-
wasm.__wbg_set_quantizedmeshsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10860
|
+
wasm.__wbg_set_quantizedmeshsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
10782
10861
|
}
|
|
10783
10862
|
/**
|
|
10784
10863
|
* @param {number | null} [arg0]
|
|
10785
10864
|
*/
|
|
10786
10865
|
set minZoom(arg0) {
|
|
10787
|
-
wasm.__wbg_set_quantizedmeshsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10866
|
+
wasm.__wbg_set_quantizedmeshsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
10788
10867
|
}
|
|
10789
10868
|
/**
|
|
10790
10869
|
* @param {number | null} [arg0]
|
|
10791
10870
|
*/
|
|
10792
10871
|
set overscaledMaxZoom(arg0) {
|
|
10793
|
-
wasm.__wbg_set_quantizedmeshsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
10872
|
+
wasm.__wbg_set_quantizedmeshsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
10794
10873
|
}
|
|
10795
10874
|
/**
|
|
10796
10875
|
* @param {boolean | null} [arg0]
|
|
@@ -10861,28 +10940,28 @@ export class RasterDemSourceDescription {
|
|
|
10861
10940
|
*/
|
|
10862
10941
|
get maxZoom() {
|
|
10863
10942
|
const ret = wasm.__wbg_get_rasterdemsourcedescription_maxZoom(this.__wbg_ptr);
|
|
10864
|
-
return ret ===
|
|
10943
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10865
10944
|
}
|
|
10866
10945
|
/**
|
|
10867
10946
|
* @returns {number | undefined}
|
|
10868
10947
|
*/
|
|
10869
10948
|
get minZoom() {
|
|
10870
10949
|
const ret = wasm.__wbg_get_rasterdemsourcedescription_minZoom(this.__wbg_ptr);
|
|
10871
|
-
return ret ===
|
|
10950
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10872
10951
|
}
|
|
10873
10952
|
/**
|
|
10874
10953
|
* @returns {number | undefined}
|
|
10875
10954
|
*/
|
|
10876
10955
|
get overscaledMaxZoom() {
|
|
10877
10956
|
const ret = wasm.__wbg_get_rasterdemsourcedescription_overscaledMaxZoom(this.__wbg_ptr);
|
|
10878
|
-
return ret ===
|
|
10957
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10879
10958
|
}
|
|
10880
10959
|
/**
|
|
10881
10960
|
* @returns {number | undefined}
|
|
10882
10961
|
*/
|
|
10883
10962
|
get tileSize() {
|
|
10884
10963
|
const ret = wasm.__wbg_get_rasterdemsourcedescription_tileSize(this.__wbg_ptr);
|
|
10885
|
-
return ret ===
|
|
10964
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
10886
10965
|
}
|
|
10887
10966
|
/**
|
|
10888
10967
|
* @returns {boolean | undefined}
|
|
@@ -10931,25 +11010,25 @@ export class RasterDemSourceDescription {
|
|
|
10931
11010
|
* @param {number | null} [arg0]
|
|
10932
11011
|
*/
|
|
10933
11012
|
set maxZoom(arg0) {
|
|
10934
|
-
wasm.__wbg_set_rasterdemsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
11013
|
+
wasm.__wbg_set_rasterdemsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
10935
11014
|
}
|
|
10936
11015
|
/**
|
|
10937
11016
|
* @param {number | null} [arg0]
|
|
10938
11017
|
*/
|
|
10939
11018
|
set minZoom(arg0) {
|
|
10940
|
-
wasm.__wbg_set_rasterdemsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
11019
|
+
wasm.__wbg_set_rasterdemsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
10941
11020
|
}
|
|
10942
11021
|
/**
|
|
10943
11022
|
* @param {number | null} [arg0]
|
|
10944
11023
|
*/
|
|
10945
11024
|
set overscaledMaxZoom(arg0) {
|
|
10946
|
-
wasm.__wbg_set_rasterdemsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
11025
|
+
wasm.__wbg_set_rasterdemsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
10947
11026
|
}
|
|
10948
11027
|
/**
|
|
10949
11028
|
* @param {number | null} [arg0]
|
|
10950
11029
|
*/
|
|
10951
11030
|
set tileSize(arg0) {
|
|
10952
|
-
wasm.__wbg_set_rasterdemsourcedescription_tileSize(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
11031
|
+
wasm.__wbg_set_rasterdemsourcedescription_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
10953
11032
|
}
|
|
10954
11033
|
/**
|
|
10955
11034
|
* @param {boolean | null} [arg0]
|
|
@@ -11106,7 +11185,6 @@ if (Symbol.dispose) RasterLayerDescription.prototype[Symbol.dispose] = RasterLay
|
|
|
11106
11185
|
*/
|
|
11107
11186
|
export class RasterMaterial {
|
|
11108
11187
|
static __wrap(ptr) {
|
|
11109
|
-
ptr = ptr >>> 0;
|
|
11110
11188
|
const obj = Object.create(RasterMaterial.prototype);
|
|
11111
11189
|
obj.__wbg_ptr = ptr;
|
|
11112
11190
|
RasterMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -11127,14 +11205,14 @@ export class RasterMaterial {
|
|
|
11127
11205
|
*/
|
|
11128
11206
|
get color() {
|
|
11129
11207
|
const ret = wasm.__wbg_get_rastermaterial_color(this.__wbg_ptr);
|
|
11130
|
-
return ret ===
|
|
11208
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
11131
11209
|
}
|
|
11132
11210
|
/**
|
|
11133
11211
|
* @returns {number | undefined}
|
|
11134
11212
|
*/
|
|
11135
11213
|
get opacity() {
|
|
11136
11214
|
const ret = wasm.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);
|
|
11137
|
-
return ret ===
|
|
11215
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
11138
11216
|
}
|
|
11139
11217
|
/**
|
|
11140
11218
|
* @returns {boolean | undefined}
|
|
@@ -11154,13 +11232,13 @@ export class RasterMaterial {
|
|
|
11154
11232
|
* @param {number | null} [arg0]
|
|
11155
11233
|
*/
|
|
11156
11234
|
set color(arg0) {
|
|
11157
|
-
wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
11235
|
+
wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
11158
11236
|
}
|
|
11159
11237
|
/**
|
|
11160
11238
|
* @param {number | null} [arg0]
|
|
11161
11239
|
*/
|
|
11162
11240
|
set opacity(arg0) {
|
|
11163
|
-
wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
11241
|
+
wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
11164
11242
|
}
|
|
11165
11243
|
/**
|
|
11166
11244
|
* @param {boolean | null} [arg0]
|
|
@@ -11179,7 +11257,6 @@ if (Symbol.dispose) RasterMaterial.prototype[Symbol.dispose] = RasterMaterial.pr
|
|
|
11179
11257
|
|
|
11180
11258
|
export class RasterTileInternalMaterial {
|
|
11181
11259
|
static __wrap(ptr) {
|
|
11182
|
-
ptr = ptr >>> 0;
|
|
11183
11260
|
const obj = Object.create(RasterTileInternalMaterial.prototype);
|
|
11184
11261
|
obj.__wbg_ptr = ptr;
|
|
11185
11262
|
RasterTileInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -11666,21 +11743,21 @@ export class RasterTileSourceDescription {
|
|
|
11666
11743
|
*/
|
|
11667
11744
|
get maxZoom() {
|
|
11668
11745
|
const ret = wasm.__wbg_get_rastertilesourcedescription_maxZoom(this.__wbg_ptr);
|
|
11669
|
-
return ret ===
|
|
11746
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
11670
11747
|
}
|
|
11671
11748
|
/**
|
|
11672
11749
|
* @returns {number | undefined}
|
|
11673
11750
|
*/
|
|
11674
11751
|
get minZoom() {
|
|
11675
11752
|
const ret = wasm.__wbg_get_rastertilesourcedescription_minZoom(this.__wbg_ptr);
|
|
11676
|
-
return ret ===
|
|
11753
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
11677
11754
|
}
|
|
11678
11755
|
/**
|
|
11679
11756
|
* @returns {number | undefined}
|
|
11680
11757
|
*/
|
|
11681
11758
|
get overscaledMaxZoom() {
|
|
11682
11759
|
const ret = wasm.__wbg_get_rastertilesourcedescription_overscaledMaxZoom(this.__wbg_ptr);
|
|
11683
|
-
return ret ===
|
|
11760
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
11684
11761
|
}
|
|
11685
11762
|
/**
|
|
11686
11763
|
* @returns {boolean | undefined}
|
|
@@ -11717,19 +11794,19 @@ export class RasterTileSourceDescription {
|
|
|
11717
11794
|
* @param {number | null} [arg0]
|
|
11718
11795
|
*/
|
|
11719
11796
|
set maxZoom(arg0) {
|
|
11720
|
-
wasm.__wbg_set_rastertilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
11797
|
+
wasm.__wbg_set_rastertilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
11721
11798
|
}
|
|
11722
11799
|
/**
|
|
11723
11800
|
* @param {number | null} [arg0]
|
|
11724
11801
|
*/
|
|
11725
11802
|
set minZoom(arg0) {
|
|
11726
|
-
wasm.__wbg_set_rastertilesourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
11803
|
+
wasm.__wbg_set_rastertilesourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
11727
11804
|
}
|
|
11728
11805
|
/**
|
|
11729
11806
|
* @param {number | null} [arg0]
|
|
11730
11807
|
*/
|
|
11731
11808
|
set overscaledMaxZoom(arg0) {
|
|
11732
|
-
wasm.__wbg_set_rastertilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
11809
|
+
wasm.__wbg_set_rastertilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
11733
11810
|
}
|
|
11734
11811
|
/**
|
|
11735
11812
|
* @param {boolean | null} [arg0]
|
|
@@ -11756,6 +11833,125 @@ export class RasterTileSourceDescription {
|
|
|
11756
11833
|
}
|
|
11757
11834
|
if (Symbol.dispose) RasterTileSourceDescription.prototype[Symbol.dispose] = RasterTileSourceDescription.prototype.free;
|
|
11758
11835
|
|
|
11836
|
+
/**
|
|
11837
|
+
* One WebMercator raster tile to bake into a layer's drape render target (one per
|
|
11838
|
+
* overlapping WM tile per baked layer). `layer_ordinal` pairs the entry with the k-th
|
|
11839
|
+
* baked composite slot; `fragment_ind`/`fragment_gen` identify the loaded texture
|
|
11840
|
+
* fragment (the web derives its `loadedTexs` key, `${ind}_${gen}`, from them);
|
|
11841
|
+
* `uv_offset`/`uv_scale` place this tile into the terrain tile's `[0, 1]` UV for the
|
|
11842
|
+
* bake camera; `reproject_terrain_lat` is `[south, north]` (radians) on Geographic
|
|
11843
|
+
* terrain (Mercator reprojection) or empty on WebMercator terrain.
|
|
11844
|
+
*/
|
|
11845
|
+
export class RasterTileState {
|
|
11846
|
+
static __wrap(ptr) {
|
|
11847
|
+
const obj = Object.create(RasterTileState.prototype);
|
|
11848
|
+
obj.__wbg_ptr = ptr;
|
|
11849
|
+
RasterTileStateFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
11850
|
+
return obj;
|
|
11851
|
+
}
|
|
11852
|
+
__destroy_into_raw() {
|
|
11853
|
+
const ptr = this.__wbg_ptr;
|
|
11854
|
+
this.__wbg_ptr = 0;
|
|
11855
|
+
RasterTileStateFinalization.unregister(this);
|
|
11856
|
+
return ptr;
|
|
11857
|
+
}
|
|
11858
|
+
free() {
|
|
11859
|
+
const ptr = this.__destroy_into_raw();
|
|
11860
|
+
wasm.__wbg_rastertilestate_free(ptr, 0);
|
|
11861
|
+
}
|
|
11862
|
+
/**
|
|
11863
|
+
* @returns {number}
|
|
11864
|
+
*/
|
|
11865
|
+
get fragment_gen() {
|
|
11866
|
+
const ret = wasm.__wbg_get_rastertilestate_fragment_gen(this.__wbg_ptr);
|
|
11867
|
+
return ret >>> 0;
|
|
11868
|
+
}
|
|
11869
|
+
/**
|
|
11870
|
+
* @returns {number}
|
|
11871
|
+
*/
|
|
11872
|
+
get fragment_ind() {
|
|
11873
|
+
const ret = wasm.__wbg_get_rastertilestate_fragment_ind(this.__wbg_ptr);
|
|
11874
|
+
return ret >>> 0;
|
|
11875
|
+
}
|
|
11876
|
+
/**
|
|
11877
|
+
* @returns {number}
|
|
11878
|
+
*/
|
|
11879
|
+
get layer_ordinal() {
|
|
11880
|
+
const ret = wasm.__wbg_get_rastertilestate_layer_ordinal(this.__wbg_ptr);
|
|
11881
|
+
return ret >>> 0;
|
|
11882
|
+
}
|
|
11883
|
+
/**
|
|
11884
|
+
* @returns {Float32Array}
|
|
11885
|
+
*/
|
|
11886
|
+
get reproject_terrain_lat() {
|
|
11887
|
+
const ret = wasm.__wbg_get_rastertilestate_reproject_terrain_lat(this.__wbg_ptr);
|
|
11888
|
+
var v1 = getArrayF32FromWasm0(ret[0], ret[1]).slice();
|
|
11889
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
11890
|
+
return v1;
|
|
11891
|
+
}
|
|
11892
|
+
/**
|
|
11893
|
+
* @returns {Float32Array}
|
|
11894
|
+
*/
|
|
11895
|
+
get uv_offset() {
|
|
11896
|
+
const ret = wasm.__wbg_get_rastertilestate_uv_offset(this.__wbg_ptr);
|
|
11897
|
+
var v1 = getArrayF32FromWasm0(ret[0], ret[1]).slice();
|
|
11898
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
11899
|
+
return v1;
|
|
11900
|
+
}
|
|
11901
|
+
/**
|
|
11902
|
+
* @returns {Float32Array}
|
|
11903
|
+
*/
|
|
11904
|
+
get uv_scale() {
|
|
11905
|
+
const ret = wasm.__wbg_get_rastertilestate_uv_scale(this.__wbg_ptr);
|
|
11906
|
+
var v1 = getArrayF32FromWasm0(ret[0], ret[1]).slice();
|
|
11907
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
11908
|
+
return v1;
|
|
11909
|
+
}
|
|
11910
|
+
/**
|
|
11911
|
+
* @param {number} arg0
|
|
11912
|
+
*/
|
|
11913
|
+
set fragment_gen(arg0) {
|
|
11914
|
+
wasm.__wbg_set_rastertilestate_fragment_gen(this.__wbg_ptr, arg0);
|
|
11915
|
+
}
|
|
11916
|
+
/**
|
|
11917
|
+
* @param {number} arg0
|
|
11918
|
+
*/
|
|
11919
|
+
set fragment_ind(arg0) {
|
|
11920
|
+
wasm.__wbg_set_rastertilestate_fragment_ind(this.__wbg_ptr, arg0);
|
|
11921
|
+
}
|
|
11922
|
+
/**
|
|
11923
|
+
* @param {number} arg0
|
|
11924
|
+
*/
|
|
11925
|
+
set layer_ordinal(arg0) {
|
|
11926
|
+
wasm.__wbg_set_rastertilestate_layer_ordinal(this.__wbg_ptr, arg0);
|
|
11927
|
+
}
|
|
11928
|
+
/**
|
|
11929
|
+
* @param {Float32Array} arg0
|
|
11930
|
+
*/
|
|
11931
|
+
set reproject_terrain_lat(arg0) {
|
|
11932
|
+
const ptr0 = passArrayF32ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
11933
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11934
|
+
wasm.__wbg_set_rastertilestate_reproject_terrain_lat(this.__wbg_ptr, ptr0, len0);
|
|
11935
|
+
}
|
|
11936
|
+
/**
|
|
11937
|
+
* @param {Float32Array} arg0
|
|
11938
|
+
*/
|
|
11939
|
+
set uv_offset(arg0) {
|
|
11940
|
+
const ptr0 = passArrayF32ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
11941
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11942
|
+
wasm.__wbg_set_rastertilestate_uv_offset(this.__wbg_ptr, ptr0, len0);
|
|
11943
|
+
}
|
|
11944
|
+
/**
|
|
11945
|
+
* @param {Float32Array} arg0
|
|
11946
|
+
*/
|
|
11947
|
+
set uv_scale(arg0) {
|
|
11948
|
+
const ptr0 = passArrayF32ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
11949
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11950
|
+
wasm.__wbg_set_rastertilestate_uv_scale(this.__wbg_ptr, ptr0, len0);
|
|
11951
|
+
}
|
|
11952
|
+
}
|
|
11953
|
+
if (Symbol.dispose) RasterTileState.prototype[Symbol.dispose] = RasterTileState.prototype.free;
|
|
11954
|
+
|
|
11759
11955
|
export class Ray {
|
|
11760
11956
|
__destroy_into_raw() {
|
|
11761
11957
|
const ptr = this.__wbg_ptr;
|
|
@@ -11799,7 +11995,7 @@ export class Ray {
|
|
|
11799
11995
|
_assertClass(direction, Vec3);
|
|
11800
11996
|
var ptr1 = direction.__destroy_into_raw();
|
|
11801
11997
|
const ret = wasm.ray_new(ptr0, ptr1);
|
|
11802
|
-
this.__wbg_ptr = ret
|
|
11998
|
+
this.__wbg_ptr = ret;
|
|
11803
11999
|
RayFinalization.register(this, this.__wbg_ptr, this);
|
|
11804
12000
|
return this;
|
|
11805
12001
|
}
|
|
@@ -11828,7 +12024,6 @@ if (Symbol.dispose) Ray.prototype[Symbol.dispose] = Ray.prototype.free;
|
|
|
11828
12024
|
*/
|
|
11829
12025
|
export class ReconstructableEntity {
|
|
11830
12026
|
static __wrap(ptr) {
|
|
11831
|
-
ptr = ptr >>> 0;
|
|
11832
12027
|
const obj = Object.create(ReconstructableEntity.prototype);
|
|
11833
12028
|
obj.__wbg_ptr = ptr;
|
|
11834
12029
|
ReconstructableEntityFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -11862,7 +12057,6 @@ if (Symbol.dispose) ReconstructableEntity.prototype[Symbol.dispose] = Reconstruc
|
|
|
11862
12057
|
|
|
11863
12058
|
export class RenderableFeature {
|
|
11864
12059
|
static __wrap(ptr) {
|
|
11865
|
-
ptr = ptr >>> 0;
|
|
11866
12060
|
const obj = Object.create(RenderableFeature.prototype);
|
|
11867
12061
|
obj.__wbg_ptr = ptr;
|
|
11868
12062
|
RenderableFeatureFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -11991,7 +12185,6 @@ if (Symbol.dispose) RenderableFeature.prototype[Symbol.dispose] = RenderableFeat
|
|
|
11991
12185
|
|
|
11992
12186
|
export class RenderableFeatureAddedEvent {
|
|
11993
12187
|
static __wrap(ptr) {
|
|
11994
|
-
ptr = ptr >>> 0;
|
|
11995
12188
|
const obj = Object.create(RenderableFeatureAddedEvent.prototype);
|
|
11996
12189
|
obj.__wbg_ptr = ptr;
|
|
11997
12190
|
RenderableFeatureAddedEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -12107,7 +12300,6 @@ if (Symbol.dispose) RenderableFeatureAddedEvent.prototype[Symbol.dispose] = Rend
|
|
|
12107
12300
|
|
|
12108
12301
|
export class RenderableFeatureChangedEvent {
|
|
12109
12302
|
static __wrap(ptr) {
|
|
12110
|
-
ptr = ptr >>> 0;
|
|
12111
12303
|
const obj = Object.create(RenderableFeatureChangedEvent.prototype);
|
|
12112
12304
|
obj.__wbg_ptr = ptr;
|
|
12113
12305
|
RenderableFeatureChangedEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -12223,7 +12415,6 @@ if (Symbol.dispose) RenderableFeatureChangedEvent.prototype[Symbol.dispose] = Re
|
|
|
12223
12415
|
|
|
12224
12416
|
export class RenderableFeatureRemovedEvent {
|
|
12225
12417
|
static __wrap(ptr) {
|
|
12226
|
-
ptr = ptr >>> 0;
|
|
12227
12418
|
const obj = Object.create(RenderableFeatureRemovedEvent.prototype);
|
|
12228
12419
|
obj.__wbg_ptr = ptr;
|
|
12229
12420
|
RenderableFeatureRemovedEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -12375,7 +12566,7 @@ export class ReturnedConstructedTerrainMesh {
|
|
|
12375
12566
|
ptr2 = rtc_translation.__destroy_into_raw();
|
|
12376
12567
|
}
|
|
12377
12568
|
const ret = wasm.returnedconstructedterrainmesh_new(ptr0, max_height, min_height, ptr1, len1, ptr2);
|
|
12378
|
-
this.__wbg_ptr = ret
|
|
12569
|
+
this.__wbg_ptr = ret;
|
|
12379
12570
|
ReturnedConstructedTerrainMeshFinalization.register(this, this.__wbg_ptr, this);
|
|
12380
12571
|
return this;
|
|
12381
12572
|
}
|
|
@@ -12477,7 +12668,6 @@ if (Symbol.dispose) ReturnedConstructedTerrainMesh.prototype[Symbol.dispose] = R
|
|
|
12477
12668
|
|
|
12478
12669
|
export class ReturnedTransferablePolygonBatchedFeature {
|
|
12479
12670
|
static __wrap(ptr) {
|
|
12480
|
-
ptr = ptr >>> 0;
|
|
12481
12671
|
const obj = Object.create(ReturnedTransferablePolygonBatchedFeature.prototype);
|
|
12482
12672
|
obj.__wbg_ptr = ptr;
|
|
12483
12673
|
ReturnedTransferablePolygonBatchedFeatureFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -12590,7 +12780,6 @@ if (Symbol.dispose) ReturnedTransferablePolygonBatchedFeature.prototype[Symbol.d
|
|
|
12590
12780
|
|
|
12591
12781
|
export class ReturnedTransferablePolylineBatchedFeature {
|
|
12592
12782
|
static __wrap(ptr) {
|
|
12593
|
-
ptr = ptr >>> 0;
|
|
12594
12783
|
const obj = Object.create(ReturnedTransferablePolylineBatchedFeature.prototype);
|
|
12595
12784
|
obj.__wbg_ptr = ptr;
|
|
12596
12785
|
ReturnedTransferablePolylineBatchedFeatureFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -12730,7 +12919,6 @@ if (Symbol.dispose) SourceDescription.prototype[Symbol.dispose] = SourceDescript
|
|
|
12730
12919
|
|
|
12731
12920
|
export class TerrainHeightUpdatedEvent {
|
|
12732
12921
|
static __wrap(ptr) {
|
|
12733
|
-
ptr = ptr >>> 0;
|
|
12734
12922
|
const obj = Object.create(TerrainHeightUpdatedEvent.prototype);
|
|
12735
12923
|
obj.__wbg_ptr = ptr;
|
|
12736
12924
|
TerrainHeightUpdatedEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -12928,7 +13116,6 @@ if (Symbol.dispose) TerrainLayerDescription.prototype[Symbol.dispose] = TerrainL
|
|
|
12928
13116
|
*/
|
|
12929
13117
|
export class TerrainMaterial {
|
|
12930
13118
|
static __wrap(ptr) {
|
|
12931
|
-
ptr = ptr >>> 0;
|
|
12932
13119
|
const obj = Object.create(TerrainMaterial.prototype);
|
|
12933
13120
|
obj.__wbg_ptr = ptr;
|
|
12934
13121
|
TerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -12979,7 +13166,7 @@ export class TerrainMaterial {
|
|
|
12979
13166
|
*/
|
|
12980
13167
|
get skirtExaggeration() {
|
|
12981
13168
|
const ret = wasm.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);
|
|
12982
|
-
return ret ===
|
|
13169
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
12983
13170
|
}
|
|
12984
13171
|
/**
|
|
12985
13172
|
* Whether to render skirts along tile boundaries to hide gaps.
|
|
@@ -13020,7 +13207,7 @@ export class TerrainMaterial {
|
|
|
13020
13207
|
* @param {number | null} [arg0]
|
|
13021
13208
|
*/
|
|
13022
13209
|
set skirtExaggeration(arg0) {
|
|
13023
|
-
wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13210
|
+
wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13024
13211
|
}
|
|
13025
13212
|
/**
|
|
13026
13213
|
* Whether to render skirts along tile boundaries to hide gaps.
|
|
@@ -13122,7 +13309,6 @@ if (Symbol.dispose) TerrainSourceLayerDescription.prototype[Symbol.dispose] = Te
|
|
|
13122
13309
|
|
|
13123
13310
|
export class TextMaterial {
|
|
13124
13311
|
static __wrap(ptr) {
|
|
13125
|
-
ptr = ptr >>> 0;
|
|
13126
13312
|
const obj = Object.create(TextMaterial.prototype);
|
|
13127
13313
|
obj.__wbg_ptr = ptr;
|
|
13128
13314
|
TextMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -13143,21 +13329,21 @@ export class TextMaterial {
|
|
|
13143
13329
|
*/
|
|
13144
13330
|
get backgroundColor() {
|
|
13145
13331
|
const ret = wasm.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);
|
|
13146
|
-
return ret ===
|
|
13332
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13147
13333
|
}
|
|
13148
13334
|
/**
|
|
13149
13335
|
* @returns {number | undefined}
|
|
13150
13336
|
*/
|
|
13151
13337
|
get borderColor() {
|
|
13152
13338
|
const ret = wasm.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);
|
|
13153
|
-
return ret ===
|
|
13339
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13154
13340
|
}
|
|
13155
13341
|
/**
|
|
13156
13342
|
* @returns {number | undefined}
|
|
13157
13343
|
*/
|
|
13158
13344
|
get borderWidth() {
|
|
13159
13345
|
const ret = wasm.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);
|
|
13160
|
-
return ret ===
|
|
13346
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13161
13347
|
}
|
|
13162
13348
|
/**
|
|
13163
13349
|
* @returns {Vec2 | undefined}
|
|
@@ -13178,7 +13364,26 @@ export class TextMaterial {
|
|
|
13178
13364
|
*/
|
|
13179
13365
|
get color() {
|
|
13180
13366
|
const ret = wasm.__wbg_get_textmaterial_color(this.__wbg_ptr);
|
|
13181
|
-
return ret ===
|
|
13367
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13368
|
+
}
|
|
13369
|
+
/**
|
|
13370
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
13371
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
13372
|
+
* @returns {number | undefined}
|
|
13373
|
+
*/
|
|
13374
|
+
get declutterPriority() {
|
|
13375
|
+
const ret = wasm.__wbg_get_textmaterial_declutterPriority(this.__wbg_ptr);
|
|
13376
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13377
|
+
}
|
|
13378
|
+
/**
|
|
13379
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
13380
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
13381
|
+
* `false` to draw every label unconditionally.
|
|
13382
|
+
* @returns {boolean | undefined}
|
|
13383
|
+
*/
|
|
13384
|
+
get declutter() {
|
|
13385
|
+
const ret = wasm.__wbg_get_textmaterial_declutter(this.__wbg_ptr);
|
|
13386
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
13182
13387
|
}
|
|
13183
13388
|
/**
|
|
13184
13389
|
* @returns {boolean | undefined}
|
|
@@ -13217,7 +13422,7 @@ export class TextMaterial {
|
|
|
13217
13422
|
*/
|
|
13218
13423
|
get height() {
|
|
13219
13424
|
const ret = wasm.__wbg_get_textmaterial_height(this.__wbg_ptr);
|
|
13220
|
-
return ret ===
|
|
13425
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13221
13426
|
}
|
|
13222
13427
|
/**
|
|
13223
13428
|
* Enable high-quality glyph rendering. When `true`, text uses an MTSDF
|
|
@@ -13251,7 +13456,7 @@ export class TextMaterial {
|
|
|
13251
13456
|
*/
|
|
13252
13457
|
get lineHeight() {
|
|
13253
13458
|
const ret = wasm.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);
|
|
13254
|
-
return ret ===
|
|
13459
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13255
13460
|
}
|
|
13256
13461
|
/**
|
|
13257
13462
|
* Maximum line width in ems (multiples of `size`) before text wraps at
|
|
@@ -13261,7 +13466,7 @@ export class TextMaterial {
|
|
|
13261
13466
|
*/
|
|
13262
13467
|
get maxWidth() {
|
|
13263
13468
|
const ret = wasm.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);
|
|
13264
|
-
return ret ===
|
|
13469
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13265
13470
|
}
|
|
13266
13471
|
/**
|
|
13267
13472
|
* Avoid overlapping with the globe surface.
|
|
@@ -13277,7 +13482,7 @@ export class TextMaterial {
|
|
|
13277
13482
|
*/
|
|
13278
13483
|
get opacity() {
|
|
13279
13484
|
const ret = wasm.__wbg_get_textmaterial_opacity(this.__wbg_ptr);
|
|
13280
|
-
return ret ===
|
|
13485
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13281
13486
|
}
|
|
13282
13487
|
/**
|
|
13283
13488
|
* Outline blur radius in CSS pixels. Defaults to `0.0`.
|
|
@@ -13285,7 +13490,7 @@ export class TextMaterial {
|
|
|
13285
13490
|
*/
|
|
13286
13491
|
get outlineColor() {
|
|
13287
13492
|
const ret = wasm.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);
|
|
13288
|
-
return ret ===
|
|
13493
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13289
13494
|
}
|
|
13290
13495
|
/**
|
|
13291
13496
|
* Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
|
|
@@ -13293,7 +13498,7 @@ export class TextMaterial {
|
|
|
13293
13498
|
*/
|
|
13294
13499
|
get outlineOpacity() {
|
|
13295
13500
|
const ret = wasm.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);
|
|
13296
|
-
return ret ===
|
|
13501
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13297
13502
|
}
|
|
13298
13503
|
/**
|
|
13299
13504
|
* Outline thickness measured in CSS pixels. Defaults to `0.0`.
|
|
@@ -13301,7 +13506,7 @@ export class TextMaterial {
|
|
|
13301
13506
|
*/
|
|
13302
13507
|
get outlineWidth() {
|
|
13303
13508
|
const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
|
|
13304
|
-
return ret ===
|
|
13509
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13305
13510
|
}
|
|
13306
13511
|
/**
|
|
13307
13512
|
* @returns {boolean | undefined}
|
|
@@ -13324,7 +13529,7 @@ export class TextMaterial {
|
|
|
13324
13529
|
*/
|
|
13325
13530
|
get size() {
|
|
13326
13531
|
const ret = wasm.__wbg_get_textmaterial_size(this.__wbg_ptr);
|
|
13327
|
-
return ret ===
|
|
13532
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
13328
13533
|
}
|
|
13329
13534
|
/**
|
|
13330
13535
|
* Horizontal alignment of lines within a multi-line block:
|
|
@@ -13364,19 +13569,19 @@ export class TextMaterial {
|
|
|
13364
13569
|
* @param {number | null} [arg0]
|
|
13365
13570
|
*/
|
|
13366
13571
|
set backgroundColor(arg0) {
|
|
13367
|
-
wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13572
|
+
wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
13368
13573
|
}
|
|
13369
13574
|
/**
|
|
13370
13575
|
* @param {number | null} [arg0]
|
|
13371
13576
|
*/
|
|
13372
13577
|
set borderColor(arg0) {
|
|
13373
|
-
wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13578
|
+
wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
13374
13579
|
}
|
|
13375
13580
|
/**
|
|
13376
13581
|
* @param {number | null} [arg0]
|
|
13377
13582
|
*/
|
|
13378
13583
|
set borderWidth(arg0) {
|
|
13379
|
-
wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13584
|
+
wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13380
13585
|
}
|
|
13381
13586
|
/**
|
|
13382
13587
|
* @param {Vec2 | null} [arg0]
|
|
@@ -13399,7 +13604,24 @@ export class TextMaterial {
|
|
|
13399
13604
|
* @param {number | null} [arg0]
|
|
13400
13605
|
*/
|
|
13401
13606
|
set color(arg0) {
|
|
13402
|
-
wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13607
|
+
wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
13608
|
+
}
|
|
13609
|
+
/**
|
|
13610
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
13611
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
13612
|
+
* @param {number | null} [arg0]
|
|
13613
|
+
*/
|
|
13614
|
+
set declutterPriority(arg0) {
|
|
13615
|
+
wasm.__wbg_set_textmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13616
|
+
}
|
|
13617
|
+
/**
|
|
13618
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
13619
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
13620
|
+
* `false` to draw every label unconditionally.
|
|
13621
|
+
* @param {boolean | null} [arg0]
|
|
13622
|
+
*/
|
|
13623
|
+
set declutter(arg0) {
|
|
13624
|
+
wasm.__wbg_set_textmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
13403
13625
|
}
|
|
13404
13626
|
/**
|
|
13405
13627
|
* @param {boolean | null} [arg0]
|
|
@@ -13432,7 +13654,7 @@ export class TextMaterial {
|
|
|
13432
13654
|
* @param {number | null} [arg0]
|
|
13433
13655
|
*/
|
|
13434
13656
|
set height(arg0) {
|
|
13435
|
-
wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13657
|
+
wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13436
13658
|
}
|
|
13437
13659
|
/**
|
|
13438
13660
|
* Enable high-quality glyph rendering. When `true`, text uses an MTSDF
|
|
@@ -13460,7 +13682,7 @@ export class TextMaterial {
|
|
|
13460
13682
|
* @param {number | null} [arg0]
|
|
13461
13683
|
*/
|
|
13462
13684
|
set lineHeight(arg0) {
|
|
13463
|
-
wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13685
|
+
wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13464
13686
|
}
|
|
13465
13687
|
/**
|
|
13466
13688
|
* Maximum line width in ems (multiples of `size`) before text wraps at
|
|
@@ -13469,7 +13691,7 @@ export class TextMaterial {
|
|
|
13469
13691
|
* @param {number | null} [arg0]
|
|
13470
13692
|
*/
|
|
13471
13693
|
set maxWidth(arg0) {
|
|
13472
|
-
wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13694
|
+
wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13473
13695
|
}
|
|
13474
13696
|
/**
|
|
13475
13697
|
* Avoid overlapping with the globe surface.
|
|
@@ -13483,28 +13705,28 @@ export class TextMaterial {
|
|
|
13483
13705
|
* @param {number | null} [arg0]
|
|
13484
13706
|
*/
|
|
13485
13707
|
set opacity(arg0) {
|
|
13486
|
-
wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13708
|
+
wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13487
13709
|
}
|
|
13488
13710
|
/**
|
|
13489
13711
|
* Outline blur radius in CSS pixels. Defaults to `0.0`.
|
|
13490
13712
|
* @param {number | null} [arg0]
|
|
13491
13713
|
*/
|
|
13492
13714
|
set outlineColor(arg0) {
|
|
13493
|
-
wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13715
|
+
wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
13494
13716
|
}
|
|
13495
13717
|
/**
|
|
13496
13718
|
* Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
|
|
13497
13719
|
* @param {number | null} [arg0]
|
|
13498
13720
|
*/
|
|
13499
13721
|
set outlineOpacity(arg0) {
|
|
13500
|
-
wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13722
|
+
wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13501
13723
|
}
|
|
13502
13724
|
/**
|
|
13503
13725
|
* Outline thickness measured in CSS pixels. Defaults to `0.0`.
|
|
13504
13726
|
* @param {number | null} [arg0]
|
|
13505
13727
|
*/
|
|
13506
13728
|
set outlineWidth(arg0) {
|
|
13507
|
-
wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13729
|
+
wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13508
13730
|
}
|
|
13509
13731
|
/**
|
|
13510
13732
|
* @param {boolean | null} [arg0]
|
|
@@ -13524,7 +13746,7 @@ export class TextMaterial {
|
|
|
13524
13746
|
* @param {number | null} [arg0]
|
|
13525
13747
|
*/
|
|
13526
13748
|
set size(arg0) {
|
|
13527
|
-
wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
13749
|
+
wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
13528
13750
|
}
|
|
13529
13751
|
/**
|
|
13530
13752
|
* Horizontal alignment of lines within a multi-line block:
|
|
@@ -13556,7 +13778,6 @@ if (Symbol.dispose) TextMaterial.prototype[Symbol.dispose] = TextMaterial.protot
|
|
|
13556
13778
|
|
|
13557
13779
|
export class TextMesh {
|
|
13558
13780
|
static __wrap(ptr) {
|
|
13559
|
-
ptr = ptr >>> 0;
|
|
13560
13781
|
const obj = Object.create(TextMesh.prototype);
|
|
13561
13782
|
obj.__wbg_ptr = ptr;
|
|
13562
13783
|
TextMeshFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -13648,7 +13869,6 @@ if (Symbol.dispose) TextMesh.prototype[Symbol.dispose] = TextMesh.prototype.free
|
|
|
13648
13869
|
|
|
13649
13870
|
export class TextureFragment {
|
|
13650
13871
|
static __wrap(ptr) {
|
|
13651
|
-
ptr = ptr >>> 0;
|
|
13652
13872
|
const obj = Object.create(TextureFragment.prototype);
|
|
13653
13873
|
obj.__wbg_ptr = ptr;
|
|
13654
13874
|
TextureFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -13695,7 +13915,6 @@ if (Symbol.dispose) TextureFragment.prototype[Symbol.dispose] = TextureFragment.
|
|
|
13695
13915
|
|
|
13696
13916
|
export class TextureFragmentRequestedEvent {
|
|
13697
13917
|
static __wrap(ptr) {
|
|
13698
|
-
ptr = ptr >>> 0;
|
|
13699
13918
|
const obj = Object.create(TextureFragmentRequestedEvent.prototype);
|
|
13700
13919
|
obj.__wbg_ptr = ptr;
|
|
13701
13920
|
TextureFragmentRequestedEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -13901,7 +14120,6 @@ if (Symbol.dispose) TileLayerDescription.prototype[Symbol.dispose] = TileLayerDe
|
|
|
13901
14120
|
|
|
13902
14121
|
export class TileUvTransform {
|
|
13903
14122
|
static __wrap(ptr) {
|
|
13904
|
-
ptr = ptr >>> 0;
|
|
13905
14123
|
const obj = Object.create(TileUvTransform.prototype);
|
|
13906
14124
|
obj.__wbg_ptr = ptr;
|
|
13907
14125
|
TileUvTransformFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -13952,7 +14170,6 @@ if (Symbol.dispose) TileUvTransform.prototype[Symbol.dispose] = TileUvTransform.
|
|
|
13952
14170
|
|
|
13953
14171
|
export class TileXYZ {
|
|
13954
14172
|
static __wrap(ptr) {
|
|
13955
|
-
ptr = ptr >>> 0;
|
|
13956
14173
|
const obj = Object.create(TileXYZ.prototype);
|
|
13957
14174
|
obj.__wbg_ptr = ptr;
|
|
13958
14175
|
TileXYZFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -14014,7 +14231,7 @@ export class TileXYZ {
|
|
|
14014
14231
|
*/
|
|
14015
14232
|
constructor(x, y, z) {
|
|
14016
14233
|
const ret = wasm.tilexyz_new(x, y, z);
|
|
14017
|
-
this.__wbg_ptr = ret
|
|
14234
|
+
this.__wbg_ptr = ret;
|
|
14018
14235
|
TileXYZFinalization.register(this, this.__wbg_ptr, this);
|
|
14019
14236
|
return this;
|
|
14020
14237
|
}
|
|
@@ -14173,7 +14390,6 @@ if (Symbol.dispose) Tiles3dSourceDescription.prototype[Symbol.dispose] = Tiles3d
|
|
|
14173
14390
|
|
|
14174
14391
|
export class TransferableFloatAttribute {
|
|
14175
14392
|
static __wrap(ptr) {
|
|
14176
|
-
ptr = ptr >>> 0;
|
|
14177
14393
|
const obj = Object.create(TransferableFloatAttribute.prototype);
|
|
14178
14394
|
obj.__wbg_ptr = ptr;
|
|
14179
14395
|
TransferableFloatAttributeFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -14221,7 +14437,7 @@ export class TransferableFloatAttribute {
|
|
|
14221
14437
|
*/
|
|
14222
14438
|
constructor(data, size) {
|
|
14223
14439
|
const ret = wasm.transferablefloatattribute_new(data, size);
|
|
14224
|
-
this.__wbg_ptr = ret
|
|
14440
|
+
this.__wbg_ptr = ret;
|
|
14225
14441
|
TransferableFloatAttributeFinalization.register(this, this.__wbg_ptr, this);
|
|
14226
14442
|
return this;
|
|
14227
14443
|
}
|
|
@@ -14230,7 +14446,6 @@ if (Symbol.dispose) TransferableFloatAttribute.prototype[Symbol.dispose] = Trans
|
|
|
14230
14446
|
|
|
14231
14447
|
export class TransferableGeometry {
|
|
14232
14448
|
static __wrap(ptr) {
|
|
14233
|
-
ptr = ptr >>> 0;
|
|
14234
14449
|
const obj = Object.create(TransferableGeometry.prototype);
|
|
14235
14450
|
obj.__wbg_ptr = ptr;
|
|
14236
14451
|
TransferableGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -14258,35 +14473,35 @@ export class TransferableGeometry {
|
|
|
14258
14473
|
*/
|
|
14259
14474
|
get normals() {
|
|
14260
14475
|
const ret = wasm.__wbg_get_transferablegeometry_normals(this.__wbg_ptr);
|
|
14261
|
-
return ret ===
|
|
14476
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
14262
14477
|
}
|
|
14263
14478
|
/**
|
|
14264
14479
|
* @returns {number | undefined}
|
|
14265
14480
|
*/
|
|
14266
14481
|
get skirt_indices() {
|
|
14267
14482
|
const ret = wasm.__wbg_get_transferablegeometry_skirt_indices(this.__wbg_ptr);
|
|
14268
|
-
return ret ===
|
|
14483
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
14269
14484
|
}
|
|
14270
14485
|
/**
|
|
14271
14486
|
* @returns {number | undefined}
|
|
14272
14487
|
*/
|
|
14273
14488
|
get skirt_normals() {
|
|
14274
14489
|
const ret = wasm.__wbg_get_transferablegeometry_skirt_normals(this.__wbg_ptr);
|
|
14275
|
-
return ret ===
|
|
14490
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
14276
14491
|
}
|
|
14277
14492
|
/**
|
|
14278
14493
|
* @returns {number | undefined}
|
|
14279
14494
|
*/
|
|
14280
14495
|
get skirt_uvs() {
|
|
14281
14496
|
const ret = wasm.__wbg_get_transferablegeometry_skirt_uvs(this.__wbg_ptr);
|
|
14282
|
-
return ret ===
|
|
14497
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
14283
14498
|
}
|
|
14284
14499
|
/**
|
|
14285
14500
|
* @returns {number | undefined}
|
|
14286
14501
|
*/
|
|
14287
14502
|
get skirt_vertices() {
|
|
14288
14503
|
const ret = wasm.__wbg_get_transferablegeometry_skirt_vertices(this.__wbg_ptr);
|
|
14289
|
-
return ret ===
|
|
14504
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
14290
14505
|
}
|
|
14291
14506
|
/**
|
|
14292
14507
|
* @returns {number}
|
|
@@ -14312,31 +14527,31 @@ export class TransferableGeometry {
|
|
|
14312
14527
|
* @param {number | null} [arg0]
|
|
14313
14528
|
*/
|
|
14314
14529
|
set normals(arg0) {
|
|
14315
|
-
wasm.__wbg_set_transferablegeometry_normals(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
14530
|
+
wasm.__wbg_set_transferablegeometry_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
14316
14531
|
}
|
|
14317
14532
|
/**
|
|
14318
14533
|
* @param {number | null} [arg0]
|
|
14319
14534
|
*/
|
|
14320
14535
|
set skirt_indices(arg0) {
|
|
14321
|
-
wasm.__wbg_set_transferablegeometry_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
14536
|
+
wasm.__wbg_set_transferablegeometry_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
14322
14537
|
}
|
|
14323
14538
|
/**
|
|
14324
14539
|
* @param {number | null} [arg0]
|
|
14325
14540
|
*/
|
|
14326
14541
|
set skirt_normals(arg0) {
|
|
14327
|
-
wasm.__wbg_set_transferablegeometry_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
14542
|
+
wasm.__wbg_set_transferablegeometry_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
14328
14543
|
}
|
|
14329
14544
|
/**
|
|
14330
14545
|
* @param {number | null} [arg0]
|
|
14331
14546
|
*/
|
|
14332
14547
|
set skirt_uvs(arg0) {
|
|
14333
|
-
wasm.__wbg_set_transferablegeometry_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
14548
|
+
wasm.__wbg_set_transferablegeometry_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
14334
14549
|
}
|
|
14335
14550
|
/**
|
|
14336
14551
|
* @param {number | null} [arg0]
|
|
14337
14552
|
*/
|
|
14338
14553
|
set skirt_vertices(arg0) {
|
|
14339
|
-
wasm.__wbg_set_transferablegeometry_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
14554
|
+
wasm.__wbg_set_transferablegeometry_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
14340
14555
|
}
|
|
14341
14556
|
/**
|
|
14342
14557
|
* @param {number} arg0
|
|
@@ -14357,7 +14572,7 @@ export class TransferableGeometry {
|
|
|
14357
14572
|
*/
|
|
14358
14573
|
constructor(vertices, uvs, indices) {
|
|
14359
14574
|
const ret = wasm.transferablegeometry_new(vertices, uvs, indices);
|
|
14360
|
-
this.__wbg_ptr = ret
|
|
14575
|
+
this.__wbg_ptr = ret;
|
|
14361
14576
|
TransferableGeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
14362
14577
|
return this;
|
|
14363
14578
|
}
|
|
@@ -14410,7 +14625,6 @@ if (Symbol.dispose) TransferableHoles.prototype[Symbol.dispose] = TransferableHo
|
|
|
14410
14625
|
|
|
14411
14626
|
export class TransferableMartini {
|
|
14412
14627
|
static __wrap(ptr) {
|
|
14413
|
-
ptr = ptr >>> 0;
|
|
14414
14628
|
const obj = Object.create(TransferableMartini.prototype);
|
|
14415
14629
|
obj.__wbg_ptr = ptr;
|
|
14416
14630
|
TransferableMartiniFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -14455,7 +14669,7 @@ export class TransferableMartini {
|
|
|
14455
14669
|
const ptr0 = passArray32ToWasm0(coords, wasm.__wbindgen_malloc);
|
|
14456
14670
|
const len0 = WASM_VECTOR_LEN;
|
|
14457
14671
|
const ret = wasm.transferablemartini_new(size, ptr0, len0);
|
|
14458
|
-
this.__wbg_ptr = ret
|
|
14672
|
+
this.__wbg_ptr = ret;
|
|
14459
14673
|
TransferableMartiniFinalization.register(this, this.__wbg_ptr, this);
|
|
14460
14674
|
return this;
|
|
14461
14675
|
}
|
|
@@ -14471,7 +14685,6 @@ if (Symbol.dispose) TransferableMartini.prototype[Symbol.dispose] = Transferable
|
|
|
14471
14685
|
|
|
14472
14686
|
export class TransferableModelGeometry {
|
|
14473
14687
|
static __wrap(ptr) {
|
|
14474
|
-
ptr = ptr >>> 0;
|
|
14475
14688
|
const obj = Object.create(TransferableModelGeometry.prototype);
|
|
14476
14689
|
obj.__wbg_ptr = ptr;
|
|
14477
14690
|
TransferableModelGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -14570,7 +14783,6 @@ if (Symbol.dispose) TransferableParsedMvtResult.prototype[Symbol.dispose] = Tran
|
|
|
14570
14783
|
|
|
14571
14784
|
export class TransferablePointGeometry {
|
|
14572
14785
|
static __wrap(ptr) {
|
|
14573
|
-
ptr = ptr >>> 0;
|
|
14574
14786
|
const obj = Object.create(TransferablePointGeometry.prototype);
|
|
14575
14787
|
obj.__wbg_ptr = ptr;
|
|
14576
14788
|
TransferablePointGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -14719,7 +14931,7 @@ export class TransferablePolygonBatchedFeature {
|
|
|
14719
14931
|
*/
|
|
14720
14932
|
constructor(crs, length) {
|
|
14721
14933
|
const ret = wasm.transferablepolygonbatchedfeature_constructor(crs, length);
|
|
14722
|
-
this.__wbg_ptr = ret
|
|
14934
|
+
this.__wbg_ptr = ret;
|
|
14723
14935
|
TransferablePolygonBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
|
|
14724
14936
|
return this;
|
|
14725
14937
|
}
|
|
@@ -14854,7 +15066,6 @@ if (Symbol.dispose) TransferablePolygonBatchedFeature.prototype[Symbol.dispose]
|
|
|
14854
15066
|
|
|
14855
15067
|
export class TransferablePolygonGeometry {
|
|
14856
15068
|
static __wrap(ptr) {
|
|
14857
|
-
ptr = ptr >>> 0;
|
|
14858
15069
|
const obj = Object.create(TransferablePolygonGeometry.prototype);
|
|
14859
15070
|
obj.__wbg_ptr = ptr;
|
|
14860
15071
|
TransferablePolygonGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -15056,7 +15267,7 @@ export class TransferablePolygonGeometry {
|
|
|
15056
15267
|
ptr6 = batch_index.__destroy_into_raw();
|
|
15057
15268
|
}
|
|
15058
15269
|
const ret = wasm.transferablepolygongeometry_new(ptr0, ptr1, ptr2, ptr3, ptr4, ptr5, ptr6, indices);
|
|
15059
|
-
this.__wbg_ptr = ret
|
|
15270
|
+
this.__wbg_ptr = ret;
|
|
15060
15271
|
TransferablePolygonGeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
15061
15272
|
return this;
|
|
15062
15273
|
}
|
|
@@ -15065,7 +15276,6 @@ if (Symbol.dispose) TransferablePolygonGeometry.prototype[Symbol.dispose] = Tran
|
|
|
15065
15276
|
|
|
15066
15277
|
export class TransferablePolygonOutlineGeometry {
|
|
15067
15278
|
static __wrap(ptr) {
|
|
15068
|
-
ptr = ptr >>> 0;
|
|
15069
15279
|
const obj = Object.create(TransferablePolygonOutlineGeometry.prototype);
|
|
15070
15280
|
obj.__wbg_ptr = ptr;
|
|
15071
15281
|
TransferablePolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -15107,7 +15317,7 @@ export class TransferablePolygonOutlineGeometry {
|
|
|
15107
15317
|
*/
|
|
15108
15318
|
get skip_indices() {
|
|
15109
15319
|
const ret = wasm.__wbg_get_transferablepolygonoutlinegeometry_skip_indices(this.__wbg_ptr);
|
|
15110
|
-
return ret ===
|
|
15320
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
15111
15321
|
}
|
|
15112
15322
|
/**
|
|
15113
15323
|
* @param {TransferableFloatAttribute | null} [arg0]
|
|
@@ -15146,7 +15356,7 @@ export class TransferablePolygonOutlineGeometry {
|
|
|
15146
15356
|
* @param {number | null} [arg0]
|
|
15147
15357
|
*/
|
|
15148
15358
|
set skip_indices(arg0) {
|
|
15149
|
-
wasm.__wbg_set_transferablepolygonoutlinegeometry_skip_indices(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
15359
|
+
wasm.__wbg_set_transferablepolygonoutlinegeometry_skip_indices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
15150
15360
|
}
|
|
15151
15361
|
/**
|
|
15152
15362
|
* @param {TransferableFloatAttribute | null} [position]
|
|
@@ -15170,8 +15380,8 @@ export class TransferablePolygonOutlineGeometry {
|
|
|
15170
15380
|
_assertClass(batch_index, TransferableFloatAttribute);
|
|
15171
15381
|
ptr2 = batch_index.__destroy_into_raw();
|
|
15172
15382
|
}
|
|
15173
|
-
const ret = wasm.transferablepolygonoutlinegeometry_new(ptr0, ptr1, isLikeNone(skip_indices) ?
|
|
15174
|
-
this.__wbg_ptr = ret
|
|
15383
|
+
const ret = wasm.transferablepolygonoutlinegeometry_new(ptr0, ptr1, isLikeNone(skip_indices) ? Number.MAX_SAFE_INTEGER : (skip_indices) >> 0, ptr2);
|
|
15384
|
+
this.__wbg_ptr = ret;
|
|
15175
15385
|
TransferablePolygonOutlineGeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
15176
15386
|
return this;
|
|
15177
15387
|
}
|
|
@@ -15224,7 +15434,7 @@ export class TransferablePolylineBatchedFeature {
|
|
|
15224
15434
|
*/
|
|
15225
15435
|
constructor(crs, length) {
|
|
15226
15436
|
const ret = wasm.transferablepolylinebatchedfeature_constructor(crs, length);
|
|
15227
|
-
this.__wbg_ptr = ret
|
|
15437
|
+
this.__wbg_ptr = ret;
|
|
15228
15438
|
TransferablePolylineBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
|
|
15229
15439
|
return this;
|
|
15230
15440
|
}
|
|
@@ -15289,7 +15499,6 @@ if (Symbol.dispose) TransferablePolylineBatchedFeature.prototype[Symbol.dispose]
|
|
|
15289
15499
|
|
|
15290
15500
|
export class TransferablePolylineGeometry {
|
|
15291
15501
|
static __wrap(ptr) {
|
|
15292
|
-
ptr = ptr >>> 0;
|
|
15293
15502
|
const obj = Object.create(TransferablePolylineGeometry.prototype);
|
|
15294
15503
|
obj.__wbg_ptr = ptr;
|
|
15295
15504
|
TransferablePolylineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -15647,7 +15856,7 @@ export class TransferablePolylineGeometry {
|
|
|
15647
15856
|
ptr13 = batch_index.__destroy_into_raw();
|
|
15648
15857
|
}
|
|
15649
15858
|
const ret = wasm.transferablepolylinegeometry_new(ptr0, ptr1, ptr2, ptr3, ptr4, ptr5, ptr6, ptr7, ptr8, ptr9, ptr10, ptr11, ptr12, ptr13, indices);
|
|
15650
|
-
this.__wbg_ptr = ret
|
|
15859
|
+
this.__wbg_ptr = ret;
|
|
15651
15860
|
TransferablePolylineGeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
15652
15861
|
return this;
|
|
15653
15862
|
}
|
|
@@ -15687,7 +15896,7 @@ export class TransferableRasterDEMData {
|
|
|
15687
15896
|
_assertClass(decoder, ElevationDecoder);
|
|
15688
15897
|
var ptr0 = decoder.__destroy_into_raw();
|
|
15689
15898
|
const ret = wasm.transferablerasterdemdata_new(ptr0);
|
|
15690
|
-
this.__wbg_ptr = ret
|
|
15899
|
+
this.__wbg_ptr = ret;
|
|
15691
15900
|
TransferableRasterDEMDataFinalization.register(this, this.__wbg_ptr, this);
|
|
15692
15901
|
return this;
|
|
15693
15902
|
}
|
|
@@ -15696,7 +15905,6 @@ if (Symbol.dispose) TransferableRasterDEMData.prototype[Symbol.dispose] = Transf
|
|
|
15696
15905
|
|
|
15697
15906
|
export class TransferableTile {
|
|
15698
15907
|
static __wrap(ptr) {
|
|
15699
|
-
ptr = ptr >>> 0;
|
|
15700
15908
|
const obj = Object.create(TransferableTile.prototype);
|
|
15701
15909
|
obj.__wbg_ptr = ptr;
|
|
15702
15910
|
TransferableTileFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -15786,7 +15994,7 @@ export class TransferableTile {
|
|
|
15786
15994
|
ptr1 = cached_mesh_handle.__destroy_into_raw();
|
|
15787
15995
|
}
|
|
15788
15996
|
const ret = wasm.transferabletile_new(ptr0, max_height, min_height, ptr1);
|
|
15789
|
-
this.__wbg_ptr = ret
|
|
15997
|
+
this.__wbg_ptr = ret;
|
|
15790
15998
|
TransferableTileFinalization.register(this, this.__wbg_ptr, this);
|
|
15791
15999
|
return this;
|
|
15792
16000
|
}
|
|
@@ -15795,7 +16003,6 @@ if (Symbol.dispose) TransferableTile.prototype[Symbol.dispose] = TransferableTil
|
|
|
15795
16003
|
|
|
15796
16004
|
export class TransferableUintAttribute {
|
|
15797
16005
|
static __wrap(ptr) {
|
|
15798
|
-
ptr = ptr >>> 0;
|
|
15799
16006
|
const obj = Object.create(TransferableUintAttribute.prototype);
|
|
15800
16007
|
obj.__wbg_ptr = ptr;
|
|
15801
16008
|
TransferableUintAttributeFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -15843,7 +16050,7 @@ export class TransferableUintAttribute {
|
|
|
15843
16050
|
*/
|
|
15844
16051
|
constructor(data, size) {
|
|
15845
16052
|
const ret = wasm.transferableuintattribute_new(data, size);
|
|
15846
|
-
this.__wbg_ptr = ret
|
|
16053
|
+
this.__wbg_ptr = ret;
|
|
15847
16054
|
TransferableUintAttributeFinalization.register(this, this.__wbg_ptr, this);
|
|
15848
16055
|
return this;
|
|
15849
16056
|
}
|
|
@@ -15852,7 +16059,6 @@ if (Symbol.dispose) TransferableUintAttribute.prototype[Symbol.dispose] = Transf
|
|
|
15852
16059
|
|
|
15853
16060
|
export class Transform {
|
|
15854
16061
|
static __wrap(ptr) {
|
|
15855
|
-
ptr = ptr >>> 0;
|
|
15856
16062
|
const obj = Object.create(Transform.prototype);
|
|
15857
16063
|
obj.__wbg_ptr = ptr;
|
|
15858
16064
|
TransformFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -16012,7 +16218,7 @@ export class Transform {
|
|
|
16012
16218
|
*/
|
|
16013
16219
|
constructor(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz) {
|
|
16014
16220
|
const ret = wasm.transform_new(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz);
|
|
16015
|
-
this.__wbg_ptr = ret
|
|
16221
|
+
this.__wbg_ptr = ret;
|
|
16016
16222
|
TransformFinalization.register(this, this.__wbg_ptr, this);
|
|
16017
16223
|
return this;
|
|
16018
16224
|
}
|
|
@@ -16051,7 +16257,7 @@ export class UintAttribute {
|
|
|
16051
16257
|
const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
|
|
16052
16258
|
const len0 = WASM_VECTOR_LEN;
|
|
16053
16259
|
const ret = wasm.uintattribute_new(ptr0, len0, size);
|
|
16054
|
-
this.__wbg_ptr = ret
|
|
16260
|
+
this.__wbg_ptr = ret;
|
|
16055
16261
|
UintAttributeFinalization.register(this, this.__wbg_ptr, this);
|
|
16056
16262
|
return this;
|
|
16057
16263
|
}
|
|
@@ -16095,7 +16301,7 @@ export class UpsamplableTerrainGeometry {
|
|
|
16095
16301
|
var ptr4 = isLikeNone(watermask) ? 0 : passArray8ToWasm0(watermask, wasm.__wbindgen_malloc);
|
|
16096
16302
|
var len4 = WASM_VECTOR_LEN;
|
|
16097
16303
|
const ret = wasm.upsamplableterraingeometry_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
16098
|
-
this.__wbg_ptr = ret
|
|
16304
|
+
this.__wbg_ptr = ret;
|
|
16099
16305
|
UpsamplableTerrainGeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
16100
16306
|
return this;
|
|
16101
16307
|
}
|
|
@@ -16104,7 +16310,6 @@ if (Symbol.dispose) UpsamplableTerrainGeometry.prototype[Symbol.dispose] = Upsam
|
|
|
16104
16310
|
|
|
16105
16311
|
export class UpsampleTerrainMeshParameters {
|
|
16106
16312
|
static __wrap(ptr) {
|
|
16107
|
-
ptr = ptr >>> 0;
|
|
16108
16313
|
const obj = Object.create(UpsampleTerrainMeshParameters.prototype);
|
|
16109
16314
|
obj.__wbg_ptr = ptr;
|
|
16110
16315
|
UpsampleTerrainMeshParametersFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -16209,7 +16414,7 @@ export class UpsampleTerrainMeshParameters {
|
|
|
16209
16414
|
*/
|
|
16210
16415
|
constructor(tile_handle, skirt, skirt_exaggeration) {
|
|
16211
16416
|
const ret = wasm.upsampleterrainmeshparameters_new(tile_handle, skirt, skirt_exaggeration);
|
|
16212
|
-
this.__wbg_ptr = ret
|
|
16417
|
+
this.__wbg_ptr = ret;
|
|
16213
16418
|
UpsampleTerrainMeshParametersFinalization.register(this, this.__wbg_ptr, this);
|
|
16214
16419
|
return this;
|
|
16215
16420
|
}
|
|
@@ -16218,7 +16423,6 @@ if (Symbol.dispose) UpsampleTerrainMeshParameters.prototype[Symbol.dispose] = Up
|
|
|
16218
16423
|
|
|
16219
16424
|
export class UpsampleTerrainMeshResult {
|
|
16220
16425
|
static __wrap(ptr) {
|
|
16221
|
-
ptr = ptr >>> 0;
|
|
16222
16426
|
const obj = Object.create(UpsampleTerrainMeshResult.prototype);
|
|
16223
16427
|
obj.__wbg_ptr = ptr;
|
|
16224
16428
|
UpsampleTerrainMeshResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -16274,7 +16478,7 @@ export class UpsampleTerrainMeshResult {
|
|
|
16274
16478
|
*/
|
|
16275
16479
|
get watermask() {
|
|
16276
16480
|
const ret = wasm.__wbg_get_upsampleterrainmeshresult_watermask(this.__wbg_ptr);
|
|
16277
|
-
return ret ===
|
|
16481
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
16278
16482
|
}
|
|
16279
16483
|
/**
|
|
16280
16484
|
* @param {TransferableGeometry} arg0
|
|
@@ -16317,7 +16521,7 @@ export class UpsampleTerrainMeshResult {
|
|
|
16317
16521
|
* @param {number | null} [arg0]
|
|
16318
16522
|
*/
|
|
16319
16523
|
set watermask(arg0) {
|
|
16320
|
-
wasm.__wbg_set_upsampleterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
16524
|
+
wasm.__wbg_set_upsampleterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
16321
16525
|
}
|
|
16322
16526
|
/**
|
|
16323
16527
|
* @param {TransferableGeometry} geometry
|
|
@@ -16335,7 +16539,7 @@ export class UpsampleTerrainMeshResult {
|
|
|
16335
16539
|
ptr1 = rtc_translation.__destroy_into_raw();
|
|
16336
16540
|
}
|
|
16337
16541
|
const ret = wasm.upsampleterrainmeshresult_new(ptr0, heights, min_height, max_height, ptr1);
|
|
16338
|
-
this.__wbg_ptr = ret
|
|
16542
|
+
this.__wbg_ptr = ret;
|
|
16339
16543
|
UpsampleTerrainMeshResultFinalization.register(this, this.__wbg_ptr, this);
|
|
16340
16544
|
return this;
|
|
16341
16545
|
}
|
|
@@ -16344,7 +16548,6 @@ if (Symbol.dispose) UpsampleTerrainMeshResult.prototype[Symbol.dispose] = Upsamp
|
|
|
16344
16548
|
|
|
16345
16549
|
export class Vec2 {
|
|
16346
16550
|
static __wrap(ptr) {
|
|
16347
|
-
ptr = ptr >>> 0;
|
|
16348
16551
|
const obj = Object.create(Vec2.prototype);
|
|
16349
16552
|
obj.__wbg_ptr = ptr;
|
|
16350
16553
|
Vec2Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -16392,7 +16595,7 @@ export class Vec2 {
|
|
|
16392
16595
|
*/
|
|
16393
16596
|
constructor(x, y) {
|
|
16394
16597
|
const ret = wasm.vec2_new(x, y);
|
|
16395
|
-
this.__wbg_ptr = ret
|
|
16598
|
+
this.__wbg_ptr = ret;
|
|
16396
16599
|
Vec2Finalization.register(this, this.__wbg_ptr, this);
|
|
16397
16600
|
return this;
|
|
16398
16601
|
}
|
|
@@ -16401,7 +16604,6 @@ if (Symbol.dispose) Vec2.prototype[Symbol.dispose] = Vec2.prototype.free;
|
|
|
16401
16604
|
|
|
16402
16605
|
export class Vec3 {
|
|
16403
16606
|
static __wrap(ptr) {
|
|
16404
|
-
ptr = ptr >>> 0;
|
|
16405
16607
|
const obj = Object.create(Vec3.prototype);
|
|
16406
16608
|
obj.__wbg_ptr = ptr;
|
|
16407
16609
|
Vec3Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -16463,7 +16665,7 @@ export class Vec3 {
|
|
|
16463
16665
|
*/
|
|
16464
16666
|
constructor(x, y, z) {
|
|
16465
16667
|
const ret = wasm.vec3_new(x, y, z);
|
|
16466
|
-
this.__wbg_ptr = ret
|
|
16668
|
+
this.__wbg_ptr = ret;
|
|
16467
16669
|
Vec3Finalization.register(this, this.__wbg_ptr, this);
|
|
16468
16670
|
return this;
|
|
16469
16671
|
}
|
|
@@ -16672,21 +16874,21 @@ export class VectorTileSourceDescription {
|
|
|
16672
16874
|
*/
|
|
16673
16875
|
get maxSse() {
|
|
16674
16876
|
const ret = wasm.__wbg_get_vectortilesourcedescription_maxSse(this.__wbg_ptr);
|
|
16675
|
-
return ret ===
|
|
16877
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
16676
16878
|
}
|
|
16677
16879
|
/**
|
|
16678
16880
|
* @returns {number | undefined}
|
|
16679
16881
|
*/
|
|
16680
16882
|
get maxZoom() {
|
|
16681
16883
|
const ret = wasm.__wbg_get_vectortilesourcedescription_maxZoom(this.__wbg_ptr);
|
|
16682
|
-
return ret ===
|
|
16884
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
16683
16885
|
}
|
|
16684
16886
|
/**
|
|
16685
16887
|
* @returns {number | undefined}
|
|
16686
16888
|
*/
|
|
16687
16889
|
get overscaledMaxZoom() {
|
|
16688
16890
|
const ret = wasm.__wbg_get_vectortilesourcedescription_overscaledMaxZoom(this.__wbg_ptr);
|
|
16689
|
-
return ret ===
|
|
16891
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
16690
16892
|
}
|
|
16691
16893
|
/**
|
|
16692
16894
|
* @returns {string | undefined}
|
|
@@ -16724,19 +16926,19 @@ export class VectorTileSourceDescription {
|
|
|
16724
16926
|
* @param {number | null} [arg0]
|
|
16725
16927
|
*/
|
|
16726
16928
|
set maxSse(arg0) {
|
|
16727
|
-
wasm.__wbg_set_vectortilesourcedescription_maxSse(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
16929
|
+
wasm.__wbg_set_vectortilesourcedescription_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
16728
16930
|
}
|
|
16729
16931
|
/**
|
|
16730
16932
|
* @param {number | null} [arg0]
|
|
16731
16933
|
*/
|
|
16732
16934
|
set maxZoom(arg0) {
|
|
16733
|
-
wasm.__wbg_set_vectortilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
16935
|
+
wasm.__wbg_set_vectortilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
16734
16936
|
}
|
|
16735
16937
|
/**
|
|
16736
16938
|
* @param {number | null} [arg0]
|
|
16737
16939
|
*/
|
|
16738
16940
|
set overscaledMaxZoom(arg0) {
|
|
16739
|
-
wasm.__wbg_set_vectortilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
16941
|
+
wasm.__wbg_set_vectortilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
16740
16942
|
}
|
|
16741
16943
|
/**
|
|
16742
16944
|
* @param {string | null} [arg0]
|
|
@@ -16766,7 +16968,6 @@ if (Symbol.dispose) VectorTileSourceDescription.prototype[Symbol.dispose] = Vect
|
|
|
16766
16968
|
*/
|
|
16767
16969
|
export class VectorTileState {
|
|
16768
16970
|
static __wrap(ptr) {
|
|
16769
|
-
ptr = ptr >>> 0;
|
|
16770
16971
|
const obj = Object.create(VectorTileState.prototype);
|
|
16771
16972
|
obj.__wbg_ptr = ptr;
|
|
16772
16973
|
VectorTileStateFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -16956,7 +17157,7 @@ export class Window {
|
|
|
16956
17157
|
*/
|
|
16957
17158
|
constructor(width, height, pixel_ratio) {
|
|
16958
17159
|
const ret = wasm.window_new(width, height, pixel_ratio);
|
|
16959
|
-
this.__wbg_ptr = ret
|
|
17160
|
+
this.__wbg_ptr = ret;
|
|
16960
17161
|
WindowFinalization.register(this, this.__wbg_ptr, this);
|
|
16961
17162
|
return this;
|
|
16962
17163
|
}
|
|
@@ -16965,7 +17166,6 @@ if (Symbol.dispose) Window.prototype[Symbol.dispose] = Window.prototype.free;
|
|
|
16965
17166
|
|
|
16966
17167
|
export class WorkerTaskDelegatedEvent {
|
|
16967
17168
|
static __wrap(ptr) {
|
|
16968
|
-
ptr = ptr >>> 0;
|
|
16969
17169
|
const obj = Object.create(WorkerTaskDelegatedEvent.prototype);
|
|
16970
17170
|
obj.__wbg_ptr = ptr;
|
|
16971
17171
|
WorkerTaskDelegatedEventFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -17054,6 +17254,24 @@ export function generateId() {
|
|
|
17054
17254
|
}
|
|
17055
17255
|
}
|
|
17056
17256
|
|
|
17257
|
+
/**
|
|
17258
|
+
* WebMercator northing `ln(tan(lat/2 + π/4))` for a latitude in radians,
|
|
17259
|
+
* clamped to the valid WebMercator band (~±85.05°).
|
|
17260
|
+
*
|
|
17261
|
+
* Exported so the web composite paste (`mutates.ts`) derives its per-slot
|
|
17262
|
+
* reprojection constants from the same clamped math the Rust bake affine uses
|
|
17263
|
+
* (`uv_rect_from_extents_mercator`) — the two sides must agree or the pasted
|
|
17264
|
+
* latitude band drifts off the baked render target. A TS reimplementation
|
|
17265
|
+
* also returned NaN for the unclamped polar band (±90° as f32), which
|
|
17266
|
+
* silently disabled reprojection via the shader's span guard.
|
|
17267
|
+
* @param {number} lat
|
|
17268
|
+
* @returns {number}
|
|
17269
|
+
*/
|
|
17270
|
+
export function mercatorY(lat) {
|
|
17271
|
+
const ret = wasm.mercatorY(lat);
|
|
17272
|
+
return ret;
|
|
17273
|
+
}
|
|
17274
|
+
|
|
17057
17275
|
/**
|
|
17058
17276
|
* @param {bigint} child
|
|
17059
17277
|
* @param {bigint} parent
|
|
@@ -17070,11 +17288,11 @@ export function start() {
|
|
|
17070
17288
|
function __wbg_get_imports() {
|
|
17071
17289
|
const import0 = {
|
|
17072
17290
|
__proto__: null,
|
|
17073
|
-
|
|
17291
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
17074
17292
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
17075
17293
|
return ret;
|
|
17076
17294
|
},
|
|
17077
|
-
|
|
17295
|
+
__wbg_Number_9a4e0ecb0fa16705: function(arg0) {
|
|
17078
17296
|
const ret = Number(arg0);
|
|
17079
17297
|
return ret;
|
|
17080
17298
|
},
|
|
@@ -17085,72 +17303,72 @@ function __wbg_get_imports() {
|
|
|
17085
17303
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
17086
17304
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
17087
17305
|
},
|
|
17088
|
-
|
|
17306
|
+
__wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
|
|
17089
17307
|
const v = arg1;
|
|
17090
17308
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
17091
17309
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
17092
17310
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
17093
17311
|
},
|
|
17094
|
-
|
|
17312
|
+
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
17095
17313
|
const v = arg0;
|
|
17096
17314
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
17097
17315
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
17098
17316
|
},
|
|
17099
|
-
|
|
17317
|
+
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
17100
17318
|
const ret = debugString(arg1);
|
|
17101
17319
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
17102
17320
|
const len1 = WASM_VECTOR_LEN;
|
|
17103
17321
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
17104
17322
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
17105
17323
|
},
|
|
17106
|
-
|
|
17324
|
+
__wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
|
|
17107
17325
|
const ret = arg0 in arg1;
|
|
17108
17326
|
return ret;
|
|
17109
17327
|
},
|
|
17110
|
-
|
|
17328
|
+
__wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
|
|
17111
17329
|
const ret = typeof(arg0) === 'bigint';
|
|
17112
17330
|
return ret;
|
|
17113
17331
|
},
|
|
17114
|
-
|
|
17332
|
+
__wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
|
|
17115
17333
|
const ret = typeof(arg0) === 'function';
|
|
17116
17334
|
return ret;
|
|
17117
17335
|
},
|
|
17118
|
-
|
|
17336
|
+
__wbg___wbindgen_is_null_ea9085d691f535d3: function(arg0) {
|
|
17119
17337
|
const ret = arg0 === null;
|
|
17120
17338
|
return ret;
|
|
17121
17339
|
},
|
|
17122
|
-
|
|
17340
|
+
__wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
|
|
17123
17341
|
const val = arg0;
|
|
17124
17342
|
const ret = typeof(val) === 'object' && val !== null;
|
|
17125
17343
|
return ret;
|
|
17126
17344
|
},
|
|
17127
|
-
|
|
17345
|
+
__wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
|
|
17128
17346
|
const ret = typeof(arg0) === 'string';
|
|
17129
17347
|
return ret;
|
|
17130
17348
|
},
|
|
17131
|
-
|
|
17349
|
+
__wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
|
|
17132
17350
|
const ret = arg0 === undefined;
|
|
17133
17351
|
return ret;
|
|
17134
17352
|
},
|
|
17135
|
-
|
|
17353
|
+
__wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
|
|
17136
17354
|
const ret = arg0 === arg1;
|
|
17137
17355
|
return ret;
|
|
17138
17356
|
},
|
|
17139
|
-
|
|
17357
|
+
__wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
|
|
17140
17358
|
const ret = arg0 == arg1;
|
|
17141
17359
|
return ret;
|
|
17142
17360
|
},
|
|
17143
|
-
|
|
17361
|
+
__wbg___wbindgen_memory_de265df8aadd6273: function() {
|
|
17144
17362
|
const ret = wasm.memory;
|
|
17145
17363
|
return ret;
|
|
17146
17364
|
},
|
|
17147
|
-
|
|
17365
|
+
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
|
|
17148
17366
|
const obj = arg1;
|
|
17149
17367
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
17150
17368
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
17151
17369
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
17152
17370
|
},
|
|
17153
|
-
|
|
17371
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
17154
17372
|
const obj = arg1;
|
|
17155
17373
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
17156
17374
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -17158,32 +17376,26 @@ function __wbg_get_imports() {
|
|
|
17158
17376
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
17159
17377
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
17160
17378
|
},
|
|
17161
|
-
|
|
17379
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
17162
17380
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
17163
17381
|
},
|
|
17164
|
-
|
|
17165
|
-
let result;
|
|
17166
|
-
try { result = +arg0 } catch (e) { result = e }
|
|
17167
|
-
const ret = result;
|
|
17168
|
-
return ret;
|
|
17169
|
-
},
|
|
17170
|
-
__wbg_buffer_0377ff0622c5de76: function(arg0) {
|
|
17382
|
+
__wbg_buffer_0f212447ac64c53b: function(arg0) {
|
|
17171
17383
|
const ret = arg0.buffer;
|
|
17172
17384
|
return ret;
|
|
17173
17385
|
},
|
|
17174
|
-
|
|
17175
|
-
const ret = arg0.call(arg1);
|
|
17386
|
+
__wbg_call_44b7209e1e252e6a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
17387
|
+
const ret = arg0.call(arg1, arg2, arg3, arg4);
|
|
17176
17388
|
return ret;
|
|
17177
17389
|
}, arguments); },
|
|
17178
|
-
|
|
17179
|
-
const ret = arg0.call(arg1
|
|
17390
|
+
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
17391
|
+
const ret = arg0.call(arg1);
|
|
17180
17392
|
return ret;
|
|
17181
17393
|
}, arguments); },
|
|
17182
|
-
|
|
17394
|
+
__wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
|
|
17183
17395
|
const ret = arg0.call(arg1, arg2);
|
|
17184
17396
|
return ret;
|
|
17185
17397
|
}, arguments); },
|
|
17186
|
-
|
|
17398
|
+
__wbg_call_e3b662382210db98: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
17187
17399
|
const ret = arg0.call(arg1, arg2, arg3);
|
|
17188
17400
|
return ret;
|
|
17189
17401
|
}, arguments); },
|
|
@@ -17195,7 +17407,7 @@ function __wbg_get_imports() {
|
|
|
17195
17407
|
const ret = DataRequestEvent.__wrap(arg0);
|
|
17196
17408
|
return ret;
|
|
17197
17409
|
},
|
|
17198
|
-
|
|
17410
|
+
__wbg_done_89b2b13e91a60321: function(arg0) {
|
|
17199
17411
|
const ret = arg0.done;
|
|
17200
17412
|
return ret;
|
|
17201
17413
|
},
|
|
@@ -17203,33 +17415,22 @@ function __wbg_get_imports() {
|
|
|
17203
17415
|
const ret = EntityEvent.__wrap(arg0);
|
|
17204
17416
|
return ret;
|
|
17205
17417
|
},
|
|
17206
|
-
|
|
17418
|
+
__wbg_entries_015dc610cd81ede0: function(arg0) {
|
|
17207
17419
|
const ret = Object.entries(arg0);
|
|
17208
17420
|
return ret;
|
|
17209
17421
|
},
|
|
17210
|
-
|
|
17211
|
-
let deferred0_0;
|
|
17212
|
-
let deferred0_1;
|
|
17213
|
-
try {
|
|
17214
|
-
deferred0_0 = arg0;
|
|
17215
|
-
deferred0_1 = arg1;
|
|
17216
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
17217
|
-
} finally {
|
|
17218
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
17219
|
-
}
|
|
17220
|
-
},
|
|
17221
|
-
__wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
|
|
17422
|
+
__wbg_getRandomValues_cc7f052a444bb2ce: function() { return handleError(function (arg0, arg1) {
|
|
17222
17423
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
17223
17424
|
}, arguments); },
|
|
17224
|
-
|
|
17225
|
-
const ret = Reflect.get(arg0, arg1);
|
|
17226
|
-
return ret;
|
|
17227
|
-
}, arguments); },
|
|
17228
|
-
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
17425
|
+
__wbg_get_507a50627bffa49b: function(arg0, arg1) {
|
|
17229
17426
|
const ret = arg0[arg1 >>> 0];
|
|
17230
17427
|
return ret;
|
|
17231
17428
|
},
|
|
17232
|
-
|
|
17429
|
+
__wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
|
|
17430
|
+
const ret = Reflect.get(arg0, arg1);
|
|
17431
|
+
return ret;
|
|
17432
|
+
}, arguments); },
|
|
17433
|
+
__wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
|
|
17233
17434
|
const ret = arg0[arg1 >>> 0];
|
|
17234
17435
|
return ret;
|
|
17235
17436
|
},
|
|
@@ -17241,7 +17442,7 @@ function __wbg_get_imports() {
|
|
|
17241
17442
|
const ret = HillshadeBackfilledEvent.__wrap(arg0);
|
|
17242
17443
|
return ret;
|
|
17243
17444
|
},
|
|
17244
|
-
|
|
17445
|
+
__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
|
|
17245
17446
|
let result;
|
|
17246
17447
|
try {
|
|
17247
17448
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -17251,7 +17452,7 @@ function __wbg_get_imports() {
|
|
|
17251
17452
|
const ret = result;
|
|
17252
17453
|
return ret;
|
|
17253
17454
|
},
|
|
17254
|
-
|
|
17455
|
+
__wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
|
|
17255
17456
|
let result;
|
|
17256
17457
|
try {
|
|
17257
17458
|
result = arg0 instanceof Map;
|
|
@@ -17261,7 +17462,7 @@ function __wbg_get_imports() {
|
|
|
17261
17462
|
const ret = result;
|
|
17262
17463
|
return ret;
|
|
17263
17464
|
},
|
|
17264
|
-
|
|
17465
|
+
__wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
|
|
17265
17466
|
let result;
|
|
17266
17467
|
try {
|
|
17267
17468
|
result = arg0 instanceof Uint8Array;
|
|
@@ -17271,35 +17472,35 @@ function __wbg_get_imports() {
|
|
|
17271
17472
|
const ret = result;
|
|
17272
17473
|
return ret;
|
|
17273
17474
|
},
|
|
17274
|
-
|
|
17475
|
+
__wbg_isArray_0677c962b281d01a: function(arg0) {
|
|
17275
17476
|
const ret = Array.isArray(arg0);
|
|
17276
17477
|
return ret;
|
|
17277
17478
|
},
|
|
17278
|
-
|
|
17479
|
+
__wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
|
|
17279
17480
|
const ret = Number.isSafeInteger(arg0);
|
|
17280
17481
|
return ret;
|
|
17281
17482
|
},
|
|
17282
|
-
|
|
17483
|
+
__wbg_iterator_6f722e4a93058b71: function() {
|
|
17283
17484
|
const ret = Symbol.iterator;
|
|
17284
17485
|
return ret;
|
|
17285
17486
|
},
|
|
17286
|
-
|
|
17487
|
+
__wbg_length_0133fa10e3234c57: function(arg0) {
|
|
17287
17488
|
const ret = arg0.length;
|
|
17288
17489
|
return ret;
|
|
17289
17490
|
},
|
|
17290
|
-
|
|
17491
|
+
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
17291
17492
|
const ret = arg0.length;
|
|
17292
17493
|
return ret;
|
|
17293
17494
|
},
|
|
17294
|
-
|
|
17495
|
+
__wbg_length_370319915dc99107: function(arg0) {
|
|
17295
17496
|
const ret = arg0.length;
|
|
17296
17497
|
return ret;
|
|
17297
17498
|
},
|
|
17298
|
-
|
|
17499
|
+
__wbg_length_381d540857ec99e8: function(arg0) {
|
|
17299
17500
|
const ret = arg0.length;
|
|
17300
17501
|
return ret;
|
|
17301
17502
|
},
|
|
17302
|
-
|
|
17503
|
+
__wbg_length_98f10d1e2f4ea968: function(arg0) {
|
|
17303
17504
|
const ret = arg0.length;
|
|
17304
17505
|
return ret;
|
|
17305
17506
|
},
|
|
@@ -17307,50 +17508,9 @@ function __wbg_get_imports() {
|
|
|
17307
17508
|
const ret = LLE.__wrap(arg0);
|
|
17308
17509
|
return ret;
|
|
17309
17510
|
},
|
|
17310
|
-
__wbg_log_0c201ade58bb55e1: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
17311
|
-
let deferred0_0;
|
|
17312
|
-
let deferred0_1;
|
|
17313
|
-
try {
|
|
17314
|
-
deferred0_0 = arg0;
|
|
17315
|
-
deferred0_1 = arg1;
|
|
17316
|
-
console.log(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
|
|
17317
|
-
} finally {
|
|
17318
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
17319
|
-
}
|
|
17320
|
-
},
|
|
17321
17511
|
__wbg_log_4b4c9fd369267eb9: function(arg0, arg1) {
|
|
17322
17512
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
17323
17513
|
},
|
|
17324
|
-
__wbg_log_ce2c4456b290c5e7: function(arg0, arg1) {
|
|
17325
|
-
let deferred0_0;
|
|
17326
|
-
let deferred0_1;
|
|
17327
|
-
try {
|
|
17328
|
-
deferred0_0 = arg0;
|
|
17329
|
-
deferred0_1 = arg1;
|
|
17330
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
17331
|
-
} finally {
|
|
17332
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
17333
|
-
}
|
|
17334
|
-
},
|
|
17335
|
-
__wbg_mark_b4d943f3bc2d2404: function(arg0, arg1) {
|
|
17336
|
-
performance.mark(getStringFromWasm0(arg0, arg1));
|
|
17337
|
-
},
|
|
17338
|
-
__wbg_measure_84362959e621a2c1: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
17339
|
-
let deferred0_0;
|
|
17340
|
-
let deferred0_1;
|
|
17341
|
-
let deferred1_0;
|
|
17342
|
-
let deferred1_1;
|
|
17343
|
-
try {
|
|
17344
|
-
deferred0_0 = arg0;
|
|
17345
|
-
deferred0_1 = arg1;
|
|
17346
|
-
deferred1_0 = arg2;
|
|
17347
|
-
deferred1_1 = arg3;
|
|
17348
|
-
performance.measure(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
17349
|
-
} finally {
|
|
17350
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
17351
|
-
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
17352
|
-
}
|
|
17353
|
-
}, arguments); },
|
|
17354
17514
|
__wbg_meshadded_new: function(arg0) {
|
|
17355
17515
|
const ret = MeshAdded.__wrap(arg0);
|
|
17356
17516
|
return ret;
|
|
@@ -17359,73 +17519,73 @@ function __wbg_get_imports() {
|
|
|
17359
17519
|
const ret = MeshChanged.__wrap(arg0);
|
|
17360
17520
|
return ret;
|
|
17361
17521
|
},
|
|
17362
|
-
|
|
17363
|
-
const ret = new
|
|
17522
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
17523
|
+
const ret = new Array();
|
|
17364
17524
|
return ret;
|
|
17365
17525
|
},
|
|
17366
|
-
|
|
17526
|
+
__wbg_new_80efd62ef570c5de: function(arg0) {
|
|
17367
17527
|
const ret = new Float64Array(arg0);
|
|
17368
17528
|
return ret;
|
|
17369
17529
|
},
|
|
17370
|
-
|
|
17371
|
-
const ret = new
|
|
17372
|
-
return ret;
|
|
17373
|
-
},
|
|
17374
|
-
__wbg_new_682678e2f47e32bc: function() {
|
|
17375
|
-
const ret = new Array();
|
|
17530
|
+
__wbg_new_92a08b12c30e98e8: function(arg0) {
|
|
17531
|
+
const ret = new Float32Array(arg0);
|
|
17376
17532
|
return ret;
|
|
17377
17533
|
},
|
|
17378
|
-
|
|
17379
|
-
const ret = new
|
|
17534
|
+
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
17535
|
+
const ret = new Uint8Array(arg0);
|
|
17380
17536
|
return ret;
|
|
17381
17537
|
},
|
|
17382
|
-
|
|
17538
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
17383
17539
|
const ret = new Object();
|
|
17384
17540
|
return ret;
|
|
17385
17541
|
},
|
|
17386
|
-
|
|
17387
|
-
const ret = new
|
|
17542
|
+
__wbg_new_dfd44b7151fab657: function(arg0) {
|
|
17543
|
+
const ret = new Uint32Array(arg0);
|
|
17388
17544
|
return ret;
|
|
17389
17545
|
},
|
|
17390
|
-
|
|
17391
|
-
const ret = new
|
|
17546
|
+
__wbg_new_with_byte_offset_and_length_1fdfe3033ce1dccd: function(arg0, arg1, arg2) {
|
|
17547
|
+
const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
17392
17548
|
return ret;
|
|
17393
17549
|
},
|
|
17394
|
-
|
|
17550
|
+
__wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
|
|
17395
17551
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
17396
17552
|
return ret;
|
|
17397
17553
|
},
|
|
17398
|
-
|
|
17399
|
-
const ret = new
|
|
17554
|
+
__wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
|
|
17555
|
+
const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
17400
17556
|
return ret;
|
|
17401
17557
|
},
|
|
17402
|
-
|
|
17403
|
-
const ret = new
|
|
17558
|
+
__wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
|
|
17559
|
+
const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
17404
17560
|
return ret;
|
|
17405
17561
|
},
|
|
17406
|
-
|
|
17562
|
+
__wbg_new_with_length_f8cbc3a5b9ff9368: function(arg0) {
|
|
17407
17563
|
const ret = new Array(arg0 >>> 0);
|
|
17408
17564
|
return ret;
|
|
17409
17565
|
},
|
|
17410
|
-
|
|
17411
|
-
const ret = arg0.next();
|
|
17412
|
-
return ret;
|
|
17413
|
-
}, arguments); },
|
|
17414
|
-
__wbg_next_7646edaa39458ef7: function(arg0) {
|
|
17566
|
+
__wbg_next_6dbf2c0ac8cde20f: function(arg0) {
|
|
17415
17567
|
const ret = arg0.next;
|
|
17416
17568
|
return ret;
|
|
17417
17569
|
},
|
|
17570
|
+
__wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
|
|
17571
|
+
const ret = arg0.next();
|
|
17572
|
+
return ret;
|
|
17573
|
+
}, arguments); },
|
|
17418
17574
|
__wbg_objecttransformevent_new: function(arg0) {
|
|
17419
17575
|
const ret = ObjectTransformEvent.__wrap(arg0);
|
|
17420
17576
|
return ret;
|
|
17421
17577
|
},
|
|
17422
|
-
|
|
17578
|
+
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
17423
17579
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
17424
17580
|
},
|
|
17425
|
-
|
|
17581
|
+
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
17426
17582
|
const ret = arg0.push(arg1);
|
|
17427
17583
|
return ret;
|
|
17428
17584
|
},
|
|
17585
|
+
__wbg_rastertilestate_new: function(arg0) {
|
|
17586
|
+
const ret = RasterTileState.__wrap(arg0);
|
|
17587
|
+
return ret;
|
|
17588
|
+
},
|
|
17429
17589
|
__wbg_renderablefeatureaddedevent_new: function(arg0) {
|
|
17430
17590
|
const ret = RenderableFeatureAddedEvent.__wrap(arg0);
|
|
17431
17591
|
return ret;
|
|
@@ -17438,32 +17598,25 @@ function __wbg_get_imports() {
|
|
|
17438
17598
|
const ret = RenderableFeatureRemovedEvent.__wrap(arg0);
|
|
17439
17599
|
return ret;
|
|
17440
17600
|
},
|
|
17441
|
-
|
|
17601
|
+
__wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
|
|
17602
|
+
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
17603
|
+
},
|
|
17604
|
+
__wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
|
|
17605
|
+
arg0.set(getArrayF64FromWasm0(arg1, arg2));
|
|
17606
|
+
},
|
|
17607
|
+
__wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
|
|
17608
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
17609
|
+
},
|
|
17610
|
+
__wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
|
|
17442
17611
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
17443
17612
|
return ret;
|
|
17444
17613
|
}, arguments); },
|
|
17445
|
-
|
|
17614
|
+
__wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
|
|
17446
17615
|
arg0[arg1 >>> 0] = arg2;
|
|
17447
17616
|
},
|
|
17448
|
-
|
|
17449
|
-
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
17450
|
-
},
|
|
17451
|
-
__wbg_set_5637e648df81c8e5: function(arg0, arg1, arg2) {
|
|
17452
|
-
arg0.set(getArrayF64FromWasm0(arg1, arg2));
|
|
17453
|
-
},
|
|
17454
|
-
__wbg_set_95a66997655120e2: function(arg0, arg1, arg2) {
|
|
17617
|
+
__wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
|
|
17455
17618
|
arg0.set(getArrayU32FromWasm0(arg1, arg2));
|
|
17456
17619
|
},
|
|
17457
|
-
__wbg_set_c625d5a9e6b7554b: function(arg0, arg1, arg2) {
|
|
17458
|
-
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
17459
|
-
},
|
|
17460
|
-
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
17461
|
-
const ret = arg1.stack;
|
|
17462
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
17463
|
-
const len1 = WASM_VECTOR_LEN;
|
|
17464
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
17465
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
17466
|
-
},
|
|
17467
17620
|
__wbg_terrainheightupdatedevent_new: function(arg0) {
|
|
17468
17621
|
const ret = TerrainHeightUpdatedEvent.__wrap(arg0);
|
|
17469
17622
|
return ret;
|
|
@@ -17480,7 +17633,7 @@ function __wbg_get_imports() {
|
|
|
17480
17633
|
const ret = TileUvTransform.__wrap(arg0);
|
|
17481
17634
|
return ret;
|
|
17482
17635
|
},
|
|
17483
|
-
|
|
17636
|
+
__wbg_value_a5d5488a9589444a: function(arg0) {
|
|
17484
17637
|
const ret = arg0.value;
|
|
17485
17638
|
return ret;
|
|
17486
17639
|
},
|
|
@@ -17530,424 +17683,427 @@ function __wbg_get_imports() {
|
|
|
17530
17683
|
|
|
17531
17684
|
const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17532
17685
|
? { register: () => {}, unregister: () => {} }
|
|
17533
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr
|
|
17686
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
|
|
17534
17687
|
const B3dmLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17535
17688
|
? { register: () => {}, unregister: () => {} }
|
|
17536
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_b3dmlayerdescription_free(ptr
|
|
17689
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_b3dmlayerdescription_free(ptr, 1));
|
|
17537
17690
|
const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17538
17691
|
? { register: () => {}, unregister: () => {} }
|
|
17539
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr
|
|
17692
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
|
|
17540
17693
|
const BillboardMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17541
17694
|
? { register: () => {}, unregister: () => {} }
|
|
17542
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr
|
|
17695
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr, 1));
|
|
17543
17696
|
const BillboardMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17544
17697
|
? { register: () => {}, unregister: () => {} }
|
|
17545
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmesh_free(ptr
|
|
17698
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmesh_free(ptr, 1));
|
|
17546
17699
|
const BoundingSphereFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17547
17700
|
? { register: () => {}, unregister: () => {} }
|
|
17548
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr
|
|
17701
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr, 1));
|
|
17549
17702
|
const CachedMeshHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17550
17703
|
? { register: () => {}, unregister: () => {} }
|
|
17551
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr
|
|
17704
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr, 1));
|
|
17552
17705
|
const CameraControlUpdateEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17553
17706
|
? { register: () => {}, unregister: () => {} }
|
|
17554
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr
|
|
17707
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr, 1));
|
|
17555
17708
|
const CameraFrustumFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17556
17709
|
? { register: () => {}, unregister: () => {} }
|
|
17557
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr
|
|
17710
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr, 1));
|
|
17558
17711
|
const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17559
17712
|
? { register: () => {}, unregister: () => {} }
|
|
17560
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr
|
|
17713
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr, 1));
|
|
17561
17714
|
const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17562
17715
|
? { register: () => {}, unregister: () => {} }
|
|
17563
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr
|
|
17716
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
|
|
17564
17717
|
const Cesium3dTilesLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17565
17718
|
? { register: () => {}, unregister: () => {} }
|
|
17566
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cesium3dtileslayerdescription_free(ptr
|
|
17719
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cesium3dtileslayerdescription_free(ptr, 1));
|
|
17567
17720
|
const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17568
17721
|
? { register: () => {}, unregister: () => {} }
|
|
17569
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr
|
|
17722
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
|
|
17570
17723
|
const CompiledFilterFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17571
17724
|
? { register: () => {}, unregister: () => {} }
|
|
17572
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr
|
|
17725
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr, 1));
|
|
17573
17726
|
const ConstructPolygonBatchedFeatureParametersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17574
17727
|
? { register: () => {}, unregister: () => {} }
|
|
17575
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureparameters_free(ptr
|
|
17728
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureparameters_free(ptr, 1));
|
|
17576
17729
|
const ConstructPolygonBatchedFeatureResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17577
17730
|
? { register: () => {}, unregister: () => {} }
|
|
17578
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureresult_free(ptr
|
|
17731
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureresult_free(ptr, 1));
|
|
17579
17732
|
const ConstructPolylineBatchedFeatureParametersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17580
17733
|
? { register: () => {}, unregister: () => {} }
|
|
17581
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureparameters_free(ptr
|
|
17734
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureparameters_free(ptr, 1));
|
|
17582
17735
|
const ConstructPolylineBatchedFeatureResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17583
17736
|
? { register: () => {}, unregister: () => {} }
|
|
17584
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureresult_free(ptr
|
|
17737
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureresult_free(ptr, 1));
|
|
17585
17738
|
const ConstructTerrainMeshParametersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17586
17739
|
? { register: () => {}, unregister: () => {} }
|
|
17587
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshparameters_free(ptr
|
|
17740
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshparameters_free(ptr, 1));
|
|
17588
17741
|
const ConstructTerrainMeshResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17589
17742
|
? { register: () => {}, unregister: () => {} }
|
|
17590
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshresult_free(ptr
|
|
17743
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshresult_free(ptr, 1));
|
|
17591
17744
|
const ConstructedPolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17592
17745
|
? { register: () => {}, unregister: () => {} }
|
|
17593
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr
|
|
17746
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr, 1));
|
|
17594
17747
|
const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17595
17748
|
? { register: () => {}, unregister: () => {} }
|
|
17596
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr
|
|
17749
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr, 1));
|
|
17597
17750
|
const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17598
17751
|
? { register: () => {}, unregister: () => {} }
|
|
17599
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr
|
|
17752
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
|
|
17600
17753
|
const CoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17601
17754
|
? { register: () => {}, unregister: () => {} }
|
|
17602
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_core_free(ptr
|
|
17755
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_core_free(ptr, 1));
|
|
17603
17756
|
const DataRequestEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17604
17757
|
? { register: () => {}, unregister: () => {} }
|
|
17605
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_datarequestevent_free(ptr
|
|
17758
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_datarequestevent_free(ptr, 1));
|
|
17606
17759
|
const DataRequesterRemovedEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17607
17760
|
? { register: () => {}, unregister: () => {} }
|
|
17608
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_datarequesterremovedevent_free(ptr
|
|
17761
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_datarequesterremovedevent_free(ptr, 1));
|
|
17609
17762
|
const DelegatedWorkerTasksParametersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17610
17763
|
? { register: () => {}, unregister: () => {} }
|
|
17611
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksparameters_free(ptr
|
|
17764
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksparameters_free(ptr, 1));
|
|
17612
17765
|
const DelegatedWorkerTasksResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17613
17766
|
? { register: () => {}, unregister: () => {} }
|
|
17614
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksresult_free(ptr
|
|
17767
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksresult_free(ptr, 1));
|
|
17615
17768
|
const DynamicSseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17616
17769
|
? { register: () => {}, unregister: () => {} }
|
|
17617
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_dynamicsse_free(ptr
|
|
17770
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dynamicsse_free(ptr, 1));
|
|
17618
17771
|
const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17619
17772
|
? { register: () => {}, unregister: () => {} }
|
|
17620
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr
|
|
17773
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
|
|
17621
17774
|
const ElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17622
17775
|
? { register: () => {}, unregister: () => {} }
|
|
17623
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr
|
|
17776
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr, 1));
|
|
17624
17777
|
const EllipsoidGeodesicFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17625
17778
|
? { register: () => {}, unregister: () => {} }
|
|
17626
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr
|
|
17779
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr, 1));
|
|
17627
17780
|
const EncodedVec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
17628
17781
|
? { register: () => {}, unregister: () => {} }
|
|
17629
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr
|
|
17782
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr, 1));
|
|
17630
17783
|
const EntityEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17631
17784
|
? { register: () => {}, unregister: () => {} }
|
|
17632
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_entityevent_free(ptr
|
|
17785
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_entityevent_free(ptr, 1));
|
|
17633
17786
|
const EventsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17634
17787
|
? { register: () => {}, unregister: () => {} }
|
|
17635
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_events_free(ptr
|
|
17788
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_events_free(ptr, 1));
|
|
17636
17789
|
const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
17637
17790
|
? { register: () => {}, unregister: () => {} }
|
|
17638
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr
|
|
17791
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr, 1));
|
|
17639
17792
|
const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17640
17793
|
? { register: () => {}, unregister: () => {} }
|
|
17641
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr
|
|
17794
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
|
|
17642
17795
|
const GeoJsonLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17643
17796
|
? { register: () => {}, unregister: () => {} }
|
|
17644
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_geojsonlayerdescription_free(ptr
|
|
17797
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_geojsonlayerdescription_free(ptr, 1));
|
|
17645
17798
|
const GeoJsonSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17646
17799
|
? { register: () => {}, unregister: () => {} }
|
|
17647
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_geojsonsourcedescription_free(ptr
|
|
17800
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_geojsonsourcedescription_free(ptr, 1));
|
|
17648
17801
|
const GeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17649
17802
|
? { register: () => {}, unregister: () => {} }
|
|
17650
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr
|
|
17803
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr, 1));
|
|
17651
17804
|
const GlobeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17652
17805
|
? { register: () => {}, unregister: () => {} }
|
|
17653
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr
|
|
17806
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr, 1));
|
|
17654
17807
|
const HillshadeBackfilledEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17655
17808
|
? { register: () => {}, unregister: () => {} }
|
|
17656
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadebackfilledevent_free(ptr
|
|
17809
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadebackfilledevent_free(ptr, 1));
|
|
17657
17810
|
const HillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17658
17811
|
? { register: () => {}, unregister: () => {} }
|
|
17659
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr
|
|
17812
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr, 1));
|
|
17660
17813
|
const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17661
17814
|
? { register: () => {}, unregister: () => {} }
|
|
17662
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr
|
|
17815
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr, 1));
|
|
17663
17816
|
const LayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17664
17817
|
? { register: () => {}, unregister: () => {} }
|
|
17665
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_layerdescription_free(ptr
|
|
17818
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_layerdescription_free(ptr, 1));
|
|
17666
17819
|
const LayerDescriptionDataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17667
17820
|
? { register: () => {}, unregister: () => {} }
|
|
17668
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptiondata_free(ptr
|
|
17821
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptiondata_free(ptr, 1));
|
|
17669
17822
|
const LayerDescriptionUrlFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17670
17823
|
? { register: () => {}, unregister: () => {} }
|
|
17671
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptionurl_free(ptr
|
|
17824
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptionurl_free(ptr, 1));
|
|
17672
17825
|
const LegacyElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17673
17826
|
? { register: () => {}, unregister: () => {} }
|
|
17674
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_legacyelevationheatmapmaterial_free(ptr
|
|
17827
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_legacyelevationheatmapmaterial_free(ptr, 1));
|
|
17675
17828
|
const LegacyEllipsoidTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17676
17829
|
? { register: () => {}, unregister: () => {} }
|
|
17677
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_legacyellipsoidterrainmaterial_free(ptr
|
|
17830
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_legacyellipsoidterrainmaterial_free(ptr, 1));
|
|
17678
17831
|
const LegacyHillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17679
17832
|
? { register: () => {}, unregister: () => {} }
|
|
17680
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_legacyhillshadematerial_free(ptr
|
|
17833
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_legacyhillshadematerial_free(ptr, 1));
|
|
17681
17834
|
const LegacyQuantizedMeshTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17682
17835
|
? { register: () => {}, unregister: () => {} }
|
|
17683
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_legacyquantizedmeshterrainmaterial_free(ptr
|
|
17836
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_legacyquantizedmeshterrainmaterial_free(ptr, 1));
|
|
17684
17837
|
const LegacyRasterTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17685
17838
|
? { register: () => {}, unregister: () => {} }
|
|
17686
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_legacyrasterterrainmaterial_free(ptr
|
|
17839
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_legacyrasterterrainmaterial_free(ptr, 1));
|
|
17687
17840
|
const LegacyRasterTileMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17688
17841
|
? { register: () => {}, unregister: () => {} }
|
|
17689
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_legacyrastertilematerial_free(ptr
|
|
17842
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_legacyrastertilematerial_free(ptr, 1));
|
|
17690
17843
|
const LegacyVectorTileMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17691
17844
|
? { register: () => {}, unregister: () => {} }
|
|
17692
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_legacyvectortilematerial_free(ptr
|
|
17845
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_legacyvectortilematerial_free(ptr, 1));
|
|
17693
17846
|
const MemoryStatsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17694
17847
|
? { register: () => {}, unregister: () => {} }
|
|
17695
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_memorystats_free(ptr
|
|
17848
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_memorystats_free(ptr, 1));
|
|
17696
17849
|
const MeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17697
17850
|
? { register: () => {}, unregister: () => {} }
|
|
17698
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_mesh_free(ptr
|
|
17851
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_mesh_free(ptr, 1));
|
|
17699
17852
|
const MeshAddedFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17700
17853
|
? { register: () => {}, unregister: () => {} }
|
|
17701
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_meshadded_free(ptr
|
|
17854
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_meshadded_free(ptr, 1));
|
|
17702
17855
|
const MeshChangedFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17703
17856
|
? { register: () => {}, unregister: () => {} }
|
|
17704
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_meshchanged_free(ptr
|
|
17857
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_meshchanged_free(ptr, 1));
|
|
17705
17858
|
const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17706
17859
|
? { register: () => {}, unregister: () => {} }
|
|
17707
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr
|
|
17860
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
|
|
17708
17861
|
const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17709
17862
|
? { register: () => {}, unregister: () => {} }
|
|
17710
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr
|
|
17863
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr, 1));
|
|
17711
17864
|
const ModelMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17712
17865
|
? { register: () => {}, unregister: () => {} }
|
|
17713
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modelmesh_free(ptr
|
|
17866
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modelmesh_free(ptr, 1));
|
|
17714
17867
|
const MvtLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17715
17868
|
? { register: () => {}, unregister: () => {} }
|
|
17716
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_mvtlayerdescription_free(ptr
|
|
17869
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_mvtlayerdescription_free(ptr, 1));
|
|
17717
17870
|
const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17718
17871
|
? { register: () => {}, unregister: () => {} }
|
|
17719
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr
|
|
17872
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
|
|
17720
17873
|
const ObjectTransformEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17721
17874
|
? { register: () => {}, unregister: () => {} }
|
|
17722
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_objecttransformevent_free(ptr
|
|
17875
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_objecttransformevent_free(ptr, 1));
|
|
17723
17876
|
const OrthoCamTransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17724
17877
|
? { register: () => {}, unregister: () => {} }
|
|
17725
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_orthocamtransform_free(ptr
|
|
17878
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_orthocamtransform_free(ptr, 1));
|
|
17726
17879
|
const OverscaledTileHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17727
17880
|
? { register: () => {}, unregister: () => {} }
|
|
17728
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr
|
|
17881
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr, 1));
|
|
17729
17882
|
const ParseMvtTileParametersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17730
17883
|
? { register: () => {}, unregister: () => {} }
|
|
17731
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileparameters_free(ptr
|
|
17884
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileparameters_free(ptr, 1));
|
|
17732
17885
|
const ParseMvtTileResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17733
17886
|
? { register: () => {}, unregister: () => {} }
|
|
17734
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileresult_free(ptr
|
|
17887
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileresult_free(ptr, 1));
|
|
17735
17888
|
const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17736
17889
|
? { register: () => {}, unregister: () => {} }
|
|
17737
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr
|
|
17890
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
|
|
17738
17891
|
const PntsLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17739
17892
|
? { register: () => {}, unregister: () => {} }
|
|
17740
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_pntslayerdescription_free(ptr
|
|
17893
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pntslayerdescription_free(ptr, 1));
|
|
17741
17894
|
const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17742
17895
|
? { register: () => {}, unregister: () => {} }
|
|
17743
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr
|
|
17896
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
|
|
17744
17897
|
const PointMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17745
17898
|
? { register: () => {}, unregister: () => {} }
|
|
17746
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_pointmesh_free(ptr
|
|
17899
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pointmesh_free(ptr, 1));
|
|
17747
17900
|
const PolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17748
17901
|
? { register: () => {}, unregister: () => {} }
|
|
17749
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr
|
|
17902
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr, 1));
|
|
17750
17903
|
const PolygonGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17751
17904
|
? { register: () => {}, unregister: () => {} }
|
|
17752
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr
|
|
17905
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr, 1));
|
|
17753
17906
|
const PolygonInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17754
17907
|
? { register: () => {}, unregister: () => {} }
|
|
17755
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr
|
|
17908
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr, 1));
|
|
17756
17909
|
const PolygonMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17757
17910
|
? { register: () => {}, unregister: () => {} }
|
|
17758
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr
|
|
17911
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr, 1));
|
|
17759
17912
|
const PolygonMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17760
17913
|
? { register: () => {}, unregister: () => {} }
|
|
17761
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmesh_free(ptr
|
|
17914
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmesh_free(ptr, 1));
|
|
17762
17915
|
const PolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17763
17916
|
? { register: () => {}, unregister: () => {} }
|
|
17764
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr
|
|
17917
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr, 1));
|
|
17765
17918
|
const PolylineGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17766
17919
|
? { register: () => {}, unregister: () => {} }
|
|
17767
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr
|
|
17920
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr, 1));
|
|
17768
17921
|
const PolylineInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17769
17922
|
? { register: () => {}, unregister: () => {} }
|
|
17770
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr
|
|
17923
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr, 1));
|
|
17771
17924
|
const PolylineMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17772
17925
|
? { register: () => {}, unregister: () => {} }
|
|
17773
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr
|
|
17926
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr, 1));
|
|
17774
17927
|
const PolylineMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17775
17928
|
? { register: () => {}, unregister: () => {} }
|
|
17776
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinemesh_free(ptr
|
|
17929
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinemesh_free(ptr, 1));
|
|
17777
17930
|
const QuantizedMeshSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17778
17931
|
? { register: () => {}, unregister: () => {} }
|
|
17779
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_quantizedmeshsourcedescription_free(ptr
|
|
17932
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_quantizedmeshsourcedescription_free(ptr, 1));
|
|
17780
17933
|
const RasterDemSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17781
17934
|
? { register: () => {}, unregister: () => {} }
|
|
17782
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rasterdemsourcedescription_free(ptr
|
|
17935
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rasterdemsourcedescription_free(ptr, 1));
|
|
17783
17936
|
const RasterLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17784
17937
|
? { register: () => {}, unregister: () => {} }
|
|
17785
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rasterlayerdescription_free(ptr
|
|
17938
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rasterlayerdescription_free(ptr, 1));
|
|
17786
17939
|
const RasterMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17787
17940
|
? { register: () => {}, unregister: () => {} }
|
|
17788
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr
|
|
17941
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr, 1));
|
|
17789
17942
|
const RasterTileInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17790
17943
|
? { register: () => {}, unregister: () => {} }
|
|
17791
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr
|
|
17944
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr, 1));
|
|
17792
17945
|
const RasterTileSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17793
17946
|
? { register: () => {}, unregister: () => {} }
|
|
17794
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rastertilesourcedescription_free(ptr
|
|
17947
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastertilesourcedescription_free(ptr, 1));
|
|
17948
|
+
const RasterTileStateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17949
|
+
? { register: () => {}, unregister: () => {} }
|
|
17950
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastertilestate_free(ptr, 1));
|
|
17795
17951
|
const RayFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17796
17952
|
? { register: () => {}, unregister: () => {} }
|
|
17797
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr
|
|
17953
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr, 1));
|
|
17798
17954
|
const ReconstructableEntityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17799
17955
|
? { register: () => {}, unregister: () => {} }
|
|
17800
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_reconstructableentity_free(ptr
|
|
17956
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_reconstructableentity_free(ptr, 1));
|
|
17801
17957
|
const RenderableFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17802
17958
|
? { register: () => {}, unregister: () => {} }
|
|
17803
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_renderablefeature_free(ptr
|
|
17959
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_renderablefeature_free(ptr, 1));
|
|
17804
17960
|
const RenderableFeatureAddedEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17805
17961
|
? { register: () => {}, unregister: () => {} }
|
|
17806
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureaddedevent_free(ptr
|
|
17962
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureaddedevent_free(ptr, 1));
|
|
17807
17963
|
const RenderableFeatureChangedEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17808
17964
|
? { register: () => {}, unregister: () => {} }
|
|
17809
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_renderablefeaturechangedevent_free(ptr
|
|
17965
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_renderablefeaturechangedevent_free(ptr, 1));
|
|
17810
17966
|
const RenderableFeatureRemovedEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17811
17967
|
? { register: () => {}, unregister: () => {} }
|
|
17812
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureremovedevent_free(ptr
|
|
17968
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureremovedevent_free(ptr, 1));
|
|
17813
17969
|
const ReturnedConstructedTerrainMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17814
17970
|
? { register: () => {}, unregister: () => {} }
|
|
17815
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr
|
|
17971
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr, 1));
|
|
17816
17972
|
const ReturnedTransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17817
17973
|
? { register: () => {}, unregister: () => {} }
|
|
17818
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolygonbatchedfeature_free(ptr
|
|
17974
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolygonbatchedfeature_free(ptr, 1));
|
|
17819
17975
|
const ReturnedTransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17820
17976
|
? { register: () => {}, unregister: () => {} }
|
|
17821
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolylinebatchedfeature_free(ptr
|
|
17977
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolylinebatchedfeature_free(ptr, 1));
|
|
17822
17978
|
const SourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17823
17979
|
? { register: () => {}, unregister: () => {} }
|
|
17824
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_sourcedescription_free(ptr
|
|
17980
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sourcedescription_free(ptr, 1));
|
|
17825
17981
|
const TerrainHeightUpdatedEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17826
17982
|
? { register: () => {}, unregister: () => {} }
|
|
17827
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_terrainheightupdatedevent_free(ptr
|
|
17983
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_terrainheightupdatedevent_free(ptr, 1));
|
|
17828
17984
|
const TerrainLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17829
17985
|
? { register: () => {}, unregister: () => {} }
|
|
17830
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_terrainlayerdescription_free(ptr
|
|
17986
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_terrainlayerdescription_free(ptr, 1));
|
|
17831
17987
|
const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17832
17988
|
? { register: () => {}, unregister: () => {} }
|
|
17833
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr
|
|
17989
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
|
|
17834
17990
|
const TerrainSourceLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17835
17991
|
? { register: () => {}, unregister: () => {} }
|
|
17836
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_terrainsourcelayerdescription_free(ptr
|
|
17992
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_terrainsourcelayerdescription_free(ptr, 1));
|
|
17837
17993
|
const TextMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17838
17994
|
? { register: () => {}, unregister: () => {} }
|
|
17839
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr
|
|
17995
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr, 1));
|
|
17840
17996
|
const TextMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17841
17997
|
? { register: () => {}, unregister: () => {} }
|
|
17842
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_textmesh_free(ptr
|
|
17998
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_textmesh_free(ptr, 1));
|
|
17843
17999
|
const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17844
18000
|
? { register: () => {}, unregister: () => {} }
|
|
17845
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr
|
|
18001
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr, 1));
|
|
17846
18002
|
const TextureFragmentRequestedEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17847
18003
|
? { register: () => {}, unregister: () => {} }
|
|
17848
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragmentrequestedevent_free(ptr
|
|
18004
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragmentrequestedevent_free(ptr, 1));
|
|
17849
18005
|
const TileLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17850
18006
|
? { register: () => {}, unregister: () => {} }
|
|
17851
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tilelayerdescription_free(ptr
|
|
18007
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tilelayerdescription_free(ptr, 1));
|
|
17852
18008
|
const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17853
18009
|
? { register: () => {}, unregister: () => {} }
|
|
17854
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr
|
|
18010
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));
|
|
17855
18011
|
const TileXYZFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17856
18012
|
? { register: () => {}, unregister: () => {} }
|
|
17857
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr
|
|
18013
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr, 1));
|
|
17858
18014
|
const Tiles3dLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17859
18015
|
? { register: () => {}, unregister: () => {} }
|
|
17860
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tiles3dlayerdescription_free(ptr
|
|
18016
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tiles3dlayerdescription_free(ptr, 1));
|
|
17861
18017
|
const Tiles3dSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17862
18018
|
? { register: () => {}, unregister: () => {} }
|
|
17863
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tiles3dsourcedescription_free(ptr
|
|
18019
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tiles3dsourcedescription_free(ptr, 1));
|
|
17864
18020
|
const TransferableFloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17865
18021
|
? { register: () => {}, unregister: () => {} }
|
|
17866
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablefloatattribute_free(ptr
|
|
18022
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablefloatattribute_free(ptr, 1));
|
|
17867
18023
|
const TransferableGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17868
18024
|
? { register: () => {}, unregister: () => {} }
|
|
17869
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablegeometry_free(ptr
|
|
18025
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablegeometry_free(ptr, 1));
|
|
17870
18026
|
const TransferableHierarchyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17871
18027
|
? { register: () => {}, unregister: () => {} }
|
|
17872
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr
|
|
18028
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr, 1));
|
|
17873
18029
|
const TransferableHolesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17874
18030
|
? { register: () => {}, unregister: () => {} }
|
|
17875
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr
|
|
18031
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr, 1));
|
|
17876
18032
|
const TransferableMartiniFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17877
18033
|
? { register: () => {}, unregister: () => {} }
|
|
17878
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr
|
|
18034
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr, 1));
|
|
17879
18035
|
const TransferableModelGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17880
18036
|
? { register: () => {}, unregister: () => {} }
|
|
17881
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablemodelgeometry_free(ptr
|
|
18037
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablemodelgeometry_free(ptr, 1));
|
|
17882
18038
|
const TransferableParsedMvtResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17883
18039
|
? { register: () => {}, unregister: () => {} }
|
|
17884
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr
|
|
18040
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr, 1));
|
|
17885
18041
|
const TransferablePointGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17886
18042
|
? { register: () => {}, unregister: () => {} }
|
|
17887
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepointgeometry_free(ptr
|
|
18043
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepointgeometry_free(ptr, 1));
|
|
17888
18044
|
const TransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17889
18045
|
? { register: () => {}, unregister: () => {} }
|
|
17890
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr
|
|
18046
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr, 1));
|
|
17891
18047
|
const TransferablePolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17892
18048
|
? { register: () => {}, unregister: () => {} }
|
|
17893
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygongeometry_free(ptr
|
|
18049
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygongeometry_free(ptr, 1));
|
|
17894
18050
|
const TransferablePolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17895
18051
|
? { register: () => {}, unregister: () => {} }
|
|
17896
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonoutlinegeometry_free(ptr
|
|
18052
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonoutlinegeometry_free(ptr, 1));
|
|
17897
18053
|
const TransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17898
18054
|
? { register: () => {}, unregister: () => {} }
|
|
17899
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr
|
|
18055
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr, 1));
|
|
17900
18056
|
const TransferablePolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17901
18057
|
? { register: () => {}, unregister: () => {} }
|
|
17902
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinegeometry_free(ptr
|
|
18058
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinegeometry_free(ptr, 1));
|
|
17903
18059
|
const TransferableRasterDEMDataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17904
18060
|
? { register: () => {}, unregister: () => {} }
|
|
17905
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr
|
|
18061
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr, 1));
|
|
17906
18062
|
const TransferableTileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17907
18063
|
? { register: () => {}, unregister: () => {} }
|
|
17908
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr
|
|
18064
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr, 1));
|
|
17909
18065
|
const TransferableUintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17910
18066
|
? { register: () => {}, unregister: () => {} }
|
|
17911
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferableuintattribute_free(ptr
|
|
18067
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferableuintattribute_free(ptr, 1));
|
|
17912
18068
|
const TransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17913
18069
|
? { register: () => {}, unregister: () => {} }
|
|
17914
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr
|
|
18070
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr, 1));
|
|
17915
18071
|
const UintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17916
18072
|
? { register: () => {}, unregister: () => {} }
|
|
17917
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr
|
|
18073
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr, 1));
|
|
17918
18074
|
const UpsamplableTerrainGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17919
18075
|
? { register: () => {}, unregister: () => {} }
|
|
17920
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr
|
|
18076
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr, 1));
|
|
17921
18077
|
const UpsampleTerrainMeshParametersFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17922
18078
|
? { register: () => {}, unregister: () => {} }
|
|
17923
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshparameters_free(ptr
|
|
18079
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshparameters_free(ptr, 1));
|
|
17924
18080
|
const UpsampleTerrainMeshResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17925
18081
|
? { register: () => {}, unregister: () => {} }
|
|
17926
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshresult_free(ptr
|
|
18082
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshresult_free(ptr, 1));
|
|
17927
18083
|
const Vec2Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
17928
18084
|
? { register: () => {}, unregister: () => {} }
|
|
17929
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr
|
|
18085
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr, 1));
|
|
17930
18086
|
const Vec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
17931
18087
|
? { register: () => {}, unregister: () => {} }
|
|
17932
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr
|
|
18088
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr, 1));
|
|
17933
18089
|
const VectorLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17934
18090
|
? { register: () => {}, unregister: () => {} }
|
|
17935
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vectorlayerdescription_free(ptr
|
|
18091
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vectorlayerdescription_free(ptr, 1));
|
|
17936
18092
|
const VectorTileSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17937
18093
|
? { register: () => {}, unregister: () => {} }
|
|
17938
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vectortilesourcedescription_free(ptr
|
|
18094
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vectortilesourcedescription_free(ptr, 1));
|
|
17939
18095
|
const VectorTileStateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17940
18096
|
? { register: () => {}, unregister: () => {} }
|
|
17941
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vectortilestate_free(ptr
|
|
18097
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vectortilestate_free(ptr, 1));
|
|
17942
18098
|
const WindingOrderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17943
18099
|
? { register: () => {}, unregister: () => {} }
|
|
17944
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr
|
|
18100
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr, 1));
|
|
17945
18101
|
const WindowFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17946
18102
|
? { register: () => {}, unregister: () => {} }
|
|
17947
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr
|
|
18103
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr, 1));
|
|
17948
18104
|
const WorkerTaskDelegatedEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17949
18105
|
? { register: () => {}, unregister: () => {} }
|
|
17950
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_workertaskdelegatedevent_free(ptr
|
|
18106
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_workertaskdelegatedevent_free(ptr, 1));
|
|
17951
18107
|
|
|
17952
18108
|
function addToExternrefTable0(obj) {
|
|
17953
18109
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -18095,8 +18251,7 @@ function getInt32ArrayMemory0() {
|
|
|
18095
18251
|
}
|
|
18096
18252
|
|
|
18097
18253
|
function getStringFromWasm0(ptr, len) {
|
|
18098
|
-
|
|
18099
|
-
return decodeText(ptr, len);
|
|
18254
|
+
return decodeText(ptr >>> 0, len);
|
|
18100
18255
|
}
|
|
18101
18256
|
|
|
18102
18257
|
let cachedUint32ArrayMemory0 = null;
|
|
@@ -18238,8 +18393,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
18238
18393
|
|
|
18239
18394
|
let WASM_VECTOR_LEN = 0;
|
|
18240
18395
|
|
|
18241
|
-
let wasmModule, wasm;
|
|
18396
|
+
let wasmModule, wasmInstance, wasm;
|
|
18242
18397
|
function __wbg_finalize_init(instance, module) {
|
|
18398
|
+
wasmInstance = instance;
|
|
18243
18399
|
wasm = instance.exports;
|
|
18244
18400
|
wasmModule = module;
|
|
18245
18401
|
cachedDataViewMemory0 = null;
|