@navaramap/engine-worker 0.0.1 → 0.0.3
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_worker.d.ts +222 -144
- package/navara_wasm_worker.js +431 -347
- package/navara_wasm_worker_bg.wasm +0 -0
- package/package.json +1 -1
package/navara_wasm_worker.js
CHANGED
|
@@ -21,7 +21,7 @@ export class Aabb {
|
|
|
21
21
|
_assertClass(extent, Vec3);
|
|
22
22
|
var ptr1 = extent.__destroy_into_raw();
|
|
23
23
|
const ret = wasm.aabb_new(ptr0, ptr1);
|
|
24
|
-
this.__wbg_ptr = ret
|
|
24
|
+
this.__wbg_ptr = ret;
|
|
25
25
|
AabbFinalization.register(this, this.__wbg_ptr, this);
|
|
26
26
|
return this;
|
|
27
27
|
}
|
|
@@ -121,7 +121,7 @@ export class BillboardMaterial {
|
|
|
121
121
|
*/
|
|
122
122
|
get alphaTest() {
|
|
123
123
|
const ret = wasm.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);
|
|
124
|
-
return ret ===
|
|
124
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
127
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
@@ -144,7 +144,26 @@ export class BillboardMaterial {
|
|
|
144
144
|
*/
|
|
145
145
|
get color() {
|
|
146
146
|
const ret = wasm.__wbg_get_billboardmaterial_color(this.__wbg_ptr);
|
|
147
|
-
return ret ===
|
|
147
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
151
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
152
|
+
* @returns {number | undefined}
|
|
153
|
+
*/
|
|
154
|
+
get declutterPriority() {
|
|
155
|
+
const ret = wasm.__wbg_get_billboardmaterial_declutterPriority(this.__wbg_ptr);
|
|
156
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
160
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
161
|
+
* `false` to draw every label unconditionally.
|
|
162
|
+
* @returns {boolean | undefined}
|
|
163
|
+
*/
|
|
164
|
+
get declutter() {
|
|
165
|
+
const ret = wasm.__wbg_get_billboardmaterial_declutter(this.__wbg_ptr);
|
|
166
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
148
167
|
}
|
|
149
168
|
/**
|
|
150
169
|
* @returns {boolean | undefined}
|
|
@@ -172,7 +191,7 @@ export class BillboardMaterial {
|
|
|
172
191
|
*/
|
|
173
192
|
get emissiveColor() {
|
|
174
193
|
const ret = wasm.__wbg_get_billboardmaterial_emissiveColor(this.__wbg_ptr);
|
|
175
|
-
return ret ===
|
|
194
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
176
195
|
}
|
|
177
196
|
/**
|
|
178
197
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -180,14 +199,14 @@ export class BillboardMaterial {
|
|
|
180
199
|
*/
|
|
181
200
|
get emissiveIntensity() {
|
|
182
201
|
const ret = wasm.__wbg_get_billboardmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
183
|
-
return ret ===
|
|
202
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
184
203
|
}
|
|
185
204
|
/**
|
|
186
205
|
* @returns {number | undefined}
|
|
187
206
|
*/
|
|
188
207
|
get height() {
|
|
189
208
|
const ret = wasm.__wbg_get_billboardmaterial_height(this.__wbg_ptr);
|
|
190
|
-
return ret ===
|
|
209
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
191
210
|
}
|
|
192
211
|
/**
|
|
193
212
|
* Avoid overlapping with the globe surface.
|
|
@@ -202,7 +221,7 @@ export class BillboardMaterial {
|
|
|
202
221
|
*/
|
|
203
222
|
get opacity() {
|
|
204
223
|
const ret = wasm.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);
|
|
205
|
-
return ret ===
|
|
224
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
206
225
|
}
|
|
207
226
|
/**
|
|
208
227
|
* @returns {boolean | undefined}
|
|
@@ -225,7 +244,7 @@ export class BillboardMaterial {
|
|
|
225
244
|
*/
|
|
226
245
|
get size() {
|
|
227
246
|
const ret = wasm.__wbg_get_billboardmaterial_size(this.__wbg_ptr);
|
|
228
|
-
return ret ===
|
|
247
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
229
248
|
}
|
|
230
249
|
/**
|
|
231
250
|
* @returns {boolean | undefined}
|
|
@@ -250,7 +269,7 @@ export class BillboardMaterial {
|
|
|
250
269
|
* @param {number | null} [arg0]
|
|
251
270
|
*/
|
|
252
271
|
set alphaTest(arg0) {
|
|
253
|
-
wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
272
|
+
wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
254
273
|
}
|
|
255
274
|
/**
|
|
256
275
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
@@ -275,7 +294,24 @@ export class BillboardMaterial {
|
|
|
275
294
|
* @param {number | null} [arg0]
|
|
276
295
|
*/
|
|
277
296
|
set color(arg0) {
|
|
278
|
-
wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
297
|
+
wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
301
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
302
|
+
* @param {number | null} [arg0]
|
|
303
|
+
*/
|
|
304
|
+
set declutterPriority(arg0) {
|
|
305
|
+
wasm.__wbg_set_billboardmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
309
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
310
|
+
* `false` to draw every label unconditionally.
|
|
311
|
+
* @param {boolean | null} [arg0]
|
|
312
|
+
*/
|
|
313
|
+
set declutter(arg0) {
|
|
314
|
+
wasm.__wbg_set_billboardmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
279
315
|
}
|
|
280
316
|
/**
|
|
281
317
|
* @param {boolean | null} [arg0]
|
|
@@ -297,20 +333,20 @@ export class BillboardMaterial {
|
|
|
297
333
|
* @param {number | null} [arg0]
|
|
298
334
|
*/
|
|
299
335
|
set emissiveColor(arg0) {
|
|
300
|
-
wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
336
|
+
wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
301
337
|
}
|
|
302
338
|
/**
|
|
303
339
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
304
340
|
* @param {number | null} [arg0]
|
|
305
341
|
*/
|
|
306
342
|
set emissiveIntensity(arg0) {
|
|
307
|
-
wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
343
|
+
wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
308
344
|
}
|
|
309
345
|
/**
|
|
310
346
|
* @param {number | null} [arg0]
|
|
311
347
|
*/
|
|
312
348
|
set height(arg0) {
|
|
313
|
-
wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
349
|
+
wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
314
350
|
}
|
|
315
351
|
/**
|
|
316
352
|
* Avoid overlapping with the globe surface.
|
|
@@ -323,7 +359,7 @@ export class BillboardMaterial {
|
|
|
323
359
|
* @param {number | null} [arg0]
|
|
324
360
|
*/
|
|
325
361
|
set opacity(arg0) {
|
|
326
|
-
wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
362
|
+
wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
327
363
|
}
|
|
328
364
|
/**
|
|
329
365
|
* @param {boolean | null} [arg0]
|
|
@@ -343,7 +379,7 @@ export class BillboardMaterial {
|
|
|
343
379
|
* @param {number | null} [arg0]
|
|
344
380
|
*/
|
|
345
381
|
set size(arg0) {
|
|
346
|
-
wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
382
|
+
wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
347
383
|
}
|
|
348
384
|
/**
|
|
349
385
|
* @param {boolean | null} [arg0]
|
|
@@ -381,7 +417,7 @@ export class BoundingSphere {
|
|
|
381
417
|
*/
|
|
382
418
|
constructor(center_x, center_y, center_z, radius) {
|
|
383
419
|
const ret = wasm.boundingsphere_new(center_x, center_y, center_z, radius);
|
|
384
|
-
this.__wbg_ptr = ret
|
|
420
|
+
this.__wbg_ptr = ret;
|
|
385
421
|
BoundingSphereFinalization.register(this, this.__wbg_ptr, this);
|
|
386
422
|
return this;
|
|
387
423
|
}
|
|
@@ -457,7 +493,6 @@ export const CRS = Object.freeze({
|
|
|
457
493
|
|
|
458
494
|
export class CachedMeshHandle {
|
|
459
495
|
static __wrap(ptr) {
|
|
460
|
-
ptr = ptr >>> 0;
|
|
461
496
|
const obj = Object.create(CachedMeshHandle.prototype);
|
|
462
497
|
obj.__wbg_ptr = ptr;
|
|
463
498
|
CachedMeshHandleFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -480,8 +515,8 @@ export class CachedMeshHandle {
|
|
|
480
515
|
* @param {number | null} [heights]
|
|
481
516
|
*/
|
|
482
517
|
constructor(vertices, indices, uvs, heights) {
|
|
483
|
-
const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ?
|
|
484
|
-
this.__wbg_ptr = ret
|
|
518
|
+
const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? Number.MAX_SAFE_INTEGER : (heights) >> 0);
|
|
519
|
+
this.__wbg_ptr = ret;
|
|
485
520
|
CachedMeshHandleFinalization.register(this, this.__wbg_ptr, this);
|
|
486
521
|
return this;
|
|
487
522
|
}
|
|
@@ -490,7 +525,7 @@ export class CachedMeshHandle {
|
|
|
490
525
|
*/
|
|
491
526
|
get heights() {
|
|
492
527
|
const ret = wasm.__wbg_get_cachedmeshhandle_heights(this.__wbg_ptr);
|
|
493
|
-
return ret ===
|
|
528
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
494
529
|
}
|
|
495
530
|
/**
|
|
496
531
|
* @returns {number}
|
|
@@ -504,7 +539,7 @@ export class CachedMeshHandle {
|
|
|
504
539
|
*/
|
|
505
540
|
get normals() {
|
|
506
541
|
const ret = wasm.__wbg_get_cachedmeshhandle_normals(this.__wbg_ptr);
|
|
507
|
-
return ret ===
|
|
542
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
508
543
|
}
|
|
509
544
|
/**
|
|
510
545
|
* @returns {number}
|
|
@@ -525,13 +560,13 @@ export class CachedMeshHandle {
|
|
|
525
560
|
*/
|
|
526
561
|
get watermask() {
|
|
527
562
|
const ret = wasm.__wbg_get_cachedmeshhandle_watermask(this.__wbg_ptr);
|
|
528
|
-
return ret ===
|
|
563
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
529
564
|
}
|
|
530
565
|
/**
|
|
531
566
|
* @param {number | null} [arg0]
|
|
532
567
|
*/
|
|
533
568
|
set heights(arg0) {
|
|
534
|
-
wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
569
|
+
wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
535
570
|
}
|
|
536
571
|
/**
|
|
537
572
|
* @param {number} arg0
|
|
@@ -543,7 +578,7 @@ export class CachedMeshHandle {
|
|
|
543
578
|
* @param {number | null} [arg0]
|
|
544
579
|
*/
|
|
545
580
|
set normals(arg0) {
|
|
546
|
-
wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
581
|
+
wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
547
582
|
}
|
|
548
583
|
/**
|
|
549
584
|
* @param {number} arg0
|
|
@@ -561,7 +596,7 @@ export class CachedMeshHandle {
|
|
|
561
596
|
* @param {number | null} [arg0]
|
|
562
597
|
*/
|
|
563
598
|
set watermask(arg0) {
|
|
564
|
-
wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
599
|
+
wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
565
600
|
}
|
|
566
601
|
}
|
|
567
602
|
if (Symbol.dispose) CachedMeshHandle.prototype[Symbol.dispose] = CachedMeshHandle.prototype.free;
|
|
@@ -585,7 +620,7 @@ export class CameraControlUpdateEvent {
|
|
|
585
620
|
}
|
|
586
621
|
constructor() {
|
|
587
622
|
const ret = wasm.cameracontrolupdateevent_new();
|
|
588
|
-
this.__wbg_ptr = ret
|
|
623
|
+
this.__wbg_ptr = ret;
|
|
589
624
|
CameraControlUpdateEventFinalization.register(this, this.__wbg_ptr, this);
|
|
590
625
|
return this;
|
|
591
626
|
}
|
|
@@ -661,7 +696,7 @@ export class CameraControlUpdateEvent {
|
|
|
661
696
|
*/
|
|
662
697
|
get spinDuration() {
|
|
663
698
|
const ret = wasm.__wbg_get_cameracontrolupdateevent_spinDuration(this.__wbg_ptr);
|
|
664
|
-
return ret ===
|
|
699
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
665
700
|
}
|
|
666
701
|
/**
|
|
667
702
|
* Multiplier for mouse drag rotation speed.
|
|
@@ -681,7 +716,7 @@ export class CameraControlUpdateEvent {
|
|
|
681
716
|
*/
|
|
682
717
|
get translateDuration() {
|
|
683
718
|
const ret = wasm.__wbg_get_cameracontrolupdateevent_translateDuration(this.__wbg_ptr);
|
|
684
|
-
return ret ===
|
|
719
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
685
720
|
}
|
|
686
721
|
/**
|
|
687
722
|
* Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
|
|
@@ -691,7 +726,7 @@ export class CameraControlUpdateEvent {
|
|
|
691
726
|
*/
|
|
692
727
|
get zoomDuration() {
|
|
693
728
|
const ret = wasm.__wbg_get_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr);
|
|
694
|
-
return ret ===
|
|
729
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
695
730
|
}
|
|
696
731
|
/**
|
|
697
732
|
* Multiplier for scroll wheel zoom speed.
|
|
@@ -768,7 +803,7 @@ export class CameraControlUpdateEvent {
|
|
|
768
803
|
* @param {number | null} [arg0]
|
|
769
804
|
*/
|
|
770
805
|
set spinDuration(arg0) {
|
|
771
|
-
wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
806
|
+
wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
772
807
|
}
|
|
773
808
|
/**
|
|
774
809
|
* Multiplier for mouse drag rotation speed.
|
|
@@ -786,7 +821,7 @@ export class CameraControlUpdateEvent {
|
|
|
786
821
|
* @param {number | null} [arg0]
|
|
787
822
|
*/
|
|
788
823
|
set translateDuration(arg0) {
|
|
789
|
-
wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
824
|
+
wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
790
825
|
}
|
|
791
826
|
/**
|
|
792
827
|
* Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
|
|
@@ -795,7 +830,7 @@ export class CameraControlUpdateEvent {
|
|
|
795
830
|
* @param {number | null} [arg0]
|
|
796
831
|
*/
|
|
797
832
|
set zoomDuration(arg0) {
|
|
798
|
-
wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
833
|
+
wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
799
834
|
}
|
|
800
835
|
/**
|
|
801
836
|
* Multiplier for scroll wheel zoom speed.
|
|
@@ -840,7 +875,7 @@ export class CameraFrustum {
|
|
|
840
875
|
*/
|
|
841
876
|
constructor(near, far, fov, aspect_ratio) {
|
|
842
877
|
const ret = wasm.camerafrustum_new(near, far, fov, aspect_ratio);
|
|
843
|
-
this.__wbg_ptr = ret
|
|
878
|
+
this.__wbg_ptr = ret;
|
|
844
879
|
CameraFrustumFinalization.register(this, this.__wbg_ptr, this);
|
|
845
880
|
return this;
|
|
846
881
|
}
|
|
@@ -1065,7 +1100,7 @@ export class CompiledExpression {
|
|
|
1065
1100
|
if (ret[2]) {
|
|
1066
1101
|
throw takeFromExternrefTable0(ret[1]);
|
|
1067
1102
|
}
|
|
1068
|
-
this.__wbg_ptr = ret[0]
|
|
1103
|
+
this.__wbg_ptr = ret[0];
|
|
1069
1104
|
CompiledExpressionFinalization.register(this, this.__wbg_ptr, this);
|
|
1070
1105
|
return this;
|
|
1071
1106
|
}
|
|
@@ -1093,7 +1128,7 @@ export class CompiledFilter {
|
|
|
1093
1128
|
if (ret[2]) {
|
|
1094
1129
|
throw takeFromExternrefTable0(ret[1]);
|
|
1095
1130
|
}
|
|
1096
|
-
this.__wbg_ptr = ret[0]
|
|
1131
|
+
this.__wbg_ptr = ret[0];
|
|
1097
1132
|
CompiledFilterFinalization.register(this, this.__wbg_ptr, this);
|
|
1098
1133
|
return this;
|
|
1099
1134
|
}
|
|
@@ -1123,7 +1158,6 @@ if (Symbol.dispose) CompiledFilter.prototype[Symbol.dispose] = CompiledFilter.pr
|
|
|
1123
1158
|
|
|
1124
1159
|
export class ConstructedPolygonGeometry {
|
|
1125
1160
|
static __wrap(ptr) {
|
|
1126
|
-
ptr = ptr >>> 0;
|
|
1127
1161
|
const obj = Object.create(ConstructedPolygonGeometry.prototype);
|
|
1128
1162
|
obj.__wbg_ptr = ptr;
|
|
1129
1163
|
ConstructedPolygonGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1298,7 +1332,6 @@ if (Symbol.dispose) ConstructedPolygonGeometry.prototype[Symbol.dispose] = Const
|
|
|
1298
1332
|
|
|
1299
1333
|
export class ConstructedPolygonOutlineGeometry {
|
|
1300
1334
|
static __wrap(ptr) {
|
|
1301
|
-
ptr = ptr >>> 0;
|
|
1302
1335
|
const obj = Object.create(ConstructedPolygonOutlineGeometry.prototype);
|
|
1303
1336
|
obj.__wbg_ptr = ptr;
|
|
1304
1337
|
ConstructedPolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1368,7 +1401,6 @@ if (Symbol.dispose) ConstructedPolygonOutlineGeometry.prototype[Symbol.dispose]
|
|
|
1368
1401
|
|
|
1369
1402
|
export class ConstructedPolylineGeometry {
|
|
1370
1403
|
static __wrap(ptr) {
|
|
1371
|
-
ptr = ptr >>> 0;
|
|
1372
1404
|
const obj = Object.create(ConstructedPolylineGeometry.prototype);
|
|
1373
1405
|
obj.__wbg_ptr = ptr;
|
|
1374
1406
|
ConstructedPolylineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1599,7 +1631,6 @@ if (Symbol.dispose) ConstructedPolylineGeometry.prototype[Symbol.dispose] = Cons
|
|
|
1599
1631
|
|
|
1600
1632
|
export class ElevationDecoder {
|
|
1601
1633
|
static __wrap(ptr) {
|
|
1602
|
-
ptr = ptr >>> 0;
|
|
1603
1634
|
const obj = Object.create(ElevationDecoder.prototype);
|
|
1604
1635
|
obj.__wbg_ptr = ptr;
|
|
1605
1636
|
ElevationDecoderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1641,7 +1672,7 @@ export class ElevationDecoder {
|
|
|
1641
1672
|
*/
|
|
1642
1673
|
constructor(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon) {
|
|
1643
1674
|
const ret = wasm.elevationdecoder_new(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon);
|
|
1644
|
-
this.__wbg_ptr = ret
|
|
1675
|
+
this.__wbg_ptr = ret;
|
|
1645
1676
|
ElevationDecoderFinalization.register(this, this.__wbg_ptr, this);
|
|
1646
1677
|
return this;
|
|
1647
1678
|
}
|
|
@@ -1868,7 +1899,7 @@ export class EllipsoidGeodesic {
|
|
|
1868
1899
|
_assertClass(end, LLE);
|
|
1869
1900
|
var ptr1 = end.__destroy_into_raw();
|
|
1870
1901
|
const ret = wasm.ellipsoidgeodesic_new(ptr0, ptr1);
|
|
1871
|
-
this.__wbg_ptr = ret
|
|
1902
|
+
this.__wbg_ptr = ret;
|
|
1872
1903
|
EllipsoidGeodesicFinalization.register(this, this.__wbg_ptr, this);
|
|
1873
1904
|
return this;
|
|
1874
1905
|
}
|
|
@@ -1965,7 +1996,7 @@ export class EncodedVec3 {
|
|
|
1965
1996
|
_assertClass(low, Vec3);
|
|
1966
1997
|
var ptr1 = low.__destroy_into_raw();
|
|
1967
1998
|
const ret = wasm.encodedvec3_new(ptr0, ptr1);
|
|
1968
|
-
this.__wbg_ptr = ret
|
|
1999
|
+
this.__wbg_ptr = ret;
|
|
1969
2000
|
EncodedVec3Finalization.register(this, this.__wbg_ptr, this);
|
|
1970
2001
|
return this;
|
|
1971
2002
|
}
|
|
@@ -2004,7 +2035,6 @@ if (Symbol.dispose) EncodedVec3.prototype[Symbol.dispose] = EncodedVec3.prototyp
|
|
|
2004
2035
|
|
|
2005
2036
|
export class ExtentRadianF32 {
|
|
2006
2037
|
static __wrap(ptr) {
|
|
2007
|
-
ptr = ptr >>> 0;
|
|
2008
2038
|
const obj = Object.create(ExtentRadianF32.prototype);
|
|
2009
2039
|
obj.__wbg_ptr = ptr;
|
|
2010
2040
|
ExtentRadianF32Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2028,7 +2058,7 @@ export class ExtentRadianF32 {
|
|
|
2028
2058
|
*/
|
|
2029
2059
|
constructor(west, south, east, north) {
|
|
2030
2060
|
const ret = wasm.extentradianf32_new(west, south, east, north);
|
|
2031
|
-
this.__wbg_ptr = ret
|
|
2061
|
+
this.__wbg_ptr = ret;
|
|
2032
2062
|
ExtentRadianF32Finalization.register(this, this.__wbg_ptr, this);
|
|
2033
2063
|
return this;
|
|
2034
2064
|
}
|
|
@@ -2106,7 +2136,7 @@ export class FloatAttribute {
|
|
|
2106
2136
|
const ptr0 = passArrayF32ToWasm0(data, wasm.__wbindgen_malloc);
|
|
2107
2137
|
const len0 = WASM_VECTOR_LEN;
|
|
2108
2138
|
const ret = wasm.floatattribute_new(ptr0, len0, size);
|
|
2109
|
-
this.__wbg_ptr = ret
|
|
2139
|
+
this.__wbg_ptr = ret;
|
|
2110
2140
|
FloatAttributeFinalization.register(this, this.__wbg_ptr, this);
|
|
2111
2141
|
return this;
|
|
2112
2142
|
}
|
|
@@ -2171,7 +2201,7 @@ export class Geometry {
|
|
|
2171
2201
|
const ptr2 = passArrayF32ToWasm0(uvs, wasm.__wbindgen_malloc);
|
|
2172
2202
|
const len2 = WASM_VECTOR_LEN;
|
|
2173
2203
|
const ret = wasm.geometry_new(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
2174
|
-
this.__wbg_ptr = ret
|
|
2204
|
+
this.__wbg_ptr = ret;
|
|
2175
2205
|
GeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
2176
2206
|
return this;
|
|
2177
2207
|
}
|
|
@@ -2354,7 +2384,7 @@ export class Globe {
|
|
|
2354
2384
|
const ptr0 = passArrayF32ToWasm0(elevation_colormap, wasm.__wbindgen_malloc);
|
|
2355
2385
|
const len0 = WASM_VECTOR_LEN;
|
|
2356
2386
|
const ret = wasm.globe_new(max_sse, segments, color, hide_underground, use_normal, transparent, opacity, wireframe, ptr0, len0);
|
|
2357
|
-
this.__wbg_ptr = ret
|
|
2387
|
+
this.__wbg_ptr = ret;
|
|
2358
2388
|
GlobeFinalization.register(this, this.__wbg_ptr, this);
|
|
2359
2389
|
return this;
|
|
2360
2390
|
}
|
|
@@ -2460,21 +2490,20 @@ export class HillshadeMaterial {
|
|
|
2460
2490
|
*/
|
|
2461
2491
|
get exaggeration() {
|
|
2462
2492
|
const ret = wasm.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);
|
|
2463
|
-
return ret ===
|
|
2493
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2464
2494
|
}
|
|
2465
2495
|
/**
|
|
2466
2496
|
* Exaggeration factor for hillshade effect (default: 1.0)
|
|
2467
2497
|
* @param {number | null} [arg0]
|
|
2468
2498
|
*/
|
|
2469
2499
|
set exaggeration(arg0) {
|
|
2470
|
-
wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2500
|
+
wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2471
2501
|
}
|
|
2472
2502
|
}
|
|
2473
2503
|
if (Symbol.dispose) HillshadeMaterial.prototype[Symbol.dispose] = HillshadeMaterial.prototype.free;
|
|
2474
2504
|
|
|
2475
2505
|
export class LLE {
|
|
2476
2506
|
static __wrap(ptr) {
|
|
2477
|
-
ptr = ptr >>> 0;
|
|
2478
2507
|
const obj = Object.create(LLE.prototype);
|
|
2479
2508
|
obj.__wbg_ptr = ptr;
|
|
2480
2509
|
LLEFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2518,7 +2547,7 @@ export class LLE {
|
|
|
2518
2547
|
*/
|
|
2519
2548
|
constructor(lat, lng, height) {
|
|
2520
2549
|
const ret = wasm.lle_new(lat, lng, height);
|
|
2521
|
-
this.__wbg_ptr = ret
|
|
2550
|
+
this.__wbg_ptr = ret;
|
|
2522
2551
|
LLEFinalization.register(this, this.__wbg_ptr, this);
|
|
2523
2552
|
return this;
|
|
2524
2553
|
}
|
|
@@ -2545,7 +2574,6 @@ if (Symbol.dispose) LLE.prototype[Symbol.dispose] = LLE.prototype.free;
|
|
|
2545
2574
|
|
|
2546
2575
|
export class ModelInternalMaterial {
|
|
2547
2576
|
static __wrap(ptr) {
|
|
2548
|
-
ptr = ptr >>> 0;
|
|
2549
2577
|
const obj = Object.create(ModelInternalMaterial.prototype);
|
|
2550
2578
|
obj.__wbg_ptr = ptr;
|
|
2551
2579
|
ModelInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2640,7 +2668,7 @@ export class ModelMaterial {
|
|
|
2640
2668
|
*/
|
|
2641
2669
|
get animationSpeed() {
|
|
2642
2670
|
const ret = wasm.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);
|
|
2643
|
-
return ret ===
|
|
2671
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2644
2672
|
}
|
|
2645
2673
|
/**
|
|
2646
2674
|
* @returns {boolean | undefined}
|
|
@@ -2668,7 +2696,7 @@ export class ModelMaterial {
|
|
|
2668
2696
|
*/
|
|
2669
2697
|
get color() {
|
|
2670
2698
|
const ret = wasm.__wbg_get_modelmaterial_color(this.__wbg_ptr);
|
|
2671
|
-
return ret ===
|
|
2699
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2672
2700
|
}
|
|
2673
2701
|
/**
|
|
2674
2702
|
* Crease angle (in radians) used when `normals` is true. Defaults to 30°
|
|
@@ -2677,7 +2705,7 @@ export class ModelMaterial {
|
|
|
2677
2705
|
*/
|
|
2678
2706
|
get creaseNormalAngle() {
|
|
2679
2707
|
const ret = wasm.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);
|
|
2680
|
-
return ret ===
|
|
2708
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2681
2709
|
}
|
|
2682
2710
|
/**
|
|
2683
2711
|
* Enable writing to depth buffer
|
|
@@ -2706,7 +2734,7 @@ export class ModelMaterial {
|
|
|
2706
2734
|
*/
|
|
2707
2735
|
get emissiveColor() {
|
|
2708
2736
|
const ret = wasm.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);
|
|
2709
|
-
return ret ===
|
|
2737
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2710
2738
|
}
|
|
2711
2739
|
/**
|
|
2712
2740
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -2714,35 +2742,35 @@ export class ModelMaterial {
|
|
|
2714
2742
|
*/
|
|
2715
2743
|
get emissiveIntensity() {
|
|
2716
2744
|
const ret = wasm.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
2717
|
-
return ret ===
|
|
2745
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2718
2746
|
}
|
|
2719
2747
|
/**
|
|
2720
2748
|
* @returns {number | undefined}
|
|
2721
2749
|
*/
|
|
2722
2750
|
get height() {
|
|
2723
2751
|
const ret = wasm.__wbg_get_modelmaterial_height(this.__wbg_ptr);
|
|
2724
|
-
return ret ===
|
|
2752
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2725
2753
|
}
|
|
2726
2754
|
/**
|
|
2727
2755
|
* @returns {number | undefined}
|
|
2728
2756
|
*/
|
|
2729
2757
|
get ior() {
|
|
2730
2758
|
const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
|
|
2731
|
-
return ret ===
|
|
2759
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2732
2760
|
}
|
|
2733
2761
|
/**
|
|
2734
2762
|
* @returns {number | undefined}
|
|
2735
2763
|
*/
|
|
2736
2764
|
get maxSse() {
|
|
2737
2765
|
const ret = wasm.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);
|
|
2738
|
-
return ret ===
|
|
2766
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2739
2767
|
}
|
|
2740
2768
|
/**
|
|
2741
2769
|
* @returns {number | undefined}
|
|
2742
2770
|
*/
|
|
2743
2771
|
get metalness() {
|
|
2744
2772
|
const ret = wasm.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);
|
|
2745
|
-
return ret ===
|
|
2773
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2746
2774
|
}
|
|
2747
2775
|
/**
|
|
2748
2776
|
* When true, recompute vertex normals using a creased-normals algorithm
|
|
@@ -2760,14 +2788,14 @@ export class ModelMaterial {
|
|
|
2760
2788
|
*/
|
|
2761
2789
|
get opacity() {
|
|
2762
2790
|
const ret = wasm.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);
|
|
2763
|
-
return ret ===
|
|
2791
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2764
2792
|
}
|
|
2765
2793
|
/**
|
|
2766
2794
|
* @returns {number | undefined}
|
|
2767
2795
|
*/
|
|
2768
2796
|
get pointSize() {
|
|
2769
2797
|
const ret = wasm.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);
|
|
2770
|
-
return ret ===
|
|
2798
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2771
2799
|
}
|
|
2772
2800
|
/**
|
|
2773
2801
|
* @returns {boolean | undefined}
|
|
@@ -2782,7 +2810,7 @@ export class ModelMaterial {
|
|
|
2782
2810
|
*/
|
|
2783
2811
|
get reflectivity() {
|
|
2784
2812
|
const ret = wasm.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);
|
|
2785
|
-
return ret ===
|
|
2813
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2786
2814
|
}
|
|
2787
2815
|
/**
|
|
2788
2816
|
* Reflectivity for post-process.
|
|
@@ -2790,14 +2818,14 @@ export class ModelMaterial {
|
|
|
2790
2818
|
*/
|
|
2791
2819
|
get roughness() {
|
|
2792
2820
|
const ret = wasm.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);
|
|
2793
|
-
return ret ===
|
|
2821
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2794
2822
|
}
|
|
2795
2823
|
/**
|
|
2796
2824
|
* @returns {number | undefined}
|
|
2797
2825
|
*/
|
|
2798
2826
|
get shininess() {
|
|
2799
2827
|
const ret = wasm.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);
|
|
2800
|
-
return ret ===
|
|
2828
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2801
2829
|
}
|
|
2802
2830
|
/**
|
|
2803
2831
|
* @returns {boolean | undefined}
|
|
@@ -2825,14 +2853,14 @@ export class ModelMaterial {
|
|
|
2825
2853
|
*/
|
|
2826
2854
|
get size() {
|
|
2827
2855
|
const ret = wasm.__wbg_get_modelmaterial_size(this.__wbg_ptr);
|
|
2828
|
-
return ret ===
|
|
2856
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2829
2857
|
}
|
|
2830
2858
|
/**
|
|
2831
2859
|
* @returns {number | undefined}
|
|
2832
2860
|
*/
|
|
2833
2861
|
get specularStrength() {
|
|
2834
2862
|
const ret = wasm.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);
|
|
2835
|
-
return ret ===
|
|
2863
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2836
2864
|
}
|
|
2837
2865
|
/**
|
|
2838
2866
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -2868,7 +2896,7 @@ export class ModelMaterial {
|
|
|
2868
2896
|
*/
|
|
2869
2897
|
get waterScaleNormal() {
|
|
2870
2898
|
const ret = wasm.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);
|
|
2871
|
-
return ret ===
|
|
2899
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2872
2900
|
}
|
|
2873
2901
|
/**
|
|
2874
2902
|
* Water wave speed.
|
|
@@ -2876,7 +2904,7 @@ export class ModelMaterial {
|
|
|
2876
2904
|
*/
|
|
2877
2905
|
get waterSpeed() {
|
|
2878
2906
|
const ret = wasm.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);
|
|
2879
|
-
return ret ===
|
|
2907
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2880
2908
|
}
|
|
2881
2909
|
/**
|
|
2882
2910
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -2909,7 +2937,7 @@ export class ModelMaterial {
|
|
|
2909
2937
|
* @param {number | null} [arg0]
|
|
2910
2938
|
*/
|
|
2911
2939
|
set animationSpeed(arg0) {
|
|
2912
|
-
wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2940
|
+
wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2913
2941
|
}
|
|
2914
2942
|
/**
|
|
2915
2943
|
* @param {boolean | null} [arg0]
|
|
@@ -2933,7 +2961,7 @@ export class ModelMaterial {
|
|
|
2933
2961
|
* @param {number | null} [arg0]
|
|
2934
2962
|
*/
|
|
2935
2963
|
set color(arg0) {
|
|
2936
|
-
wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2964
|
+
wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
2937
2965
|
}
|
|
2938
2966
|
/**
|
|
2939
2967
|
* Crease angle (in radians) used when `normals` is true. Defaults to 30°
|
|
@@ -2941,7 +2969,7 @@ export class ModelMaterial {
|
|
|
2941
2969
|
* @param {number | null} [arg0]
|
|
2942
2970
|
*/
|
|
2943
2971
|
set creaseNormalAngle(arg0) {
|
|
2944
|
-
wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2972
|
+
wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2945
2973
|
}
|
|
2946
2974
|
/**
|
|
2947
2975
|
* Enable writing to depth buffer
|
|
@@ -2964,38 +2992,38 @@ export class ModelMaterial {
|
|
|
2964
2992
|
* @param {number | null} [arg0]
|
|
2965
2993
|
*/
|
|
2966
2994
|
set emissiveColor(arg0) {
|
|
2967
|
-
wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2995
|
+
wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
2968
2996
|
}
|
|
2969
2997
|
/**
|
|
2970
2998
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
2971
2999
|
* @param {number | null} [arg0]
|
|
2972
3000
|
*/
|
|
2973
3001
|
set emissiveIntensity(arg0) {
|
|
2974
|
-
wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3002
|
+
wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2975
3003
|
}
|
|
2976
3004
|
/**
|
|
2977
3005
|
* @param {number | null} [arg0]
|
|
2978
3006
|
*/
|
|
2979
3007
|
set height(arg0) {
|
|
2980
|
-
wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3008
|
+
wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2981
3009
|
}
|
|
2982
3010
|
/**
|
|
2983
3011
|
* @param {number | null} [arg0]
|
|
2984
3012
|
*/
|
|
2985
3013
|
set ior(arg0) {
|
|
2986
|
-
wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3014
|
+
wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2987
3015
|
}
|
|
2988
3016
|
/**
|
|
2989
3017
|
* @param {number | null} [arg0]
|
|
2990
3018
|
*/
|
|
2991
3019
|
set maxSse(arg0) {
|
|
2992
|
-
wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3020
|
+
wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2993
3021
|
}
|
|
2994
3022
|
/**
|
|
2995
3023
|
* @param {number | null} [arg0]
|
|
2996
3024
|
*/
|
|
2997
3025
|
set metalness(arg0) {
|
|
2998
|
-
wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3026
|
+
wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2999
3027
|
}
|
|
3000
3028
|
/**
|
|
3001
3029
|
* When true, recompute vertex normals using a creased-normals algorithm
|
|
@@ -3011,13 +3039,13 @@ export class ModelMaterial {
|
|
|
3011
3039
|
* @param {number | null} [arg0]
|
|
3012
3040
|
*/
|
|
3013
3041
|
set opacity(arg0) {
|
|
3014
|
-
wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3042
|
+
wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3015
3043
|
}
|
|
3016
3044
|
/**
|
|
3017
3045
|
* @param {number | null} [arg0]
|
|
3018
3046
|
*/
|
|
3019
3047
|
set pointSize(arg0) {
|
|
3020
|
-
wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3048
|
+
wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3021
3049
|
}
|
|
3022
3050
|
/**
|
|
3023
3051
|
* @param {boolean | null} [arg0]
|
|
@@ -3030,20 +3058,20 @@ export class ModelMaterial {
|
|
|
3030
3058
|
* @param {number | null} [arg0]
|
|
3031
3059
|
*/
|
|
3032
3060
|
set reflectivity(arg0) {
|
|
3033
|
-
wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3061
|
+
wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3034
3062
|
}
|
|
3035
3063
|
/**
|
|
3036
3064
|
* Reflectivity for post-process.
|
|
3037
3065
|
* @param {number | null} [arg0]
|
|
3038
3066
|
*/
|
|
3039
3067
|
set roughness(arg0) {
|
|
3040
|
-
wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3068
|
+
wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3041
3069
|
}
|
|
3042
3070
|
/**
|
|
3043
3071
|
* @param {number | null} [arg0]
|
|
3044
3072
|
*/
|
|
3045
3073
|
set shininess(arg0) {
|
|
3046
|
-
wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3074
|
+
wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3047
3075
|
}
|
|
3048
3076
|
/**
|
|
3049
3077
|
* @param {boolean | null} [arg0]
|
|
@@ -3067,13 +3095,13 @@ export class ModelMaterial {
|
|
|
3067
3095
|
* @param {number | null} [arg0]
|
|
3068
3096
|
*/
|
|
3069
3097
|
set size(arg0) {
|
|
3070
|
-
wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3098
|
+
wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3071
3099
|
}
|
|
3072
3100
|
/**
|
|
3073
3101
|
* @param {number | null} [arg0]
|
|
3074
3102
|
*/
|
|
3075
3103
|
set specularStrength(arg0) {
|
|
3076
|
-
wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3104
|
+
wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3077
3105
|
}
|
|
3078
3106
|
/**
|
|
3079
3107
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -3102,14 +3130,14 @@ export class ModelMaterial {
|
|
|
3102
3130
|
* @param {number | null} [arg0]
|
|
3103
3131
|
*/
|
|
3104
3132
|
set waterScaleNormal(arg0) {
|
|
3105
|
-
wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3133
|
+
wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3106
3134
|
}
|
|
3107
3135
|
/**
|
|
3108
3136
|
* Water wave speed.
|
|
3109
3137
|
* @param {number | null} [arg0]
|
|
3110
3138
|
*/
|
|
3111
3139
|
set waterSpeed(arg0) {
|
|
3112
|
-
wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3140
|
+
wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3113
3141
|
}
|
|
3114
3142
|
/**
|
|
3115
3143
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -3262,7 +3290,26 @@ export class PointMaterial {
|
|
|
3262
3290
|
*/
|
|
3263
3291
|
get color() {
|
|
3264
3292
|
const ret = wasm.__wbg_get_pointmaterial_color(this.__wbg_ptr);
|
|
3265
|
-
return ret ===
|
|
3293
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3294
|
+
}
|
|
3295
|
+
/**
|
|
3296
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
3297
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
3298
|
+
* @returns {number | undefined}
|
|
3299
|
+
*/
|
|
3300
|
+
get declutterPriority() {
|
|
3301
|
+
const ret = wasm.__wbg_get_pointmaterial_declutterPriority(this.__wbg_ptr);
|
|
3302
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3303
|
+
}
|
|
3304
|
+
/**
|
|
3305
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
3306
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
3307
|
+
* `false` to draw every label unconditionally.
|
|
3308
|
+
* @returns {boolean | undefined}
|
|
3309
|
+
*/
|
|
3310
|
+
get declutter() {
|
|
3311
|
+
const ret = wasm.__wbg_get_pointmaterial_declutter(this.__wbg_ptr);
|
|
3312
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3266
3313
|
}
|
|
3267
3314
|
/**
|
|
3268
3315
|
* @returns {boolean | undefined}
|
|
@@ -3290,7 +3337,7 @@ export class PointMaterial {
|
|
|
3290
3337
|
*/
|
|
3291
3338
|
get emissiveColor() {
|
|
3292
3339
|
const ret = wasm.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);
|
|
3293
|
-
return ret ===
|
|
3340
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3294
3341
|
}
|
|
3295
3342
|
/**
|
|
3296
3343
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -3298,14 +3345,14 @@ export class PointMaterial {
|
|
|
3298
3345
|
*/
|
|
3299
3346
|
get emissiveIntensity() {
|
|
3300
3347
|
const ret = wasm.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
3301
|
-
return ret ===
|
|
3348
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3302
3349
|
}
|
|
3303
3350
|
/**
|
|
3304
3351
|
* @returns {number | undefined}
|
|
3305
3352
|
*/
|
|
3306
3353
|
get height() {
|
|
3307
3354
|
const ret = wasm.__wbg_get_pointmaterial_height(this.__wbg_ptr);
|
|
3308
|
-
return ret ===
|
|
3355
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3309
3356
|
}
|
|
3310
3357
|
/**
|
|
3311
3358
|
* Avoid overlapping with the globe surface.
|
|
@@ -3320,7 +3367,7 @@ export class PointMaterial {
|
|
|
3320
3367
|
*/
|
|
3321
3368
|
get opacity() {
|
|
3322
3369
|
const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
|
|
3323
|
-
return ret ===
|
|
3370
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3324
3371
|
}
|
|
3325
3372
|
/**
|
|
3326
3373
|
* @returns {boolean | undefined}
|
|
@@ -3343,7 +3390,7 @@ export class PointMaterial {
|
|
|
3343
3390
|
*/
|
|
3344
3391
|
get size() {
|
|
3345
3392
|
const ret = wasm.__wbg_get_pointmaterial_size(this.__wbg_ptr);
|
|
3346
|
-
return ret ===
|
|
3393
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3347
3394
|
}
|
|
3348
3395
|
/**
|
|
3349
3396
|
* @returns {boolean | undefined}
|
|
@@ -3375,7 +3422,24 @@ export class PointMaterial {
|
|
|
3375
3422
|
* @param {number | null} [arg0]
|
|
3376
3423
|
*/
|
|
3377
3424
|
set color(arg0) {
|
|
3378
|
-
wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3425
|
+
wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
3426
|
+
}
|
|
3427
|
+
/**
|
|
3428
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
3429
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
3430
|
+
* @param {number | null} [arg0]
|
|
3431
|
+
*/
|
|
3432
|
+
set declutterPriority(arg0) {
|
|
3433
|
+
wasm.__wbg_set_pointmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3434
|
+
}
|
|
3435
|
+
/**
|
|
3436
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
3437
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
3438
|
+
* `false` to draw every label unconditionally.
|
|
3439
|
+
* @param {boolean | null} [arg0]
|
|
3440
|
+
*/
|
|
3441
|
+
set declutter(arg0) {
|
|
3442
|
+
wasm.__wbg_set_pointmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
3379
3443
|
}
|
|
3380
3444
|
/**
|
|
3381
3445
|
* @param {boolean | null} [arg0]
|
|
@@ -3397,20 +3461,20 @@ export class PointMaterial {
|
|
|
3397
3461
|
* @param {number | null} [arg0]
|
|
3398
3462
|
*/
|
|
3399
3463
|
set emissiveColor(arg0) {
|
|
3400
|
-
wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3464
|
+
wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
3401
3465
|
}
|
|
3402
3466
|
/**
|
|
3403
3467
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
3404
3468
|
* @param {number | null} [arg0]
|
|
3405
3469
|
*/
|
|
3406
3470
|
set emissiveIntensity(arg0) {
|
|
3407
|
-
wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3471
|
+
wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3408
3472
|
}
|
|
3409
3473
|
/**
|
|
3410
3474
|
* @param {number | null} [arg0]
|
|
3411
3475
|
*/
|
|
3412
3476
|
set height(arg0) {
|
|
3413
|
-
wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3477
|
+
wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3414
3478
|
}
|
|
3415
3479
|
/**
|
|
3416
3480
|
* Avoid overlapping with the globe surface.
|
|
@@ -3423,7 +3487,7 @@ export class PointMaterial {
|
|
|
3423
3487
|
* @param {number | null} [arg0]
|
|
3424
3488
|
*/
|
|
3425
3489
|
set opacity(arg0) {
|
|
3426
|
-
wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3490
|
+
wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3427
3491
|
}
|
|
3428
3492
|
/**
|
|
3429
3493
|
* @param {boolean | null} [arg0]
|
|
@@ -3443,7 +3507,7 @@ export class PointMaterial {
|
|
|
3443
3507
|
* @param {number | null} [arg0]
|
|
3444
3508
|
*/
|
|
3445
3509
|
set size(arg0) {
|
|
3446
|
-
wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3510
|
+
wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3447
3511
|
}
|
|
3448
3512
|
/**
|
|
3449
3513
|
* @param {boolean | null} [arg0]
|
|
@@ -3687,7 +3751,6 @@ if (Symbol.dispose) PolygonGeometryAttributes.prototype[Symbol.dispose] = Polygo
|
|
|
3687
3751
|
|
|
3688
3752
|
export class PolygonInternalMaterial {
|
|
3689
3753
|
static __wrap(ptr) {
|
|
3690
|
-
ptr = ptr >>> 0;
|
|
3691
3754
|
const obj = Object.create(PolygonInternalMaterial.prototype);
|
|
3692
3755
|
obj.__wbg_ptr = ptr;
|
|
3693
3756
|
PolygonInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3767,7 +3830,7 @@ export class PolygonMaterial {
|
|
|
3767
3830
|
*/
|
|
3768
3831
|
get color() {
|
|
3769
3832
|
const ret = wasm.__wbg_get_polygonmaterial_color(this.__wbg_ptr);
|
|
3770
|
-
return ret ===
|
|
3833
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3771
3834
|
}
|
|
3772
3835
|
/**
|
|
3773
3836
|
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
@@ -3788,7 +3851,7 @@ export class PolygonMaterial {
|
|
|
3788
3851
|
*/
|
|
3789
3852
|
get emissiveColor() {
|
|
3790
3853
|
const ret = wasm.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);
|
|
3791
|
-
return ret ===
|
|
3854
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3792
3855
|
}
|
|
3793
3856
|
/**
|
|
3794
3857
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -3796,28 +3859,28 @@ export class PolygonMaterial {
|
|
|
3796
3859
|
*/
|
|
3797
3860
|
get emissiveIntensity() {
|
|
3798
3861
|
const ret = wasm.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
3799
|
-
return ret ===
|
|
3862
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3800
3863
|
}
|
|
3801
3864
|
/**
|
|
3802
3865
|
* @returns {number | undefined}
|
|
3803
3866
|
*/
|
|
3804
3867
|
get extrudedHeight() {
|
|
3805
3868
|
const ret = wasm.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);
|
|
3806
|
-
return ret ===
|
|
3869
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3807
3870
|
}
|
|
3808
3871
|
/**
|
|
3809
3872
|
* @returns {number | undefined}
|
|
3810
3873
|
*/
|
|
3811
3874
|
get height() {
|
|
3812
3875
|
const ret = wasm.__wbg_get_polygonmaterial_height(this.__wbg_ptr);
|
|
3813
|
-
return ret ===
|
|
3876
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3814
3877
|
}
|
|
3815
3878
|
/**
|
|
3816
3879
|
* @returns {number | undefined}
|
|
3817
3880
|
*/
|
|
3818
3881
|
get ior() {
|
|
3819
3882
|
const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
|
|
3820
|
-
return ret ===
|
|
3883
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3821
3884
|
}
|
|
3822
3885
|
/**
|
|
3823
3886
|
* Need to enable `transparent`.
|
|
@@ -3825,7 +3888,7 @@ export class PolygonMaterial {
|
|
|
3825
3888
|
*/
|
|
3826
3889
|
get opacity() {
|
|
3827
3890
|
const ret = wasm.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);
|
|
3828
|
-
return ret ===
|
|
3891
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3829
3892
|
}
|
|
3830
3893
|
/**
|
|
3831
3894
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -3833,7 +3896,7 @@ export class PolygonMaterial {
|
|
|
3833
3896
|
*/
|
|
3834
3897
|
get outlineColor() {
|
|
3835
3898
|
const ret = wasm.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);
|
|
3836
|
-
return ret ===
|
|
3899
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3837
3900
|
}
|
|
3838
3901
|
/**
|
|
3839
3902
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -3849,7 +3912,7 @@ export class PolygonMaterial {
|
|
|
3849
3912
|
*/
|
|
3850
3913
|
get outlineWidth() {
|
|
3851
3914
|
const ret = wasm.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);
|
|
3852
|
-
return ret ===
|
|
3915
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3853
3916
|
}
|
|
3854
3917
|
/**
|
|
3855
3918
|
* Whether to compute outline geometry. Only effective at initial load time.
|
|
@@ -3881,7 +3944,7 @@ export class PolygonMaterial {
|
|
|
3881
3944
|
*/
|
|
3882
3945
|
get reflectivity() {
|
|
3883
3946
|
const ret = wasm.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);
|
|
3884
|
-
return ret ===
|
|
3947
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3885
3948
|
}
|
|
3886
3949
|
/**
|
|
3887
3950
|
* Reflectivity for post-process.
|
|
@@ -3889,14 +3952,14 @@ export class PolygonMaterial {
|
|
|
3889
3952
|
*/
|
|
3890
3953
|
get roughness() {
|
|
3891
3954
|
const ret = wasm.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);
|
|
3892
|
-
return ret ===
|
|
3955
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3893
3956
|
}
|
|
3894
3957
|
/**
|
|
3895
3958
|
* @returns {number | undefined}
|
|
3896
3959
|
*/
|
|
3897
3960
|
get shininess() {
|
|
3898
3961
|
const ret = wasm.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);
|
|
3899
|
-
return ret ===
|
|
3962
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3900
3963
|
}
|
|
3901
3964
|
/**
|
|
3902
3965
|
* @returns {boolean | undefined}
|
|
@@ -3910,7 +3973,7 @@ export class PolygonMaterial {
|
|
|
3910
3973
|
*/
|
|
3911
3974
|
get specularStrength() {
|
|
3912
3975
|
const ret = wasm.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);
|
|
3913
|
-
return ret ===
|
|
3976
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3914
3977
|
}
|
|
3915
3978
|
/**
|
|
3916
3979
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -3955,7 +4018,7 @@ export class PolygonMaterial {
|
|
|
3955
4018
|
*/
|
|
3956
4019
|
get waterScaleNormal() {
|
|
3957
4020
|
const ret = wasm.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);
|
|
3958
|
-
return ret ===
|
|
4021
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3959
4022
|
}
|
|
3960
4023
|
/**
|
|
3961
4024
|
* Water wave speed.
|
|
@@ -3963,7 +4026,7 @@ export class PolygonMaterial {
|
|
|
3963
4026
|
*/
|
|
3964
4027
|
get waterSpeed() {
|
|
3965
4028
|
const ret = wasm.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);
|
|
3966
|
-
return ret ===
|
|
4029
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3967
4030
|
}
|
|
3968
4031
|
/**
|
|
3969
4032
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -4000,8 +4063,8 @@ export class PolygonMaterial {
|
|
|
4000
4063
|
_assertClass(__internal__, PolygonInternalMaterial);
|
|
4001
4064
|
ptr0 = __internal__.__destroy_into_raw();
|
|
4002
4065
|
}
|
|
4003
|
-
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) ?
|
|
4004
|
-
this.__wbg_ptr = ret
|
|
4066
|
+
const ret = wasm.polygonmaterial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? Number.MAX_SAFE_INTEGER : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? Number.MAX_SAFE_INTEGER : Math.fround(height), isLikeNone(extruded_height) ? Number.MAX_SAFE_INTEGER : Math.fround(extruded_height), isLikeNone(wireframe) ? 0xFFFFFF : wireframe ? 1 : 0, isLikeNone(outline) ? 0xFFFFFF : outline ? 1 : 0, isLikeNone(per_position_height) ? 0xFFFFFF : per_position_height ? 1 : 0, ptr0);
|
|
4067
|
+
this.__wbg_ptr = ret;
|
|
4005
4068
|
PolygonMaterialFinalization.register(this, this.__wbg_ptr, this);
|
|
4006
4069
|
return this;
|
|
4007
4070
|
}
|
|
@@ -4038,7 +4101,7 @@ export class PolygonMaterial {
|
|
|
4038
4101
|
* @param {number | null} [arg0]
|
|
4039
4102
|
*/
|
|
4040
4103
|
set color(arg0) {
|
|
4041
|
-
wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4104
|
+
wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4042
4105
|
}
|
|
4043
4106
|
/**
|
|
4044
4107
|
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
@@ -4054,46 +4117,46 @@ export class PolygonMaterial {
|
|
|
4054
4117
|
* @param {number | null} [arg0]
|
|
4055
4118
|
*/
|
|
4056
4119
|
set emissiveColor(arg0) {
|
|
4057
|
-
wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4120
|
+
wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4058
4121
|
}
|
|
4059
4122
|
/**
|
|
4060
4123
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
4061
4124
|
* @param {number | null} [arg0]
|
|
4062
4125
|
*/
|
|
4063
4126
|
set emissiveIntensity(arg0) {
|
|
4064
|
-
wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4127
|
+
wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4065
4128
|
}
|
|
4066
4129
|
/**
|
|
4067
4130
|
* @param {number | null} [arg0]
|
|
4068
4131
|
*/
|
|
4069
4132
|
set extrudedHeight(arg0) {
|
|
4070
|
-
wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4133
|
+
wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4071
4134
|
}
|
|
4072
4135
|
/**
|
|
4073
4136
|
* @param {number | null} [arg0]
|
|
4074
4137
|
*/
|
|
4075
4138
|
set height(arg0) {
|
|
4076
|
-
wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4139
|
+
wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4077
4140
|
}
|
|
4078
4141
|
/**
|
|
4079
4142
|
* @param {number | null} [arg0]
|
|
4080
4143
|
*/
|
|
4081
4144
|
set ior(arg0) {
|
|
4082
|
-
wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4145
|
+
wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4083
4146
|
}
|
|
4084
4147
|
/**
|
|
4085
4148
|
* Need to enable `transparent`.
|
|
4086
4149
|
* @param {number | null} [arg0]
|
|
4087
4150
|
*/
|
|
4088
4151
|
set opacity(arg0) {
|
|
4089
|
-
wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4152
|
+
wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4090
4153
|
}
|
|
4091
4154
|
/**
|
|
4092
4155
|
* Currently, this property is supported only in GeoJSON.
|
|
4093
4156
|
* @param {number | null} [arg0]
|
|
4094
4157
|
*/
|
|
4095
4158
|
set outlineColor(arg0) {
|
|
4096
|
-
wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4159
|
+
wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4097
4160
|
}
|
|
4098
4161
|
/**
|
|
4099
4162
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -4107,7 +4170,7 @@ export class PolygonMaterial {
|
|
|
4107
4170
|
* @param {number | null} [arg0]
|
|
4108
4171
|
*/
|
|
4109
4172
|
set outlineWidth(arg0) {
|
|
4110
|
-
wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4173
|
+
wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4111
4174
|
}
|
|
4112
4175
|
/**
|
|
4113
4176
|
* Whether to compute outline geometry. Only effective at initial load time.
|
|
@@ -4135,20 +4198,20 @@ export class PolygonMaterial {
|
|
|
4135
4198
|
* @param {number | null} [arg0]
|
|
4136
4199
|
*/
|
|
4137
4200
|
set reflectivity(arg0) {
|
|
4138
|
-
wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4201
|
+
wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4139
4202
|
}
|
|
4140
4203
|
/**
|
|
4141
4204
|
* Reflectivity for post-process.
|
|
4142
4205
|
* @param {number | null} [arg0]
|
|
4143
4206
|
*/
|
|
4144
4207
|
set roughness(arg0) {
|
|
4145
|
-
wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4208
|
+
wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4146
4209
|
}
|
|
4147
4210
|
/**
|
|
4148
4211
|
* @param {number | null} [arg0]
|
|
4149
4212
|
*/
|
|
4150
4213
|
set shininess(arg0) {
|
|
4151
|
-
wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4214
|
+
wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4152
4215
|
}
|
|
4153
4216
|
/**
|
|
4154
4217
|
* @param {boolean | null} [arg0]
|
|
@@ -4160,7 +4223,7 @@ export class PolygonMaterial {
|
|
|
4160
4223
|
* @param {number | null} [arg0]
|
|
4161
4224
|
*/
|
|
4162
4225
|
set specularStrength(arg0) {
|
|
4163
|
-
wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4226
|
+
wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4164
4227
|
}
|
|
4165
4228
|
/**
|
|
4166
4229
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -4200,14 +4263,14 @@ export class PolygonMaterial {
|
|
|
4200
4263
|
* @param {number | null} [arg0]
|
|
4201
4264
|
*/
|
|
4202
4265
|
set waterScaleNormal(arg0) {
|
|
4203
|
-
wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4266
|
+
wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4204
4267
|
}
|
|
4205
4268
|
/**
|
|
4206
4269
|
* Water wave speed.
|
|
4207
4270
|
* @param {number | null} [arg0]
|
|
4208
4271
|
*/
|
|
4209
4272
|
set waterSpeed(arg0) {
|
|
4210
|
-
wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4273
|
+
wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4211
4274
|
}
|
|
4212
4275
|
/**
|
|
4213
4276
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -4654,7 +4717,6 @@ if (Symbol.dispose) PolylineGeometryAttributes.prototype[Symbol.dispose] = Polyl
|
|
|
4654
4717
|
|
|
4655
4718
|
export class PolylineInternalMaterial {
|
|
4656
4719
|
static __wrap(ptr) {
|
|
4657
|
-
ptr = ptr >>> 0;
|
|
4658
4720
|
const obj = Object.create(PolylineInternalMaterial.prototype);
|
|
4659
4721
|
obj.__wbg_ptr = ptr;
|
|
4660
4722
|
PolylineInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4727,7 +4789,7 @@ export class PolylineMaterial {
|
|
|
4727
4789
|
*/
|
|
4728
4790
|
get color() {
|
|
4729
4791
|
const ret = wasm.__wbg_get_polylinematerial_color(this.__wbg_ptr);
|
|
4730
|
-
return ret ===
|
|
4792
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4731
4793
|
}
|
|
4732
4794
|
/**
|
|
4733
4795
|
* Enable writing to depth buffer
|
|
@@ -4756,7 +4818,7 @@ export class PolylineMaterial {
|
|
|
4756
4818
|
*/
|
|
4757
4819
|
get emissiveColor() {
|
|
4758
4820
|
const ret = wasm.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);
|
|
4759
|
-
return ret ===
|
|
4821
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4760
4822
|
}
|
|
4761
4823
|
/**
|
|
4762
4824
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -4764,14 +4826,14 @@ export class PolylineMaterial {
|
|
|
4764
4826
|
*/
|
|
4765
4827
|
get emissiveIntensity() {
|
|
4766
4828
|
const ret = wasm.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);
|
|
4767
|
-
return ret ===
|
|
4829
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4768
4830
|
}
|
|
4769
4831
|
/**
|
|
4770
4832
|
* @returns {number | undefined}
|
|
4771
4833
|
*/
|
|
4772
4834
|
get height() {
|
|
4773
4835
|
const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
|
|
4774
|
-
return ret ===
|
|
4836
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4775
4837
|
}
|
|
4776
4838
|
/**
|
|
4777
4839
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
@@ -4780,7 +4842,7 @@ export class PolylineMaterial {
|
|
|
4780
4842
|
*/
|
|
4781
4843
|
get maxWidth() {
|
|
4782
4844
|
const ret = wasm.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);
|
|
4783
|
-
return ret ===
|
|
4845
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4784
4846
|
}
|
|
4785
4847
|
/**
|
|
4786
4848
|
* Opacity value
|
|
@@ -4788,7 +4850,7 @@ export class PolylineMaterial {
|
|
|
4788
4850
|
*/
|
|
4789
4851
|
get opacity() {
|
|
4790
4852
|
const ret = wasm.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);
|
|
4791
|
-
return ret ===
|
|
4853
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4792
4854
|
}
|
|
4793
4855
|
/**
|
|
4794
4856
|
* @returns {boolean | undefined}
|
|
@@ -4829,7 +4891,7 @@ export class PolylineMaterial {
|
|
|
4829
4891
|
*/
|
|
4830
4892
|
get width() {
|
|
4831
4893
|
const ret = wasm.__wbg_get_polylinematerial_width(this.__wbg_ptr);
|
|
4832
|
-
return ret ===
|
|
4894
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4833
4895
|
}
|
|
4834
4896
|
/**
|
|
4835
4897
|
* @param {boolean | null} [show]
|
|
@@ -4849,8 +4911,8 @@ export class PolylineMaterial {
|
|
|
4849
4911
|
_assertClass(__internal__, PolylineInternalMaterial);
|
|
4850
4912
|
ptr0 = __internal__.__destroy_into_raw();
|
|
4851
4913
|
}
|
|
4852
|
-
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) ?
|
|
4853
|
-
this.__wbg_ptr = ret
|
|
4914
|
+
const ret = wasm.polylinematerial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? Number.MAX_SAFE_INTEGER : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? Number.MAX_SAFE_INTEGER : Math.fround(height), isLikeNone(width) ? Number.MAX_SAFE_INTEGER : Math.fround(width), isLikeNone(max_width) ? Number.MAX_SAFE_INTEGER : Math.fround(max_width), ptr0);
|
|
4915
|
+
this.__wbg_ptr = ret;
|
|
4854
4916
|
PolylineMaterialFinalization.register(this, this.__wbg_ptr, this);
|
|
4855
4917
|
return this;
|
|
4856
4918
|
}
|
|
@@ -4881,7 +4943,7 @@ export class PolylineMaterial {
|
|
|
4881
4943
|
* @param {number | null} [arg0]
|
|
4882
4944
|
*/
|
|
4883
4945
|
set color(arg0) {
|
|
4884
|
-
wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4946
|
+
wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4885
4947
|
}
|
|
4886
4948
|
/**
|
|
4887
4949
|
* Enable writing to depth buffer
|
|
@@ -4904,20 +4966,20 @@ export class PolylineMaterial {
|
|
|
4904
4966
|
* @param {number | null} [arg0]
|
|
4905
4967
|
*/
|
|
4906
4968
|
set emissiveColor(arg0) {
|
|
4907
|
-
wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4969
|
+
wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4908
4970
|
}
|
|
4909
4971
|
/**
|
|
4910
4972
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
4911
4973
|
* @param {number | null} [arg0]
|
|
4912
4974
|
*/
|
|
4913
4975
|
set emissiveIntensity(arg0) {
|
|
4914
|
-
wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4976
|
+
wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4915
4977
|
}
|
|
4916
4978
|
/**
|
|
4917
4979
|
* @param {number | null} [arg0]
|
|
4918
4980
|
*/
|
|
4919
4981
|
set height(arg0) {
|
|
4920
|
-
wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4982
|
+
wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4921
4983
|
}
|
|
4922
4984
|
/**
|
|
4923
4985
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
@@ -4925,14 +4987,14 @@ export class PolylineMaterial {
|
|
|
4925
4987
|
* @param {number | null} [arg0]
|
|
4926
4988
|
*/
|
|
4927
4989
|
set maxWidth(arg0) {
|
|
4928
|
-
wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4990
|
+
wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4929
4991
|
}
|
|
4930
4992
|
/**
|
|
4931
4993
|
* Opacity value
|
|
4932
4994
|
* @param {number | null} [arg0]
|
|
4933
4995
|
*/
|
|
4934
4996
|
set opacity(arg0) {
|
|
4935
|
-
wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4997
|
+
wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4936
4998
|
}
|
|
4937
4999
|
/**
|
|
4938
5000
|
* @param {boolean | null} [arg0]
|
|
@@ -4968,7 +5030,7 @@ export class PolylineMaterial {
|
|
|
4968
5030
|
* @param {number | null} [arg0]
|
|
4969
5031
|
*/
|
|
4970
5032
|
set width(arg0) {
|
|
4971
|
-
wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5033
|
+
wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4972
5034
|
}
|
|
4973
5035
|
}
|
|
4974
5036
|
if (Symbol.dispose) PolylineMaterial.prototype[Symbol.dispose] = PolylineMaterial.prototype.free;
|
|
@@ -4994,14 +5056,14 @@ export class RasterMaterial {
|
|
|
4994
5056
|
*/
|
|
4995
5057
|
get color() {
|
|
4996
5058
|
const ret = wasm.__wbg_get_rastermaterial_color(this.__wbg_ptr);
|
|
4997
|
-
return ret ===
|
|
5059
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4998
5060
|
}
|
|
4999
5061
|
/**
|
|
5000
5062
|
* @returns {number | undefined}
|
|
5001
5063
|
*/
|
|
5002
5064
|
get opacity() {
|
|
5003
5065
|
const ret = wasm.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);
|
|
5004
|
-
return ret ===
|
|
5066
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5005
5067
|
}
|
|
5006
5068
|
/**
|
|
5007
5069
|
* @returns {boolean | undefined}
|
|
@@ -5021,13 +5083,13 @@ export class RasterMaterial {
|
|
|
5021
5083
|
* @param {number | null} [arg0]
|
|
5022
5084
|
*/
|
|
5023
5085
|
set color(arg0) {
|
|
5024
|
-
wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5086
|
+
wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
5025
5087
|
}
|
|
5026
5088
|
/**
|
|
5027
5089
|
* @param {number | null} [arg0]
|
|
5028
5090
|
*/
|
|
5029
5091
|
set opacity(arg0) {
|
|
5030
|
-
wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5092
|
+
wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
5031
5093
|
}
|
|
5032
5094
|
/**
|
|
5033
5095
|
* @param {boolean | null} [arg0]
|
|
@@ -5553,7 +5615,7 @@ export class Ray {
|
|
|
5553
5615
|
_assertClass(direction, Vec3);
|
|
5554
5616
|
var ptr1 = direction.__destroy_into_raw();
|
|
5555
5617
|
const ret = wasm.ray_new(ptr0, ptr1);
|
|
5556
|
-
this.__wbg_ptr = ret
|
|
5618
|
+
this.__wbg_ptr = ret;
|
|
5557
5619
|
RayFinalization.register(this, this.__wbg_ptr, this);
|
|
5558
5620
|
return this;
|
|
5559
5621
|
}
|
|
@@ -5578,7 +5640,6 @@ if (Symbol.dispose) Ray.prototype[Symbol.dispose] = Ray.prototype.free;
|
|
|
5578
5640
|
|
|
5579
5641
|
export class ReturnedConstructedTerrainMesh {
|
|
5580
5642
|
static __wrap(ptr) {
|
|
5581
|
-
ptr = ptr >>> 0;
|
|
5582
5643
|
const obj = Object.create(ReturnedConstructedTerrainMesh.prototype);
|
|
5583
5644
|
obj.__wbg_ptr = ptr;
|
|
5584
5645
|
ReturnedConstructedTerrainMeshFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -5654,7 +5715,7 @@ export class ReturnedConstructedTerrainMesh {
|
|
|
5654
5715
|
ptr2 = rtc_translation.__destroy_into_raw();
|
|
5655
5716
|
}
|
|
5656
5717
|
const ret = wasm.returnedconstructedterrainmesh_new(ptr0, max_height, min_height, ptr1, len1, ptr2);
|
|
5657
|
-
this.__wbg_ptr = ret
|
|
5718
|
+
this.__wbg_ptr = ret;
|
|
5658
5719
|
ReturnedConstructedTerrainMeshFinalization.register(this, this.__wbg_ptr, this);
|
|
5659
5720
|
return this;
|
|
5660
5721
|
}
|
|
@@ -5806,7 +5867,7 @@ export class TerrainMaterial {
|
|
|
5806
5867
|
*/
|
|
5807
5868
|
get skirtExaggeration() {
|
|
5808
5869
|
const ret = wasm.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);
|
|
5809
|
-
return ret ===
|
|
5870
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5810
5871
|
}
|
|
5811
5872
|
/**
|
|
5812
5873
|
* Whether to render skirts along tile boundaries to hide gaps.
|
|
@@ -5847,7 +5908,7 @@ export class TerrainMaterial {
|
|
|
5847
5908
|
* @param {number | null} [arg0]
|
|
5848
5909
|
*/
|
|
5849
5910
|
set skirtExaggeration(arg0) {
|
|
5850
|
-
wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5911
|
+
wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
5851
5912
|
}
|
|
5852
5913
|
/**
|
|
5853
5914
|
* Whether to render skirts along tile boundaries to hide gaps.
|
|
@@ -5876,21 +5937,21 @@ export class TextMaterial {
|
|
|
5876
5937
|
*/
|
|
5877
5938
|
get backgroundColor() {
|
|
5878
5939
|
const ret = wasm.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);
|
|
5879
|
-
return ret ===
|
|
5940
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5880
5941
|
}
|
|
5881
5942
|
/**
|
|
5882
5943
|
* @returns {number | undefined}
|
|
5883
5944
|
*/
|
|
5884
5945
|
get borderColor() {
|
|
5885
5946
|
const ret = wasm.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);
|
|
5886
|
-
return ret ===
|
|
5947
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5887
5948
|
}
|
|
5888
5949
|
/**
|
|
5889
5950
|
* @returns {number | undefined}
|
|
5890
5951
|
*/
|
|
5891
5952
|
get borderWidth() {
|
|
5892
5953
|
const ret = wasm.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);
|
|
5893
|
-
return ret ===
|
|
5954
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5894
5955
|
}
|
|
5895
5956
|
/**
|
|
5896
5957
|
* @returns {Vec2 | undefined}
|
|
@@ -5911,7 +5972,26 @@ export class TextMaterial {
|
|
|
5911
5972
|
*/
|
|
5912
5973
|
get color() {
|
|
5913
5974
|
const ret = wasm.__wbg_get_textmaterial_color(this.__wbg_ptr);
|
|
5914
|
-
return ret ===
|
|
5975
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5976
|
+
}
|
|
5977
|
+
/**
|
|
5978
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
5979
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
5980
|
+
* @returns {number | undefined}
|
|
5981
|
+
*/
|
|
5982
|
+
get declutterPriority() {
|
|
5983
|
+
const ret = wasm.__wbg_get_textmaterial_declutterPriority(this.__wbg_ptr);
|
|
5984
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5985
|
+
}
|
|
5986
|
+
/**
|
|
5987
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
5988
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
5989
|
+
* `false` to draw every label unconditionally.
|
|
5990
|
+
* @returns {boolean | undefined}
|
|
5991
|
+
*/
|
|
5992
|
+
get declutter() {
|
|
5993
|
+
const ret = wasm.__wbg_get_textmaterial_declutter(this.__wbg_ptr);
|
|
5994
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
5915
5995
|
}
|
|
5916
5996
|
/**
|
|
5917
5997
|
* @returns {boolean | undefined}
|
|
@@ -5950,7 +6030,7 @@ export class TextMaterial {
|
|
|
5950
6030
|
*/
|
|
5951
6031
|
get height() {
|
|
5952
6032
|
const ret = wasm.__wbg_get_textmaterial_height(this.__wbg_ptr);
|
|
5953
|
-
return ret ===
|
|
6033
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5954
6034
|
}
|
|
5955
6035
|
/**
|
|
5956
6036
|
* Enable high-quality glyph rendering. When `true`, text uses an MTSDF
|
|
@@ -5984,7 +6064,7 @@ export class TextMaterial {
|
|
|
5984
6064
|
*/
|
|
5985
6065
|
get lineHeight() {
|
|
5986
6066
|
const ret = wasm.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);
|
|
5987
|
-
return ret ===
|
|
6067
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5988
6068
|
}
|
|
5989
6069
|
/**
|
|
5990
6070
|
* Maximum line width in ems (multiples of `size`) before text wraps at
|
|
@@ -5994,7 +6074,7 @@ export class TextMaterial {
|
|
|
5994
6074
|
*/
|
|
5995
6075
|
get maxWidth() {
|
|
5996
6076
|
const ret = wasm.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);
|
|
5997
|
-
return ret ===
|
|
6077
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5998
6078
|
}
|
|
5999
6079
|
/**
|
|
6000
6080
|
* Avoid overlapping with the globe surface.
|
|
@@ -6010,7 +6090,7 @@ export class TextMaterial {
|
|
|
6010
6090
|
*/
|
|
6011
6091
|
get opacity() {
|
|
6012
6092
|
const ret = wasm.__wbg_get_textmaterial_opacity(this.__wbg_ptr);
|
|
6013
|
-
return ret ===
|
|
6093
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6014
6094
|
}
|
|
6015
6095
|
/**
|
|
6016
6096
|
* Outline blur radius in CSS pixels. Defaults to `0.0`.
|
|
@@ -6018,7 +6098,7 @@ export class TextMaterial {
|
|
|
6018
6098
|
*/
|
|
6019
6099
|
get outlineColor() {
|
|
6020
6100
|
const ret = wasm.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);
|
|
6021
|
-
return ret ===
|
|
6101
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6022
6102
|
}
|
|
6023
6103
|
/**
|
|
6024
6104
|
* Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
|
|
@@ -6026,7 +6106,7 @@ export class TextMaterial {
|
|
|
6026
6106
|
*/
|
|
6027
6107
|
get outlineOpacity() {
|
|
6028
6108
|
const ret = wasm.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);
|
|
6029
|
-
return ret ===
|
|
6109
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6030
6110
|
}
|
|
6031
6111
|
/**
|
|
6032
6112
|
* Outline thickness measured in CSS pixels. Defaults to `0.0`.
|
|
@@ -6034,7 +6114,7 @@ export class TextMaterial {
|
|
|
6034
6114
|
*/
|
|
6035
6115
|
get outlineWidth() {
|
|
6036
6116
|
const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
|
|
6037
|
-
return ret ===
|
|
6117
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6038
6118
|
}
|
|
6039
6119
|
/**
|
|
6040
6120
|
* @returns {boolean | undefined}
|
|
@@ -6057,7 +6137,7 @@ export class TextMaterial {
|
|
|
6057
6137
|
*/
|
|
6058
6138
|
get size() {
|
|
6059
6139
|
const ret = wasm.__wbg_get_textmaterial_size(this.__wbg_ptr);
|
|
6060
|
-
return ret ===
|
|
6140
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6061
6141
|
}
|
|
6062
6142
|
/**
|
|
6063
6143
|
* Horizontal alignment of lines within a multi-line block:
|
|
@@ -6097,19 +6177,19 @@ export class TextMaterial {
|
|
|
6097
6177
|
* @param {number | null} [arg0]
|
|
6098
6178
|
*/
|
|
6099
6179
|
set backgroundColor(arg0) {
|
|
6100
|
-
wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6180
|
+
wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6101
6181
|
}
|
|
6102
6182
|
/**
|
|
6103
6183
|
* @param {number | null} [arg0]
|
|
6104
6184
|
*/
|
|
6105
6185
|
set borderColor(arg0) {
|
|
6106
|
-
wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6186
|
+
wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6107
6187
|
}
|
|
6108
6188
|
/**
|
|
6109
6189
|
* @param {number | null} [arg0]
|
|
6110
6190
|
*/
|
|
6111
6191
|
set borderWidth(arg0) {
|
|
6112
|
-
wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6192
|
+
wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6113
6193
|
}
|
|
6114
6194
|
/**
|
|
6115
6195
|
* @param {Vec2 | null} [arg0]
|
|
@@ -6132,7 +6212,24 @@ export class TextMaterial {
|
|
|
6132
6212
|
* @param {number | null} [arg0]
|
|
6133
6213
|
*/
|
|
6134
6214
|
set color(arg0) {
|
|
6135
|
-
wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6215
|
+
wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6216
|
+
}
|
|
6217
|
+
/**
|
|
6218
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
6219
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
6220
|
+
* @param {number | null} [arg0]
|
|
6221
|
+
*/
|
|
6222
|
+
set declutterPriority(arg0) {
|
|
6223
|
+
wasm.__wbg_set_textmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6224
|
+
}
|
|
6225
|
+
/**
|
|
6226
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
6227
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
6228
|
+
* `false` to draw every label unconditionally.
|
|
6229
|
+
* @param {boolean | null} [arg0]
|
|
6230
|
+
*/
|
|
6231
|
+
set declutter(arg0) {
|
|
6232
|
+
wasm.__wbg_set_textmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
6136
6233
|
}
|
|
6137
6234
|
/**
|
|
6138
6235
|
* @param {boolean | null} [arg0]
|
|
@@ -6165,7 +6262,7 @@ export class TextMaterial {
|
|
|
6165
6262
|
* @param {number | null} [arg0]
|
|
6166
6263
|
*/
|
|
6167
6264
|
set height(arg0) {
|
|
6168
|
-
wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6265
|
+
wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6169
6266
|
}
|
|
6170
6267
|
/**
|
|
6171
6268
|
* Enable high-quality glyph rendering. When `true`, text uses an MTSDF
|
|
@@ -6193,7 +6290,7 @@ export class TextMaterial {
|
|
|
6193
6290
|
* @param {number | null} [arg0]
|
|
6194
6291
|
*/
|
|
6195
6292
|
set lineHeight(arg0) {
|
|
6196
|
-
wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6293
|
+
wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6197
6294
|
}
|
|
6198
6295
|
/**
|
|
6199
6296
|
* Maximum line width in ems (multiples of `size`) before text wraps at
|
|
@@ -6202,7 +6299,7 @@ export class TextMaterial {
|
|
|
6202
6299
|
* @param {number | null} [arg0]
|
|
6203
6300
|
*/
|
|
6204
6301
|
set maxWidth(arg0) {
|
|
6205
|
-
wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6302
|
+
wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6206
6303
|
}
|
|
6207
6304
|
/**
|
|
6208
6305
|
* Avoid overlapping with the globe surface.
|
|
@@ -6216,28 +6313,28 @@ export class TextMaterial {
|
|
|
6216
6313
|
* @param {number | null} [arg0]
|
|
6217
6314
|
*/
|
|
6218
6315
|
set opacity(arg0) {
|
|
6219
|
-
wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6316
|
+
wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6220
6317
|
}
|
|
6221
6318
|
/**
|
|
6222
6319
|
* Outline blur radius in CSS pixels. Defaults to `0.0`.
|
|
6223
6320
|
* @param {number | null} [arg0]
|
|
6224
6321
|
*/
|
|
6225
6322
|
set outlineColor(arg0) {
|
|
6226
|
-
wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6323
|
+
wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6227
6324
|
}
|
|
6228
6325
|
/**
|
|
6229
6326
|
* Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
|
|
6230
6327
|
* @param {number | null} [arg0]
|
|
6231
6328
|
*/
|
|
6232
6329
|
set outlineOpacity(arg0) {
|
|
6233
|
-
wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6330
|
+
wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6234
6331
|
}
|
|
6235
6332
|
/**
|
|
6236
6333
|
* Outline thickness measured in CSS pixels. Defaults to `0.0`.
|
|
6237
6334
|
* @param {number | null} [arg0]
|
|
6238
6335
|
*/
|
|
6239
6336
|
set outlineWidth(arg0) {
|
|
6240
|
-
wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6337
|
+
wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6241
6338
|
}
|
|
6242
6339
|
/**
|
|
6243
6340
|
* @param {boolean | null} [arg0]
|
|
@@ -6257,7 +6354,7 @@ export class TextMaterial {
|
|
|
6257
6354
|
* @param {number | null} [arg0]
|
|
6258
6355
|
*/
|
|
6259
6356
|
set size(arg0) {
|
|
6260
|
-
wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6357
|
+
wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6261
6358
|
}
|
|
6262
6359
|
/**
|
|
6263
6360
|
* Horizontal alignment of lines within a multi-line block:
|
|
@@ -6289,7 +6386,6 @@ if (Symbol.dispose) TextMaterial.prototype[Symbol.dispose] = TextMaterial.protot
|
|
|
6289
6386
|
|
|
6290
6387
|
export class TextureFragment {
|
|
6291
6388
|
static __wrap(ptr) {
|
|
6292
|
-
ptr = ptr >>> 0;
|
|
6293
6389
|
const obj = Object.create(TextureFragment.prototype);
|
|
6294
6390
|
obj.__wbg_ptr = ptr;
|
|
6295
6391
|
TextureFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6336,7 +6432,6 @@ if (Symbol.dispose) TextureFragment.prototype[Symbol.dispose] = TextureFragment.
|
|
|
6336
6432
|
|
|
6337
6433
|
export class TileUvTransform {
|
|
6338
6434
|
static __wrap(ptr) {
|
|
6339
|
-
ptr = ptr >>> 0;
|
|
6340
6435
|
const obj = Object.create(TileUvTransform.prototype);
|
|
6341
6436
|
obj.__wbg_ptr = ptr;
|
|
6342
6437
|
TileUvTransformFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6387,7 +6482,6 @@ if (Symbol.dispose) TileUvTransform.prototype[Symbol.dispose] = TileUvTransform.
|
|
|
6387
6482
|
|
|
6388
6483
|
export class TileXYZ {
|
|
6389
6484
|
static __wrap(ptr) {
|
|
6390
|
-
ptr = ptr >>> 0;
|
|
6391
6485
|
const obj = Object.create(TileXYZ.prototype);
|
|
6392
6486
|
obj.__wbg_ptr = ptr;
|
|
6393
6487
|
TileXYZFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6449,7 +6543,7 @@ export class TileXYZ {
|
|
|
6449
6543
|
*/
|
|
6450
6544
|
constructor(x, y, z) {
|
|
6451
6545
|
const ret = wasm.tilexyz_new(x, y, z);
|
|
6452
|
-
this.__wbg_ptr = ret
|
|
6546
|
+
this.__wbg_ptr = ret;
|
|
6453
6547
|
TileXYZFinalization.register(this, this.__wbg_ptr, this);
|
|
6454
6548
|
return this;
|
|
6455
6549
|
}
|
|
@@ -6502,7 +6596,6 @@ if (Symbol.dispose) TransferableHoles.prototype[Symbol.dispose] = TransferableHo
|
|
|
6502
6596
|
|
|
6503
6597
|
export class TransferableMartini {
|
|
6504
6598
|
static __wrap(ptr) {
|
|
6505
|
-
ptr = ptr >>> 0;
|
|
6506
6599
|
const obj = Object.create(TransferableMartini.prototype);
|
|
6507
6600
|
obj.__wbg_ptr = ptr;
|
|
6508
6601
|
TransferableMartiniFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6547,7 +6640,7 @@ export class TransferableMartini {
|
|
|
6547
6640
|
const ptr0 = passArray32ToWasm0(coords, wasm.__wbindgen_malloc);
|
|
6548
6641
|
const len0 = WASM_VECTOR_LEN;
|
|
6549
6642
|
const ret = wasm.transferablemartini_new(size, ptr0, len0);
|
|
6550
|
-
this.__wbg_ptr = ret
|
|
6643
|
+
this.__wbg_ptr = ret;
|
|
6551
6644
|
TransferableMartiniFinalization.register(this, this.__wbg_ptr, this);
|
|
6552
6645
|
return this;
|
|
6553
6646
|
}
|
|
@@ -6574,7 +6667,6 @@ if (Symbol.dispose) TransferableMartini.prototype[Symbol.dispose] = Transferable
|
|
|
6574
6667
|
*/
|
|
6575
6668
|
export class TransferableParsedMvtResult {
|
|
6576
6669
|
static __wrap(ptr) {
|
|
6577
|
-
ptr = ptr >>> 0;
|
|
6578
6670
|
const obj = Object.create(TransferableParsedMvtResult.prototype);
|
|
6579
6671
|
obj.__wbg_ptr = ptr;
|
|
6580
6672
|
TransferableParsedMvtResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6674,7 +6766,7 @@ export class TransferablePolygonBatchedFeature {
|
|
|
6674
6766
|
*/
|
|
6675
6767
|
constructor(crs, length) {
|
|
6676
6768
|
const ret = wasm.transferablepolygonbatchedfeature_constructor(crs, length);
|
|
6677
|
-
this.__wbg_ptr = ret
|
|
6769
|
+
this.__wbg_ptr = ret;
|
|
6678
6770
|
TransferablePolygonBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
|
|
6679
6771
|
return this;
|
|
6680
6772
|
}
|
|
@@ -6853,7 +6945,7 @@ export class TransferablePolylineBatchedFeature {
|
|
|
6853
6945
|
*/
|
|
6854
6946
|
constructor(crs, length) {
|
|
6855
6947
|
const ret = wasm.transferablepolylinebatchedfeature_constructor(crs, length);
|
|
6856
|
-
this.__wbg_ptr = ret
|
|
6948
|
+
this.__wbg_ptr = ret;
|
|
6857
6949
|
TransferablePolylineBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
|
|
6858
6950
|
return this;
|
|
6859
6951
|
}
|
|
@@ -6949,7 +7041,7 @@ export class TransferableRasterDEMData {
|
|
|
6949
7041
|
_assertClass(decoder, ElevationDecoder);
|
|
6950
7042
|
var ptr0 = decoder.__destroy_into_raw();
|
|
6951
7043
|
const ret = wasm.transferablerasterdemdata_new(ptr0);
|
|
6952
|
-
this.__wbg_ptr = ret
|
|
7044
|
+
this.__wbg_ptr = ret;
|
|
6953
7045
|
TransferableRasterDEMDataFinalization.register(this, this.__wbg_ptr, this);
|
|
6954
7046
|
return this;
|
|
6955
7047
|
}
|
|
@@ -7041,7 +7133,7 @@ export class TransferableTile {
|
|
|
7041
7133
|
ptr1 = cached_mesh_handle.__destroy_into_raw();
|
|
7042
7134
|
}
|
|
7043
7135
|
const ret = wasm.transferabletile_new(ptr0, max_height, min_height, ptr1);
|
|
7044
|
-
this.__wbg_ptr = ret
|
|
7136
|
+
this.__wbg_ptr = ret;
|
|
7045
7137
|
TransferableTileFinalization.register(this, this.__wbg_ptr, this);
|
|
7046
7138
|
return this;
|
|
7047
7139
|
}
|
|
@@ -7203,7 +7295,7 @@ export class Transform {
|
|
|
7203
7295
|
*/
|
|
7204
7296
|
constructor(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz) {
|
|
7205
7297
|
const ret = wasm.transform_new(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz);
|
|
7206
|
-
this.__wbg_ptr = ret
|
|
7298
|
+
this.__wbg_ptr = ret;
|
|
7207
7299
|
TransformFinalization.register(this, this.__wbg_ptr, this);
|
|
7208
7300
|
return this;
|
|
7209
7301
|
}
|
|
@@ -7242,7 +7334,7 @@ export class UintAttribute {
|
|
|
7242
7334
|
const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
|
|
7243
7335
|
const len0 = WASM_VECTOR_LEN;
|
|
7244
7336
|
const ret = wasm.uintattribute_new(ptr0, len0, size);
|
|
7245
|
-
this.__wbg_ptr = ret
|
|
7337
|
+
this.__wbg_ptr = ret;
|
|
7246
7338
|
UintAttributeFinalization.register(this, this.__wbg_ptr, this);
|
|
7247
7339
|
return this;
|
|
7248
7340
|
}
|
|
@@ -7286,7 +7378,7 @@ export class UpsamplableTerrainGeometry {
|
|
|
7286
7378
|
var ptr4 = isLikeNone(watermask) ? 0 : passArray8ToWasm0(watermask, wasm.__wbindgen_malloc);
|
|
7287
7379
|
var len4 = WASM_VECTOR_LEN;
|
|
7288
7380
|
const ret = wasm.upsamplableterraingeometry_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
7289
|
-
this.__wbg_ptr = ret
|
|
7381
|
+
this.__wbg_ptr = ret;
|
|
7290
7382
|
UpsamplableTerrainGeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
7291
7383
|
return this;
|
|
7292
7384
|
}
|
|
@@ -7295,7 +7387,6 @@ if (Symbol.dispose) UpsamplableTerrainGeometry.prototype[Symbol.dispose] = Upsam
|
|
|
7295
7387
|
|
|
7296
7388
|
export class Vec2 {
|
|
7297
7389
|
static __wrap(ptr) {
|
|
7298
|
-
ptr = ptr >>> 0;
|
|
7299
7390
|
const obj = Object.create(Vec2.prototype);
|
|
7300
7391
|
obj.__wbg_ptr = ptr;
|
|
7301
7392
|
Vec2Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7343,7 +7434,7 @@ export class Vec2 {
|
|
|
7343
7434
|
*/
|
|
7344
7435
|
constructor(x, y) {
|
|
7345
7436
|
const ret = wasm.vec2_new(x, y);
|
|
7346
|
-
this.__wbg_ptr = ret
|
|
7437
|
+
this.__wbg_ptr = ret;
|
|
7347
7438
|
Vec2Finalization.register(this, this.__wbg_ptr, this);
|
|
7348
7439
|
return this;
|
|
7349
7440
|
}
|
|
@@ -7352,7 +7443,6 @@ if (Symbol.dispose) Vec2.prototype[Symbol.dispose] = Vec2.prototype.free;
|
|
|
7352
7443
|
|
|
7353
7444
|
export class Vec3 {
|
|
7354
7445
|
static __wrap(ptr) {
|
|
7355
|
-
ptr = ptr >>> 0;
|
|
7356
7446
|
const obj = Object.create(Vec3.prototype);
|
|
7357
7447
|
obj.__wbg_ptr = ptr;
|
|
7358
7448
|
Vec3Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7414,7 +7504,7 @@ export class Vec3 {
|
|
|
7414
7504
|
*/
|
|
7415
7505
|
constructor(x, y, z) {
|
|
7416
7506
|
const ret = wasm.vec3_new(x, y, z);
|
|
7417
|
-
this.__wbg_ptr = ret
|
|
7507
|
+
this.__wbg_ptr = ret;
|
|
7418
7508
|
Vec3Finalization.register(this, this.__wbg_ptr, this);
|
|
7419
7509
|
return this;
|
|
7420
7510
|
}
|
|
@@ -7505,7 +7595,7 @@ export class Window {
|
|
|
7505
7595
|
*/
|
|
7506
7596
|
constructor(width, height, pixel_ratio) {
|
|
7507
7597
|
const ret = wasm.window_new(width, height, pixel_ratio);
|
|
7508
|
-
this.__wbg_ptr = ret
|
|
7598
|
+
this.__wbg_ptr = ret;
|
|
7509
7599
|
WindowFinalization.register(this, this.__wbg_ptr, this);
|
|
7510
7600
|
return this;
|
|
7511
7601
|
}
|
|
@@ -7673,11 +7763,11 @@ export function upsampleTerrainMesh(tile, parent_tile, raster_dem_data, upsampla
|
|
|
7673
7763
|
function __wbg_get_imports() {
|
|
7674
7764
|
const import0 = {
|
|
7675
7765
|
__proto__: null,
|
|
7676
|
-
|
|
7766
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
7677
7767
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
7678
7768
|
return ret;
|
|
7679
7769
|
},
|
|
7680
|
-
|
|
7770
|
+
__wbg_Number_9a4e0ecb0fa16705: function(arg0) {
|
|
7681
7771
|
const ret = Number(arg0);
|
|
7682
7772
|
return ret;
|
|
7683
7773
|
},
|
|
@@ -7688,60 +7778,60 @@ function __wbg_get_imports() {
|
|
|
7688
7778
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7689
7779
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7690
7780
|
},
|
|
7691
|
-
|
|
7781
|
+
__wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
|
|
7692
7782
|
const v = arg1;
|
|
7693
7783
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
7694
7784
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
7695
7785
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7696
7786
|
},
|
|
7697
|
-
|
|
7787
|
+
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
7698
7788
|
const v = arg0;
|
|
7699
7789
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
7700
7790
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
7701
7791
|
},
|
|
7702
|
-
|
|
7792
|
+
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
7703
7793
|
const ret = debugString(arg1);
|
|
7704
7794
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7705
7795
|
const len1 = WASM_VECTOR_LEN;
|
|
7706
7796
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7707
7797
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7708
7798
|
},
|
|
7709
|
-
|
|
7799
|
+
__wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
|
|
7710
7800
|
const ret = arg0 in arg1;
|
|
7711
7801
|
return ret;
|
|
7712
7802
|
},
|
|
7713
|
-
|
|
7803
|
+
__wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
|
|
7714
7804
|
const ret = typeof(arg0) === 'bigint';
|
|
7715
7805
|
return ret;
|
|
7716
7806
|
},
|
|
7717
|
-
|
|
7807
|
+
__wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
|
|
7718
7808
|
const ret = typeof(arg0) === 'function';
|
|
7719
7809
|
return ret;
|
|
7720
7810
|
},
|
|
7721
|
-
|
|
7811
|
+
__wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
|
|
7722
7812
|
const val = arg0;
|
|
7723
7813
|
const ret = typeof(val) === 'object' && val !== null;
|
|
7724
7814
|
return ret;
|
|
7725
7815
|
},
|
|
7726
|
-
|
|
7816
|
+
__wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
|
|
7727
7817
|
const ret = arg0 === arg1;
|
|
7728
7818
|
return ret;
|
|
7729
7819
|
},
|
|
7730
|
-
|
|
7820
|
+
__wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
|
|
7731
7821
|
const ret = arg0 == arg1;
|
|
7732
7822
|
return ret;
|
|
7733
7823
|
},
|
|
7734
|
-
|
|
7824
|
+
__wbg___wbindgen_memory_de265df8aadd6273: function() {
|
|
7735
7825
|
const ret = wasm.memory;
|
|
7736
7826
|
return ret;
|
|
7737
7827
|
},
|
|
7738
|
-
|
|
7828
|
+
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
|
|
7739
7829
|
const obj = arg1;
|
|
7740
7830
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
7741
7831
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
7742
7832
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7743
7833
|
},
|
|
7744
|
-
|
|
7834
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
7745
7835
|
const obj = arg1;
|
|
7746
7836
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
7747
7837
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -7749,48 +7839,42 @@ function __wbg_get_imports() {
|
|
|
7749
7839
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7750
7840
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7751
7841
|
},
|
|
7752
|
-
|
|
7842
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
7753
7843
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
7754
7844
|
},
|
|
7755
|
-
|
|
7756
|
-
let result;
|
|
7757
|
-
try { result = +arg0 } catch (e) { result = e }
|
|
7758
|
-
const ret = result;
|
|
7759
|
-
return ret;
|
|
7760
|
-
},
|
|
7761
|
-
__wbg_buffer_0377ff0622c5de76: function(arg0) {
|
|
7845
|
+
__wbg_buffer_0f212447ac64c53b: function(arg0) {
|
|
7762
7846
|
const ret = arg0.buffer;
|
|
7763
7847
|
return ret;
|
|
7764
7848
|
},
|
|
7765
|
-
|
|
7849
|
+
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
7766
7850
|
const ret = arg0.call(arg1);
|
|
7767
7851
|
return ret;
|
|
7768
7852
|
}, arguments); },
|
|
7769
|
-
|
|
7853
|
+
__wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
|
|
7770
7854
|
const ret = arg0.call(arg1, arg2);
|
|
7771
7855
|
return ret;
|
|
7772
7856
|
}, arguments); },
|
|
7773
|
-
|
|
7857
|
+
__wbg_done_89b2b13e91a60321: function(arg0) {
|
|
7774
7858
|
const ret = arg0.done;
|
|
7775
7859
|
return ret;
|
|
7776
7860
|
},
|
|
7777
|
-
|
|
7861
|
+
__wbg_entries_015dc610cd81ede0: function(arg0) {
|
|
7778
7862
|
const ret = Object.entries(arg0);
|
|
7779
7863
|
return ret;
|
|
7780
7864
|
},
|
|
7781
|
-
|
|
7782
|
-
const ret = Reflect.get(arg0, arg1);
|
|
7783
|
-
return ret;
|
|
7784
|
-
}, arguments); },
|
|
7785
|
-
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
7865
|
+
__wbg_get_507a50627bffa49b: function(arg0, arg1) {
|
|
7786
7866
|
const ret = arg0[arg1 >>> 0];
|
|
7787
7867
|
return ret;
|
|
7788
7868
|
},
|
|
7789
|
-
|
|
7869
|
+
__wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
|
|
7870
|
+
const ret = Reflect.get(arg0, arg1);
|
|
7871
|
+
return ret;
|
|
7872
|
+
}, arguments); },
|
|
7873
|
+
__wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
|
|
7790
7874
|
const ret = arg0[arg1 >>> 0];
|
|
7791
7875
|
return ret;
|
|
7792
7876
|
},
|
|
7793
|
-
|
|
7877
|
+
__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
|
|
7794
7878
|
let result;
|
|
7795
7879
|
try {
|
|
7796
7880
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -7800,7 +7884,7 @@ function __wbg_get_imports() {
|
|
|
7800
7884
|
const ret = result;
|
|
7801
7885
|
return ret;
|
|
7802
7886
|
},
|
|
7803
|
-
|
|
7887
|
+
__wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
|
|
7804
7888
|
let result;
|
|
7805
7889
|
try {
|
|
7806
7890
|
result = arg0 instanceof Map;
|
|
@@ -7810,7 +7894,7 @@ function __wbg_get_imports() {
|
|
|
7810
7894
|
const ret = result;
|
|
7811
7895
|
return ret;
|
|
7812
7896
|
},
|
|
7813
|
-
|
|
7897
|
+
__wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
|
|
7814
7898
|
let result;
|
|
7815
7899
|
try {
|
|
7816
7900
|
result = arg0 instanceof Uint8Array;
|
|
@@ -7820,35 +7904,35 @@ function __wbg_get_imports() {
|
|
|
7820
7904
|
const ret = result;
|
|
7821
7905
|
return ret;
|
|
7822
7906
|
},
|
|
7823
|
-
|
|
7907
|
+
__wbg_isArray_0677c962b281d01a: function(arg0) {
|
|
7824
7908
|
const ret = Array.isArray(arg0);
|
|
7825
7909
|
return ret;
|
|
7826
7910
|
},
|
|
7827
|
-
|
|
7911
|
+
__wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
|
|
7828
7912
|
const ret = Number.isSafeInteger(arg0);
|
|
7829
7913
|
return ret;
|
|
7830
7914
|
},
|
|
7831
|
-
|
|
7915
|
+
__wbg_iterator_6f722e4a93058b71: function() {
|
|
7832
7916
|
const ret = Symbol.iterator;
|
|
7833
7917
|
return ret;
|
|
7834
7918
|
},
|
|
7835
|
-
|
|
7919
|
+
__wbg_length_0133fa10e3234c57: function(arg0) {
|
|
7836
7920
|
const ret = arg0.length;
|
|
7837
7921
|
return ret;
|
|
7838
7922
|
},
|
|
7839
|
-
|
|
7923
|
+
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
7840
7924
|
const ret = arg0.length;
|
|
7841
7925
|
return ret;
|
|
7842
7926
|
},
|
|
7843
|
-
|
|
7927
|
+
__wbg_length_370319915dc99107: function(arg0) {
|
|
7844
7928
|
const ret = arg0.length;
|
|
7845
7929
|
return ret;
|
|
7846
7930
|
},
|
|
7847
|
-
|
|
7931
|
+
__wbg_length_381d540857ec99e8: function(arg0) {
|
|
7848
7932
|
const ret = arg0.length;
|
|
7849
7933
|
return ret;
|
|
7850
7934
|
},
|
|
7851
|
-
|
|
7935
|
+
__wbg_length_98f10d1e2f4ea968: function(arg0) {
|
|
7852
7936
|
const ret = arg0.length;
|
|
7853
7937
|
return ret;
|
|
7854
7938
|
},
|
|
@@ -7859,78 +7943,78 @@ function __wbg_get_imports() {
|
|
|
7859
7943
|
__wbg_log_631549b8bf4c7159: function(arg0, arg1) {
|
|
7860
7944
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
7861
7945
|
},
|
|
7862
|
-
|
|
7863
|
-
const ret = new
|
|
7946
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
7947
|
+
const ret = new Array();
|
|
7864
7948
|
return ret;
|
|
7865
7949
|
},
|
|
7866
|
-
|
|
7950
|
+
__wbg_new_80efd62ef570c5de: function(arg0) {
|
|
7867
7951
|
const ret = new Float64Array(arg0);
|
|
7868
7952
|
return ret;
|
|
7869
7953
|
},
|
|
7870
|
-
|
|
7871
|
-
const ret = new
|
|
7954
|
+
__wbg_new_92a08b12c30e98e8: function(arg0) {
|
|
7955
|
+
const ret = new Float32Array(arg0);
|
|
7872
7956
|
return ret;
|
|
7873
7957
|
},
|
|
7874
|
-
|
|
7875
|
-
const ret = new
|
|
7958
|
+
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
7959
|
+
const ret = new Uint8Array(arg0);
|
|
7876
7960
|
return ret;
|
|
7877
7961
|
},
|
|
7878
|
-
|
|
7962
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
7879
7963
|
const ret = new Object();
|
|
7880
7964
|
return ret;
|
|
7881
7965
|
},
|
|
7882
|
-
|
|
7883
|
-
const ret = new
|
|
7966
|
+
__wbg_new_dfd44b7151fab657: function(arg0) {
|
|
7967
|
+
const ret = new Uint32Array(arg0);
|
|
7884
7968
|
return ret;
|
|
7885
7969
|
},
|
|
7886
|
-
|
|
7887
|
-
const ret = new
|
|
7970
|
+
__wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
|
|
7971
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7888
7972
|
return ret;
|
|
7889
7973
|
},
|
|
7890
|
-
|
|
7891
|
-
const ret = new
|
|
7974
|
+
__wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
|
|
7975
|
+
const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7892
7976
|
return ret;
|
|
7893
7977
|
},
|
|
7894
|
-
|
|
7978
|
+
__wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
|
|
7895
7979
|
const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7896
7980
|
return ret;
|
|
7897
7981
|
},
|
|
7898
|
-
|
|
7899
|
-
const ret = arg0.next();
|
|
7900
|
-
return ret;
|
|
7901
|
-
}, arguments); },
|
|
7902
|
-
__wbg_next_7646edaa39458ef7: function(arg0) {
|
|
7982
|
+
__wbg_next_6dbf2c0ac8cde20f: function(arg0) {
|
|
7903
7983
|
const ret = arg0.next;
|
|
7904
7984
|
return ret;
|
|
7905
7985
|
},
|
|
7906
|
-
|
|
7986
|
+
__wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
|
|
7987
|
+
const ret = arg0.next();
|
|
7988
|
+
return ret;
|
|
7989
|
+
}, arguments); },
|
|
7990
|
+
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
7907
7991
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
7908
7992
|
},
|
|
7909
|
-
|
|
7993
|
+
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
7910
7994
|
const ret = arg0.push(arg1);
|
|
7911
7995
|
return ret;
|
|
7912
7996
|
},
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
return ret;
|
|
7916
|
-
}, arguments); },
|
|
7917
|
-
__wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
|
|
7918
|
-
arg0[arg1 >>> 0] = arg2;
|
|
7919
|
-
},
|
|
7920
|
-
__wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
|
|
7921
|
-
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
7997
|
+
__wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
|
|
7998
|
+
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
7922
7999
|
},
|
|
7923
|
-
|
|
8000
|
+
__wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
|
|
7924
8001
|
arg0.set(getArrayF64FromWasm0(arg1, arg2));
|
|
7925
8002
|
},
|
|
8003
|
+
__wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
|
|
8004
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
8005
|
+
},
|
|
7926
8006
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
7927
8007
|
arg0[arg1] = arg2;
|
|
7928
8008
|
},
|
|
7929
|
-
|
|
7930
|
-
|
|
8009
|
+
__wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
|
|
8010
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
8011
|
+
return ret;
|
|
8012
|
+
}, arguments); },
|
|
8013
|
+
__wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
|
|
8014
|
+
arg0[arg1 >>> 0] = arg2;
|
|
7931
8015
|
},
|
|
7932
|
-
|
|
7933
|
-
arg0.set(
|
|
8016
|
+
__wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
|
|
8017
|
+
arg0.set(getArrayU32FromWasm0(arg1, arg2));
|
|
7934
8018
|
},
|
|
7935
8019
|
__wbg_texturefragment_new: function(arg0) {
|
|
7936
8020
|
const ret = TextureFragment.__wrap(arg0);
|
|
@@ -7940,7 +8024,7 @@ function __wbg_get_imports() {
|
|
|
7940
8024
|
const ret = TileUvTransform.__wrap(arg0);
|
|
7941
8025
|
return ret;
|
|
7942
8026
|
},
|
|
7943
|
-
|
|
8027
|
+
__wbg_value_a5d5488a9589444a: function(arg0) {
|
|
7944
8028
|
const ret = arg0.value;
|
|
7945
8029
|
return ret;
|
|
7946
8030
|
},
|
|
@@ -7982,190 +8066,190 @@ function __wbg_get_imports() {
|
|
|
7982
8066
|
|
|
7983
8067
|
const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7984
8068
|
? { register: () => {}, unregister: () => {} }
|
|
7985
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr
|
|
8069
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
|
|
7986
8070
|
const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7987
8071
|
? { register: () => {}, unregister: () => {} }
|
|
7988
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr
|
|
8072
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
|
|
7989
8073
|
const BillboardMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7990
8074
|
? { register: () => {}, unregister: () => {} }
|
|
7991
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr
|
|
8075
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr, 1));
|
|
7992
8076
|
const BoundingSphereFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7993
8077
|
? { register: () => {}, unregister: () => {} }
|
|
7994
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr
|
|
8078
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr, 1));
|
|
7995
8079
|
const CachedMeshHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7996
8080
|
? { register: () => {}, unregister: () => {} }
|
|
7997
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr
|
|
8081
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr, 1));
|
|
7998
8082
|
const CameraControlUpdateEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7999
8083
|
? { register: () => {}, unregister: () => {} }
|
|
8000
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr
|
|
8084
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr, 1));
|
|
8001
8085
|
const CameraFrustumFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8002
8086
|
? { register: () => {}, unregister: () => {} }
|
|
8003
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr
|
|
8087
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr, 1));
|
|
8004
8088
|
const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8005
8089
|
? { register: () => {}, unregister: () => {} }
|
|
8006
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr
|
|
8090
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr, 1));
|
|
8007
8091
|
const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8008
8092
|
? { register: () => {}, unregister: () => {} }
|
|
8009
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr
|
|
8093
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
|
|
8010
8094
|
const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8011
8095
|
? { register: () => {}, unregister: () => {} }
|
|
8012
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr
|
|
8096
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
|
|
8013
8097
|
const CompiledFilterFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8014
8098
|
? { register: () => {}, unregister: () => {} }
|
|
8015
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr
|
|
8099
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr, 1));
|
|
8016
8100
|
const ConstructedPolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8017
8101
|
? { register: () => {}, unregister: () => {} }
|
|
8018
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr
|
|
8102
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr, 1));
|
|
8019
8103
|
const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8020
8104
|
? { register: () => {}, unregister: () => {} }
|
|
8021
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr
|
|
8105
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr, 1));
|
|
8022
8106
|
const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8023
8107
|
? { register: () => {}, unregister: () => {} }
|
|
8024
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr
|
|
8108
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
|
|
8025
8109
|
const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8026
8110
|
? { register: () => {}, unregister: () => {} }
|
|
8027
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr
|
|
8111
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
|
|
8028
8112
|
const ElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8029
8113
|
? { register: () => {}, unregister: () => {} }
|
|
8030
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr
|
|
8114
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr, 1));
|
|
8031
8115
|
const EllipsoidGeodesicFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8032
8116
|
? { register: () => {}, unregister: () => {} }
|
|
8033
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr
|
|
8117
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr, 1));
|
|
8034
8118
|
const EncodedVec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
8035
8119
|
? { register: () => {}, unregister: () => {} }
|
|
8036
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr
|
|
8120
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr, 1));
|
|
8037
8121
|
const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
8038
8122
|
? { register: () => {}, unregister: () => {} }
|
|
8039
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr
|
|
8123
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr, 1));
|
|
8040
8124
|
const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8041
8125
|
? { register: () => {}, unregister: () => {} }
|
|
8042
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr
|
|
8126
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
|
|
8043
8127
|
const GeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8044
8128
|
? { register: () => {}, unregister: () => {} }
|
|
8045
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr
|
|
8129
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr, 1));
|
|
8046
8130
|
const GlobeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8047
8131
|
? { register: () => {}, unregister: () => {} }
|
|
8048
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr
|
|
8132
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr, 1));
|
|
8049
8133
|
const HillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8050
8134
|
? { register: () => {}, unregister: () => {} }
|
|
8051
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr
|
|
8135
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr, 1));
|
|
8052
8136
|
const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8053
8137
|
? { register: () => {}, unregister: () => {} }
|
|
8054
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr
|
|
8138
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr, 1));
|
|
8055
8139
|
const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8056
8140
|
? { register: () => {}, unregister: () => {} }
|
|
8057
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr
|
|
8141
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
|
|
8058
8142
|
const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8059
8143
|
? { register: () => {}, unregister: () => {} }
|
|
8060
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr
|
|
8144
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr, 1));
|
|
8061
8145
|
const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8062
8146
|
? { register: () => {}, unregister: () => {} }
|
|
8063
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr
|
|
8147
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
|
|
8064
8148
|
const OverscaledTileHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8065
8149
|
? { register: () => {}, unregister: () => {} }
|
|
8066
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr
|
|
8150
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr, 1));
|
|
8067
8151
|
const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8068
8152
|
? { register: () => {}, unregister: () => {} }
|
|
8069
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr
|
|
8153
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
|
|
8070
8154
|
const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8071
8155
|
? { register: () => {}, unregister: () => {} }
|
|
8072
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr
|
|
8156
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
|
|
8073
8157
|
const PolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8074
8158
|
? { register: () => {}, unregister: () => {} }
|
|
8075
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr
|
|
8159
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr, 1));
|
|
8076
8160
|
const PolygonGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8077
8161
|
? { register: () => {}, unregister: () => {} }
|
|
8078
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr
|
|
8162
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr, 1));
|
|
8079
8163
|
const PolygonInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8080
8164
|
? { register: () => {}, unregister: () => {} }
|
|
8081
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr
|
|
8165
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr, 1));
|
|
8082
8166
|
const PolygonMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8083
8167
|
? { register: () => {}, unregister: () => {} }
|
|
8084
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr
|
|
8168
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr, 1));
|
|
8085
8169
|
const PolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8086
8170
|
? { register: () => {}, unregister: () => {} }
|
|
8087
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr
|
|
8171
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr, 1));
|
|
8088
8172
|
const PolylineGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8089
8173
|
? { register: () => {}, unregister: () => {} }
|
|
8090
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr
|
|
8174
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr, 1));
|
|
8091
8175
|
const PolylineInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8092
8176
|
? { register: () => {}, unregister: () => {} }
|
|
8093
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr
|
|
8177
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr, 1));
|
|
8094
8178
|
const PolylineMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8095
8179
|
? { register: () => {}, unregister: () => {} }
|
|
8096
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr
|
|
8180
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr, 1));
|
|
8097
8181
|
const RasterMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8098
8182
|
? { register: () => {}, unregister: () => {} }
|
|
8099
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr
|
|
8183
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr, 1));
|
|
8100
8184
|
const RasterTileInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8101
8185
|
? { register: () => {}, unregister: () => {} }
|
|
8102
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr
|
|
8186
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr, 1));
|
|
8103
8187
|
const RayFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8104
8188
|
? { register: () => {}, unregister: () => {} }
|
|
8105
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr
|
|
8189
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr, 1));
|
|
8106
8190
|
const ReturnedConstructedTerrainMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8107
8191
|
? { register: () => {}, unregister: () => {} }
|
|
8108
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr
|
|
8192
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr, 1));
|
|
8109
8193
|
const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8110
8194
|
? { register: () => {}, unregister: () => {} }
|
|
8111
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr
|
|
8195
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
|
|
8112
8196
|
const TextMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8113
8197
|
? { register: () => {}, unregister: () => {} }
|
|
8114
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr
|
|
8198
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr, 1));
|
|
8115
8199
|
const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8116
8200
|
? { register: () => {}, unregister: () => {} }
|
|
8117
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr
|
|
8201
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr, 1));
|
|
8118
8202
|
const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8119
8203
|
? { register: () => {}, unregister: () => {} }
|
|
8120
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr
|
|
8204
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));
|
|
8121
8205
|
const TileXYZFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8122
8206
|
? { register: () => {}, unregister: () => {} }
|
|
8123
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr
|
|
8207
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr, 1));
|
|
8124
8208
|
const TransferableHierarchyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8125
8209
|
? { register: () => {}, unregister: () => {} }
|
|
8126
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr
|
|
8210
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr, 1));
|
|
8127
8211
|
const TransferableHolesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8128
8212
|
? { register: () => {}, unregister: () => {} }
|
|
8129
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr
|
|
8213
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr, 1));
|
|
8130
8214
|
const TransferableMartiniFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8131
8215
|
? { register: () => {}, unregister: () => {} }
|
|
8132
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr
|
|
8216
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr, 1));
|
|
8133
8217
|
const TransferableParsedMvtResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8134
8218
|
? { register: () => {}, unregister: () => {} }
|
|
8135
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr
|
|
8219
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr, 1));
|
|
8136
8220
|
const TransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8137
8221
|
? { register: () => {}, unregister: () => {} }
|
|
8138
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr
|
|
8222
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr, 1));
|
|
8139
8223
|
const TransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8140
8224
|
? { register: () => {}, unregister: () => {} }
|
|
8141
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr
|
|
8225
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr, 1));
|
|
8142
8226
|
const TransferableRasterDEMDataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8143
8227
|
? { register: () => {}, unregister: () => {} }
|
|
8144
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr
|
|
8228
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr, 1));
|
|
8145
8229
|
const TransferableTileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8146
8230
|
? { register: () => {}, unregister: () => {} }
|
|
8147
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr
|
|
8231
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr, 1));
|
|
8148
8232
|
const TransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8149
8233
|
? { register: () => {}, unregister: () => {} }
|
|
8150
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr
|
|
8234
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr, 1));
|
|
8151
8235
|
const UintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8152
8236
|
? { register: () => {}, unregister: () => {} }
|
|
8153
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr
|
|
8237
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr, 1));
|
|
8154
8238
|
const UpsamplableTerrainGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8155
8239
|
? { register: () => {}, unregister: () => {} }
|
|
8156
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr
|
|
8240
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr, 1));
|
|
8157
8241
|
const Vec2Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
8158
8242
|
? { register: () => {}, unregister: () => {} }
|
|
8159
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr
|
|
8243
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr, 1));
|
|
8160
8244
|
const Vec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
8161
8245
|
? { register: () => {}, unregister: () => {} }
|
|
8162
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr
|
|
8246
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr, 1));
|
|
8163
8247
|
const WindingOrderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8164
8248
|
? { register: () => {}, unregister: () => {} }
|
|
8165
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr
|
|
8249
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr, 1));
|
|
8166
8250
|
const WindowFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8167
8251
|
? { register: () => {}, unregister: () => {} }
|
|
8168
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr
|
|
8252
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr, 1));
|
|
8169
8253
|
|
|
8170
8254
|
function addToExternrefTable0(obj) {
|
|
8171
8255
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -8300,8 +8384,7 @@ function getFloat64ArrayMemory0() {
|
|
|
8300
8384
|
}
|
|
8301
8385
|
|
|
8302
8386
|
function getStringFromWasm0(ptr, len) {
|
|
8303
|
-
|
|
8304
|
-
return decodeText(ptr, len);
|
|
8387
|
+
return decodeText(ptr >>> 0, len);
|
|
8305
8388
|
}
|
|
8306
8389
|
|
|
8307
8390
|
let cachedUint32ArrayMemory0 = null;
|
|
@@ -8443,8 +8526,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
8443
8526
|
|
|
8444
8527
|
let WASM_VECTOR_LEN = 0;
|
|
8445
8528
|
|
|
8446
|
-
let wasmModule, wasm;
|
|
8529
|
+
let wasmModule, wasmInstance, wasm;
|
|
8447
8530
|
function __wbg_finalize_init(instance, module) {
|
|
8531
|
+
wasmInstance = instance;
|
|
8448
8532
|
wasm = instance.exports;
|
|
8449
8533
|
wasmModule = module;
|
|
8450
8534
|
cachedDataViewMemory0 = null;
|