@navaramap/engine-api 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/navara_wasm_api.d.ts +234 -144
- package/navara_wasm_api.js +456 -333
- package/navara_wasm_api_bg.wasm +0 -0
- package/package.json +1 -1
package/navara_wasm_api.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
|
}
|
|
@@ -473,8 +509,8 @@ export class CachedMeshHandle {
|
|
|
473
509
|
* @param {number | null} [heights]
|
|
474
510
|
*/
|
|
475
511
|
constructor(vertices, indices, uvs, heights) {
|
|
476
|
-
const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ?
|
|
477
|
-
this.__wbg_ptr = ret
|
|
512
|
+
const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? Number.MAX_SAFE_INTEGER : (heights) >> 0);
|
|
513
|
+
this.__wbg_ptr = ret;
|
|
478
514
|
CachedMeshHandleFinalization.register(this, this.__wbg_ptr, this);
|
|
479
515
|
return this;
|
|
480
516
|
}
|
|
@@ -483,7 +519,7 @@ export class CachedMeshHandle {
|
|
|
483
519
|
*/
|
|
484
520
|
get heights() {
|
|
485
521
|
const ret = wasm.__wbg_get_cachedmeshhandle_heights(this.__wbg_ptr);
|
|
486
|
-
return ret ===
|
|
522
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
487
523
|
}
|
|
488
524
|
/**
|
|
489
525
|
* @returns {number}
|
|
@@ -497,7 +533,7 @@ export class CachedMeshHandle {
|
|
|
497
533
|
*/
|
|
498
534
|
get normals() {
|
|
499
535
|
const ret = wasm.__wbg_get_cachedmeshhandle_normals(this.__wbg_ptr);
|
|
500
|
-
return ret ===
|
|
536
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
501
537
|
}
|
|
502
538
|
/**
|
|
503
539
|
* @returns {number}
|
|
@@ -518,13 +554,13 @@ export class CachedMeshHandle {
|
|
|
518
554
|
*/
|
|
519
555
|
get watermask() {
|
|
520
556
|
const ret = wasm.__wbg_get_cachedmeshhandle_watermask(this.__wbg_ptr);
|
|
521
|
-
return ret ===
|
|
557
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
522
558
|
}
|
|
523
559
|
/**
|
|
524
560
|
* @param {number | null} [arg0]
|
|
525
561
|
*/
|
|
526
562
|
set heights(arg0) {
|
|
527
|
-
wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
563
|
+
wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
528
564
|
}
|
|
529
565
|
/**
|
|
530
566
|
* @param {number} arg0
|
|
@@ -536,7 +572,7 @@ export class CachedMeshHandle {
|
|
|
536
572
|
* @param {number | null} [arg0]
|
|
537
573
|
*/
|
|
538
574
|
set normals(arg0) {
|
|
539
|
-
wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
575
|
+
wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
540
576
|
}
|
|
541
577
|
/**
|
|
542
578
|
* @param {number} arg0
|
|
@@ -554,7 +590,7 @@ export class CachedMeshHandle {
|
|
|
554
590
|
* @param {number | null} [arg0]
|
|
555
591
|
*/
|
|
556
592
|
set watermask(arg0) {
|
|
557
|
-
wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
593
|
+
wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
|
|
558
594
|
}
|
|
559
595
|
}
|
|
560
596
|
if (Symbol.dispose) CachedMeshHandle.prototype[Symbol.dispose] = CachedMeshHandle.prototype.free;
|
|
@@ -578,7 +614,7 @@ export class CameraControlUpdateEvent {
|
|
|
578
614
|
}
|
|
579
615
|
constructor() {
|
|
580
616
|
const ret = wasm.cameracontrolupdateevent_new();
|
|
581
|
-
this.__wbg_ptr = ret
|
|
617
|
+
this.__wbg_ptr = ret;
|
|
582
618
|
CameraControlUpdateEventFinalization.register(this, this.__wbg_ptr, this);
|
|
583
619
|
return this;
|
|
584
620
|
}
|
|
@@ -654,7 +690,7 @@ export class CameraControlUpdateEvent {
|
|
|
654
690
|
*/
|
|
655
691
|
get spinDuration() {
|
|
656
692
|
const ret = wasm.__wbg_get_cameracontrolupdateevent_spinDuration(this.__wbg_ptr);
|
|
657
|
-
return ret ===
|
|
693
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
658
694
|
}
|
|
659
695
|
/**
|
|
660
696
|
* Multiplier for mouse drag rotation speed.
|
|
@@ -674,7 +710,7 @@ export class CameraControlUpdateEvent {
|
|
|
674
710
|
*/
|
|
675
711
|
get translateDuration() {
|
|
676
712
|
const ret = wasm.__wbg_get_cameracontrolupdateevent_translateDuration(this.__wbg_ptr);
|
|
677
|
-
return ret ===
|
|
713
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
678
714
|
}
|
|
679
715
|
/**
|
|
680
716
|
* Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
|
|
@@ -684,7 +720,7 @@ export class CameraControlUpdateEvent {
|
|
|
684
720
|
*/
|
|
685
721
|
get zoomDuration() {
|
|
686
722
|
const ret = wasm.__wbg_get_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr);
|
|
687
|
-
return ret ===
|
|
723
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
688
724
|
}
|
|
689
725
|
/**
|
|
690
726
|
* Multiplier for scroll wheel zoom speed.
|
|
@@ -761,7 +797,7 @@ export class CameraControlUpdateEvent {
|
|
|
761
797
|
* @param {number | null} [arg0]
|
|
762
798
|
*/
|
|
763
799
|
set spinDuration(arg0) {
|
|
764
|
-
wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
800
|
+
wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
765
801
|
}
|
|
766
802
|
/**
|
|
767
803
|
* Multiplier for mouse drag rotation speed.
|
|
@@ -779,7 +815,7 @@ export class CameraControlUpdateEvent {
|
|
|
779
815
|
* @param {number | null} [arg0]
|
|
780
816
|
*/
|
|
781
817
|
set translateDuration(arg0) {
|
|
782
|
-
wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
818
|
+
wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
783
819
|
}
|
|
784
820
|
/**
|
|
785
821
|
* Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
|
|
@@ -788,7 +824,7 @@ export class CameraControlUpdateEvent {
|
|
|
788
824
|
* @param {number | null} [arg0]
|
|
789
825
|
*/
|
|
790
826
|
set zoomDuration(arg0) {
|
|
791
|
-
wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
827
|
+
wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
792
828
|
}
|
|
793
829
|
/**
|
|
794
830
|
* Multiplier for scroll wheel zoom speed.
|
|
@@ -833,7 +869,7 @@ export class CameraFrustum {
|
|
|
833
869
|
*/
|
|
834
870
|
constructor(near, far, fov, aspect_ratio) {
|
|
835
871
|
const ret = wasm.camerafrustum_new(near, far, fov, aspect_ratio);
|
|
836
|
-
this.__wbg_ptr = ret
|
|
872
|
+
this.__wbg_ptr = ret;
|
|
837
873
|
CameraFrustumFinalization.register(this, this.__wbg_ptr, this);
|
|
838
874
|
return this;
|
|
839
875
|
}
|
|
@@ -1058,7 +1094,7 @@ export class CompiledExpression {
|
|
|
1058
1094
|
if (ret[2]) {
|
|
1059
1095
|
throw takeFromExternrefTable0(ret[1]);
|
|
1060
1096
|
}
|
|
1061
|
-
this.__wbg_ptr = ret[0]
|
|
1097
|
+
this.__wbg_ptr = ret[0];
|
|
1062
1098
|
CompiledExpressionFinalization.register(this, this.__wbg_ptr, this);
|
|
1063
1099
|
return this;
|
|
1064
1100
|
}
|
|
@@ -1086,7 +1122,7 @@ export class CompiledFilter {
|
|
|
1086
1122
|
if (ret[2]) {
|
|
1087
1123
|
throw takeFromExternrefTable0(ret[1]);
|
|
1088
1124
|
}
|
|
1089
|
-
this.__wbg_ptr = ret[0]
|
|
1125
|
+
this.__wbg_ptr = ret[0];
|
|
1090
1126
|
CompiledFilterFinalization.register(this, this.__wbg_ptr, this);
|
|
1091
1127
|
return this;
|
|
1092
1128
|
}
|
|
@@ -1284,7 +1320,6 @@ if (Symbol.dispose) ConstructedPolygonGeometry.prototype[Symbol.dispose] = Const
|
|
|
1284
1320
|
|
|
1285
1321
|
export class ConstructedPolygonOutlineGeometry {
|
|
1286
1322
|
static __wrap(ptr) {
|
|
1287
|
-
ptr = ptr >>> 0;
|
|
1288
1323
|
const obj = Object.create(ConstructedPolygonOutlineGeometry.prototype);
|
|
1289
1324
|
obj.__wbg_ptr = ptr;
|
|
1290
1325
|
ConstructedPolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1578,7 +1613,6 @@ if (Symbol.dispose) ConstructedPolylineGeometry.prototype[Symbol.dispose] = Cons
|
|
|
1578
1613
|
|
|
1579
1614
|
export class ElevationDecoder {
|
|
1580
1615
|
static __wrap(ptr) {
|
|
1581
|
-
ptr = ptr >>> 0;
|
|
1582
1616
|
const obj = Object.create(ElevationDecoder.prototype);
|
|
1583
1617
|
obj.__wbg_ptr = ptr;
|
|
1584
1618
|
ElevationDecoderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1620,7 +1654,7 @@ export class ElevationDecoder {
|
|
|
1620
1654
|
*/
|
|
1621
1655
|
constructor(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon) {
|
|
1622
1656
|
const ret = wasm.elevationdecoder_new(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon);
|
|
1623
|
-
this.__wbg_ptr = ret
|
|
1657
|
+
this.__wbg_ptr = ret;
|
|
1624
1658
|
ElevationDecoderFinalization.register(this, this.__wbg_ptr, this);
|
|
1625
1659
|
return this;
|
|
1626
1660
|
}
|
|
@@ -1847,7 +1881,7 @@ export class EllipsoidGeodesic {
|
|
|
1847
1881
|
_assertClass(end, LLE);
|
|
1848
1882
|
var ptr1 = end.__destroy_into_raw();
|
|
1849
1883
|
const ret = wasm.ellipsoidgeodesic_new(ptr0, ptr1);
|
|
1850
|
-
this.__wbg_ptr = ret
|
|
1884
|
+
this.__wbg_ptr = ret;
|
|
1851
1885
|
EllipsoidGeodesicFinalization.register(this, this.__wbg_ptr, this);
|
|
1852
1886
|
return this;
|
|
1853
1887
|
}
|
|
@@ -1925,7 +1959,6 @@ if (Symbol.dispose) EllipsoidGeodesic.prototype[Symbol.dispose] = EllipsoidGeode
|
|
|
1925
1959
|
|
|
1926
1960
|
export class EncodedVec3 {
|
|
1927
1961
|
static __wrap(ptr) {
|
|
1928
|
-
ptr = ptr >>> 0;
|
|
1929
1962
|
const obj = Object.create(EncodedVec3.prototype);
|
|
1930
1963
|
obj.__wbg_ptr = ptr;
|
|
1931
1964
|
EncodedVec3Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1951,7 +1984,7 @@ export class EncodedVec3 {
|
|
|
1951
1984
|
_assertClass(low, Vec3);
|
|
1952
1985
|
var ptr1 = low.__destroy_into_raw();
|
|
1953
1986
|
const ret = wasm.encodedvec3_new(ptr0, ptr1);
|
|
1954
|
-
this.__wbg_ptr = ret
|
|
1987
|
+
this.__wbg_ptr = ret;
|
|
1955
1988
|
EncodedVec3Finalization.register(this, this.__wbg_ptr, this);
|
|
1956
1989
|
return this;
|
|
1957
1990
|
}
|
|
@@ -1990,7 +2023,6 @@ if (Symbol.dispose) EncodedVec3.prototype[Symbol.dispose] = EncodedVec3.prototyp
|
|
|
1990
2023
|
|
|
1991
2024
|
export class ExtentRadianF32 {
|
|
1992
2025
|
static __wrap(ptr) {
|
|
1993
|
-
ptr = ptr >>> 0;
|
|
1994
2026
|
const obj = Object.create(ExtentRadianF32.prototype);
|
|
1995
2027
|
obj.__wbg_ptr = ptr;
|
|
1996
2028
|
ExtentRadianF32Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2014,7 +2046,7 @@ export class ExtentRadianF32 {
|
|
|
2014
2046
|
*/
|
|
2015
2047
|
constructor(west, south, east, north) {
|
|
2016
2048
|
const ret = wasm.extentradianf32_new(west, south, east, north);
|
|
2017
|
-
this.__wbg_ptr = ret
|
|
2049
|
+
this.__wbg_ptr = ret;
|
|
2018
2050
|
ExtentRadianF32Finalization.register(this, this.__wbg_ptr, this);
|
|
2019
2051
|
return this;
|
|
2020
2052
|
}
|
|
@@ -2092,7 +2124,7 @@ export class FloatAttribute {
|
|
|
2092
2124
|
const ptr0 = passArrayF32ToWasm0(data, wasm.__wbindgen_malloc);
|
|
2093
2125
|
const len0 = WASM_VECTOR_LEN;
|
|
2094
2126
|
const ret = wasm.floatattribute_new(ptr0, len0, size);
|
|
2095
|
-
this.__wbg_ptr = ret
|
|
2127
|
+
this.__wbg_ptr = ret;
|
|
2096
2128
|
FloatAttributeFinalization.register(this, this.__wbg_ptr, this);
|
|
2097
2129
|
return this;
|
|
2098
2130
|
}
|
|
@@ -2157,7 +2189,7 @@ export class Geometry {
|
|
|
2157
2189
|
const ptr2 = passArrayF32ToWasm0(uvs, wasm.__wbindgen_malloc);
|
|
2158
2190
|
const len2 = WASM_VECTOR_LEN;
|
|
2159
2191
|
const ret = wasm.geometry_new(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
2160
|
-
this.__wbg_ptr = ret
|
|
2192
|
+
this.__wbg_ptr = ret;
|
|
2161
2193
|
GeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
2162
2194
|
return this;
|
|
2163
2195
|
}
|
|
@@ -2340,7 +2372,7 @@ export class Globe {
|
|
|
2340
2372
|
const ptr0 = passArrayF32ToWasm0(elevation_colormap, wasm.__wbindgen_malloc);
|
|
2341
2373
|
const len0 = WASM_VECTOR_LEN;
|
|
2342
2374
|
const ret = wasm.globe_new(max_sse, segments, color, hide_underground, use_normal, transparent, opacity, wireframe, ptr0, len0);
|
|
2343
|
-
this.__wbg_ptr = ret
|
|
2375
|
+
this.__wbg_ptr = ret;
|
|
2344
2376
|
GlobeFinalization.register(this, this.__wbg_ptr, this);
|
|
2345
2377
|
return this;
|
|
2346
2378
|
}
|
|
@@ -2446,21 +2478,20 @@ export class HillshadeMaterial {
|
|
|
2446
2478
|
*/
|
|
2447
2479
|
get exaggeration() {
|
|
2448
2480
|
const ret = wasm.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);
|
|
2449
|
-
return ret ===
|
|
2481
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2450
2482
|
}
|
|
2451
2483
|
/**
|
|
2452
2484
|
* Exaggeration factor for hillshade effect (default: 1.0)
|
|
2453
2485
|
* @param {number | null} [arg0]
|
|
2454
2486
|
*/
|
|
2455
2487
|
set exaggeration(arg0) {
|
|
2456
|
-
wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2488
|
+
wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2457
2489
|
}
|
|
2458
2490
|
}
|
|
2459
2491
|
if (Symbol.dispose) HillshadeMaterial.prototype[Symbol.dispose] = HillshadeMaterial.prototype.free;
|
|
2460
2492
|
|
|
2461
2493
|
export class LLE {
|
|
2462
2494
|
static __wrap(ptr) {
|
|
2463
|
-
ptr = ptr >>> 0;
|
|
2464
2495
|
const obj = Object.create(LLE.prototype);
|
|
2465
2496
|
obj.__wbg_ptr = ptr;
|
|
2466
2497
|
LLEFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2504,7 +2535,7 @@ export class LLE {
|
|
|
2504
2535
|
*/
|
|
2505
2536
|
constructor(lat, lng, height) {
|
|
2506
2537
|
const ret = wasm.lle_new(lat, lng, height);
|
|
2507
|
-
this.__wbg_ptr = ret
|
|
2538
|
+
this.__wbg_ptr = ret;
|
|
2508
2539
|
LLEFinalization.register(this, this.__wbg_ptr, this);
|
|
2509
2540
|
return this;
|
|
2510
2541
|
}
|
|
@@ -2531,7 +2562,6 @@ if (Symbol.dispose) LLE.prototype[Symbol.dispose] = LLE.prototype.free;
|
|
|
2531
2562
|
|
|
2532
2563
|
export class ModelInternalMaterial {
|
|
2533
2564
|
static __wrap(ptr) {
|
|
2534
|
-
ptr = ptr >>> 0;
|
|
2535
2565
|
const obj = Object.create(ModelInternalMaterial.prototype);
|
|
2536
2566
|
obj.__wbg_ptr = ptr;
|
|
2537
2567
|
ModelInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2626,7 +2656,7 @@ export class ModelMaterial {
|
|
|
2626
2656
|
*/
|
|
2627
2657
|
get animationSpeed() {
|
|
2628
2658
|
const ret = wasm.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);
|
|
2629
|
-
return ret ===
|
|
2659
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2630
2660
|
}
|
|
2631
2661
|
/**
|
|
2632
2662
|
* @returns {boolean | undefined}
|
|
@@ -2654,7 +2684,7 @@ export class ModelMaterial {
|
|
|
2654
2684
|
*/
|
|
2655
2685
|
get color() {
|
|
2656
2686
|
const ret = wasm.__wbg_get_modelmaterial_color(this.__wbg_ptr);
|
|
2657
|
-
return ret ===
|
|
2687
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2658
2688
|
}
|
|
2659
2689
|
/**
|
|
2660
2690
|
* Crease angle (in radians) used when `normals` is true. Defaults to 30°
|
|
@@ -2663,7 +2693,7 @@ export class ModelMaterial {
|
|
|
2663
2693
|
*/
|
|
2664
2694
|
get creaseNormalAngle() {
|
|
2665
2695
|
const ret = wasm.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);
|
|
2666
|
-
return ret ===
|
|
2696
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2667
2697
|
}
|
|
2668
2698
|
/**
|
|
2669
2699
|
* Enable writing to depth buffer
|
|
@@ -2692,7 +2722,7 @@ export class ModelMaterial {
|
|
|
2692
2722
|
*/
|
|
2693
2723
|
get emissiveColor() {
|
|
2694
2724
|
const ret = wasm.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);
|
|
2695
|
-
return ret ===
|
|
2725
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2696
2726
|
}
|
|
2697
2727
|
/**
|
|
2698
2728
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -2700,35 +2730,35 @@ export class ModelMaterial {
|
|
|
2700
2730
|
*/
|
|
2701
2731
|
get emissiveIntensity() {
|
|
2702
2732
|
const ret = wasm.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
2703
|
-
return ret ===
|
|
2733
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2704
2734
|
}
|
|
2705
2735
|
/**
|
|
2706
2736
|
* @returns {number | undefined}
|
|
2707
2737
|
*/
|
|
2708
2738
|
get height() {
|
|
2709
2739
|
const ret = wasm.__wbg_get_modelmaterial_height(this.__wbg_ptr);
|
|
2710
|
-
return ret ===
|
|
2740
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2711
2741
|
}
|
|
2712
2742
|
/**
|
|
2713
2743
|
* @returns {number | undefined}
|
|
2714
2744
|
*/
|
|
2715
2745
|
get ior() {
|
|
2716
2746
|
const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
|
|
2717
|
-
return ret ===
|
|
2747
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2718
2748
|
}
|
|
2719
2749
|
/**
|
|
2720
2750
|
* @returns {number | undefined}
|
|
2721
2751
|
*/
|
|
2722
2752
|
get maxSse() {
|
|
2723
2753
|
const ret = wasm.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);
|
|
2724
|
-
return ret ===
|
|
2754
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2725
2755
|
}
|
|
2726
2756
|
/**
|
|
2727
2757
|
* @returns {number | undefined}
|
|
2728
2758
|
*/
|
|
2729
2759
|
get metalness() {
|
|
2730
2760
|
const ret = wasm.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);
|
|
2731
|
-
return ret ===
|
|
2761
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2732
2762
|
}
|
|
2733
2763
|
/**
|
|
2734
2764
|
* When true, recompute vertex normals using a creased-normals algorithm
|
|
@@ -2746,14 +2776,14 @@ export class ModelMaterial {
|
|
|
2746
2776
|
*/
|
|
2747
2777
|
get opacity() {
|
|
2748
2778
|
const ret = wasm.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);
|
|
2749
|
-
return ret ===
|
|
2779
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2750
2780
|
}
|
|
2751
2781
|
/**
|
|
2752
2782
|
* @returns {number | undefined}
|
|
2753
2783
|
*/
|
|
2754
2784
|
get pointSize() {
|
|
2755
2785
|
const ret = wasm.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);
|
|
2756
|
-
return ret ===
|
|
2786
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2757
2787
|
}
|
|
2758
2788
|
/**
|
|
2759
2789
|
* @returns {boolean | undefined}
|
|
@@ -2768,7 +2798,7 @@ export class ModelMaterial {
|
|
|
2768
2798
|
*/
|
|
2769
2799
|
get reflectivity() {
|
|
2770
2800
|
const ret = wasm.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);
|
|
2771
|
-
return ret ===
|
|
2801
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2772
2802
|
}
|
|
2773
2803
|
/**
|
|
2774
2804
|
* Reflectivity for post-process.
|
|
@@ -2776,14 +2806,14 @@ export class ModelMaterial {
|
|
|
2776
2806
|
*/
|
|
2777
2807
|
get roughness() {
|
|
2778
2808
|
const ret = wasm.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);
|
|
2779
|
-
return ret ===
|
|
2809
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2780
2810
|
}
|
|
2781
2811
|
/**
|
|
2782
2812
|
* @returns {number | undefined}
|
|
2783
2813
|
*/
|
|
2784
2814
|
get shininess() {
|
|
2785
2815
|
const ret = wasm.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);
|
|
2786
|
-
return ret ===
|
|
2816
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2787
2817
|
}
|
|
2788
2818
|
/**
|
|
2789
2819
|
* @returns {boolean | undefined}
|
|
@@ -2811,14 +2841,14 @@ export class ModelMaterial {
|
|
|
2811
2841
|
*/
|
|
2812
2842
|
get size() {
|
|
2813
2843
|
const ret = wasm.__wbg_get_modelmaterial_size(this.__wbg_ptr);
|
|
2814
|
-
return ret ===
|
|
2844
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2815
2845
|
}
|
|
2816
2846
|
/**
|
|
2817
2847
|
* @returns {number | undefined}
|
|
2818
2848
|
*/
|
|
2819
2849
|
get specularStrength() {
|
|
2820
2850
|
const ret = wasm.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);
|
|
2821
|
-
return ret ===
|
|
2851
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2822
2852
|
}
|
|
2823
2853
|
/**
|
|
2824
2854
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -2854,7 +2884,7 @@ export class ModelMaterial {
|
|
|
2854
2884
|
*/
|
|
2855
2885
|
get waterScaleNormal() {
|
|
2856
2886
|
const ret = wasm.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);
|
|
2857
|
-
return ret ===
|
|
2887
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2858
2888
|
}
|
|
2859
2889
|
/**
|
|
2860
2890
|
* Water wave speed.
|
|
@@ -2862,7 +2892,7 @@ export class ModelMaterial {
|
|
|
2862
2892
|
*/
|
|
2863
2893
|
get waterSpeed() {
|
|
2864
2894
|
const ret = wasm.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);
|
|
2865
|
-
return ret ===
|
|
2895
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2866
2896
|
}
|
|
2867
2897
|
/**
|
|
2868
2898
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -2895,7 +2925,7 @@ export class ModelMaterial {
|
|
|
2895
2925
|
* @param {number | null} [arg0]
|
|
2896
2926
|
*/
|
|
2897
2927
|
set animationSpeed(arg0) {
|
|
2898
|
-
wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2928
|
+
wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2899
2929
|
}
|
|
2900
2930
|
/**
|
|
2901
2931
|
* @param {boolean | null} [arg0]
|
|
@@ -2919,7 +2949,7 @@ export class ModelMaterial {
|
|
|
2919
2949
|
* @param {number | null} [arg0]
|
|
2920
2950
|
*/
|
|
2921
2951
|
set color(arg0) {
|
|
2922
|
-
wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2952
|
+
wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
2923
2953
|
}
|
|
2924
2954
|
/**
|
|
2925
2955
|
* Crease angle (in radians) used when `normals` is true. Defaults to 30°
|
|
@@ -2927,7 +2957,7 @@ export class ModelMaterial {
|
|
|
2927
2957
|
* @param {number | null} [arg0]
|
|
2928
2958
|
*/
|
|
2929
2959
|
set creaseNormalAngle(arg0) {
|
|
2930
|
-
wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2960
|
+
wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2931
2961
|
}
|
|
2932
2962
|
/**
|
|
2933
2963
|
* Enable writing to depth buffer
|
|
@@ -2950,38 +2980,38 @@ export class ModelMaterial {
|
|
|
2950
2980
|
* @param {number | null} [arg0]
|
|
2951
2981
|
*/
|
|
2952
2982
|
set emissiveColor(arg0) {
|
|
2953
|
-
wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2983
|
+
wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
2954
2984
|
}
|
|
2955
2985
|
/**
|
|
2956
2986
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
2957
2987
|
* @param {number | null} [arg0]
|
|
2958
2988
|
*/
|
|
2959
2989
|
set emissiveIntensity(arg0) {
|
|
2960
|
-
wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2990
|
+
wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2961
2991
|
}
|
|
2962
2992
|
/**
|
|
2963
2993
|
* @param {number | null} [arg0]
|
|
2964
2994
|
*/
|
|
2965
2995
|
set height(arg0) {
|
|
2966
|
-
wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
2996
|
+
wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2967
2997
|
}
|
|
2968
2998
|
/**
|
|
2969
2999
|
* @param {number | null} [arg0]
|
|
2970
3000
|
*/
|
|
2971
3001
|
set ior(arg0) {
|
|
2972
|
-
wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3002
|
+
wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2973
3003
|
}
|
|
2974
3004
|
/**
|
|
2975
3005
|
* @param {number | null} [arg0]
|
|
2976
3006
|
*/
|
|
2977
3007
|
set maxSse(arg0) {
|
|
2978
|
-
wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3008
|
+
wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2979
3009
|
}
|
|
2980
3010
|
/**
|
|
2981
3011
|
* @param {number | null} [arg0]
|
|
2982
3012
|
*/
|
|
2983
3013
|
set metalness(arg0) {
|
|
2984
|
-
wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3014
|
+
wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
2985
3015
|
}
|
|
2986
3016
|
/**
|
|
2987
3017
|
* When true, recompute vertex normals using a creased-normals algorithm
|
|
@@ -2997,13 +3027,13 @@ export class ModelMaterial {
|
|
|
2997
3027
|
* @param {number | null} [arg0]
|
|
2998
3028
|
*/
|
|
2999
3029
|
set opacity(arg0) {
|
|
3000
|
-
wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3030
|
+
wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3001
3031
|
}
|
|
3002
3032
|
/**
|
|
3003
3033
|
* @param {number | null} [arg0]
|
|
3004
3034
|
*/
|
|
3005
3035
|
set pointSize(arg0) {
|
|
3006
|
-
wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3036
|
+
wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3007
3037
|
}
|
|
3008
3038
|
/**
|
|
3009
3039
|
* @param {boolean | null} [arg0]
|
|
@@ -3016,20 +3046,20 @@ export class ModelMaterial {
|
|
|
3016
3046
|
* @param {number | null} [arg0]
|
|
3017
3047
|
*/
|
|
3018
3048
|
set reflectivity(arg0) {
|
|
3019
|
-
wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3049
|
+
wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3020
3050
|
}
|
|
3021
3051
|
/**
|
|
3022
3052
|
* Reflectivity for post-process.
|
|
3023
3053
|
* @param {number | null} [arg0]
|
|
3024
3054
|
*/
|
|
3025
3055
|
set roughness(arg0) {
|
|
3026
|
-
wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3056
|
+
wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3027
3057
|
}
|
|
3028
3058
|
/**
|
|
3029
3059
|
* @param {number | null} [arg0]
|
|
3030
3060
|
*/
|
|
3031
3061
|
set shininess(arg0) {
|
|
3032
|
-
wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3062
|
+
wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3033
3063
|
}
|
|
3034
3064
|
/**
|
|
3035
3065
|
* @param {boolean | null} [arg0]
|
|
@@ -3053,13 +3083,13 @@ export class ModelMaterial {
|
|
|
3053
3083
|
* @param {number | null} [arg0]
|
|
3054
3084
|
*/
|
|
3055
3085
|
set size(arg0) {
|
|
3056
|
-
wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3086
|
+
wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3057
3087
|
}
|
|
3058
3088
|
/**
|
|
3059
3089
|
* @param {number | null} [arg0]
|
|
3060
3090
|
*/
|
|
3061
3091
|
set specularStrength(arg0) {
|
|
3062
|
-
wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3092
|
+
wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3063
3093
|
}
|
|
3064
3094
|
/**
|
|
3065
3095
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -3088,14 +3118,14 @@ export class ModelMaterial {
|
|
|
3088
3118
|
* @param {number | null} [arg0]
|
|
3089
3119
|
*/
|
|
3090
3120
|
set waterScaleNormal(arg0) {
|
|
3091
|
-
wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3121
|
+
wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3092
3122
|
}
|
|
3093
3123
|
/**
|
|
3094
3124
|
* Water wave speed.
|
|
3095
3125
|
* @param {number | null} [arg0]
|
|
3096
3126
|
*/
|
|
3097
3127
|
set waterSpeed(arg0) {
|
|
3098
|
-
wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3128
|
+
wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3099
3129
|
}
|
|
3100
3130
|
/**
|
|
3101
3131
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -3176,7 +3206,6 @@ if (Symbol.dispose) OverscaledTileHandle.prototype[Symbol.dispose] = OverscaledT
|
|
|
3176
3206
|
|
|
3177
3207
|
export class Plane {
|
|
3178
3208
|
static __wrap(ptr) {
|
|
3179
|
-
ptr = ptr >>> 0;
|
|
3180
3209
|
const obj = Object.create(Plane.prototype);
|
|
3181
3210
|
obj.__wbg_ptr = ptr;
|
|
3182
3211
|
PlaneFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3255,7 +3284,26 @@ export class PointMaterial {
|
|
|
3255
3284
|
*/
|
|
3256
3285
|
get color() {
|
|
3257
3286
|
const ret = wasm.__wbg_get_pointmaterial_color(this.__wbg_ptr);
|
|
3258
|
-
return ret ===
|
|
3287
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3288
|
+
}
|
|
3289
|
+
/**
|
|
3290
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
3291
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
3292
|
+
* @returns {number | undefined}
|
|
3293
|
+
*/
|
|
3294
|
+
get declutterPriority() {
|
|
3295
|
+
const ret = wasm.__wbg_get_pointmaterial_declutterPriority(this.__wbg_ptr);
|
|
3296
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3297
|
+
}
|
|
3298
|
+
/**
|
|
3299
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
3300
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
3301
|
+
* `false` to draw every label unconditionally.
|
|
3302
|
+
* @returns {boolean | undefined}
|
|
3303
|
+
*/
|
|
3304
|
+
get declutter() {
|
|
3305
|
+
const ret = wasm.__wbg_get_pointmaterial_declutter(this.__wbg_ptr);
|
|
3306
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3259
3307
|
}
|
|
3260
3308
|
/**
|
|
3261
3309
|
* @returns {boolean | undefined}
|
|
@@ -3283,7 +3331,7 @@ export class PointMaterial {
|
|
|
3283
3331
|
*/
|
|
3284
3332
|
get emissiveColor() {
|
|
3285
3333
|
const ret = wasm.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);
|
|
3286
|
-
return ret ===
|
|
3334
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3287
3335
|
}
|
|
3288
3336
|
/**
|
|
3289
3337
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -3291,14 +3339,14 @@ export class PointMaterial {
|
|
|
3291
3339
|
*/
|
|
3292
3340
|
get emissiveIntensity() {
|
|
3293
3341
|
const ret = wasm.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
3294
|
-
return ret ===
|
|
3342
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3295
3343
|
}
|
|
3296
3344
|
/**
|
|
3297
3345
|
* @returns {number | undefined}
|
|
3298
3346
|
*/
|
|
3299
3347
|
get height() {
|
|
3300
3348
|
const ret = wasm.__wbg_get_pointmaterial_height(this.__wbg_ptr);
|
|
3301
|
-
return ret ===
|
|
3349
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3302
3350
|
}
|
|
3303
3351
|
/**
|
|
3304
3352
|
* Avoid overlapping with the globe surface.
|
|
@@ -3313,7 +3361,7 @@ export class PointMaterial {
|
|
|
3313
3361
|
*/
|
|
3314
3362
|
get opacity() {
|
|
3315
3363
|
const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
|
|
3316
|
-
return ret ===
|
|
3364
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3317
3365
|
}
|
|
3318
3366
|
/**
|
|
3319
3367
|
* @returns {boolean | undefined}
|
|
@@ -3336,7 +3384,7 @@ export class PointMaterial {
|
|
|
3336
3384
|
*/
|
|
3337
3385
|
get size() {
|
|
3338
3386
|
const ret = wasm.__wbg_get_pointmaterial_size(this.__wbg_ptr);
|
|
3339
|
-
return ret ===
|
|
3387
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3340
3388
|
}
|
|
3341
3389
|
/**
|
|
3342
3390
|
* @returns {boolean | undefined}
|
|
@@ -3368,7 +3416,24 @@ export class PointMaterial {
|
|
|
3368
3416
|
* @param {number | null} [arg0]
|
|
3369
3417
|
*/
|
|
3370
3418
|
set color(arg0) {
|
|
3371
|
-
wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3419
|
+
wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
3420
|
+
}
|
|
3421
|
+
/**
|
|
3422
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
3423
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
3424
|
+
* @param {number | null} [arg0]
|
|
3425
|
+
*/
|
|
3426
|
+
set declutterPriority(arg0) {
|
|
3427
|
+
wasm.__wbg_set_pointmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3428
|
+
}
|
|
3429
|
+
/**
|
|
3430
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
3431
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
3432
|
+
* `false` to draw every label unconditionally.
|
|
3433
|
+
* @param {boolean | null} [arg0]
|
|
3434
|
+
*/
|
|
3435
|
+
set declutter(arg0) {
|
|
3436
|
+
wasm.__wbg_set_pointmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
3372
3437
|
}
|
|
3373
3438
|
/**
|
|
3374
3439
|
* @param {boolean | null} [arg0]
|
|
@@ -3390,20 +3455,20 @@ export class PointMaterial {
|
|
|
3390
3455
|
* @param {number | null} [arg0]
|
|
3391
3456
|
*/
|
|
3392
3457
|
set emissiveColor(arg0) {
|
|
3393
|
-
wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3458
|
+
wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
3394
3459
|
}
|
|
3395
3460
|
/**
|
|
3396
3461
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
3397
3462
|
* @param {number | null} [arg0]
|
|
3398
3463
|
*/
|
|
3399
3464
|
set emissiveIntensity(arg0) {
|
|
3400
|
-
wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3465
|
+
wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3401
3466
|
}
|
|
3402
3467
|
/**
|
|
3403
3468
|
* @param {number | null} [arg0]
|
|
3404
3469
|
*/
|
|
3405
3470
|
set height(arg0) {
|
|
3406
|
-
wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3471
|
+
wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3407
3472
|
}
|
|
3408
3473
|
/**
|
|
3409
3474
|
* Avoid overlapping with the globe surface.
|
|
@@ -3416,7 +3481,7 @@ export class PointMaterial {
|
|
|
3416
3481
|
* @param {number | null} [arg0]
|
|
3417
3482
|
*/
|
|
3418
3483
|
set opacity(arg0) {
|
|
3419
|
-
wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3484
|
+
wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3420
3485
|
}
|
|
3421
3486
|
/**
|
|
3422
3487
|
* @param {boolean | null} [arg0]
|
|
@@ -3436,7 +3501,7 @@ export class PointMaterial {
|
|
|
3436
3501
|
* @param {number | null} [arg0]
|
|
3437
3502
|
*/
|
|
3438
3503
|
set size(arg0) {
|
|
3439
|
-
wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
3504
|
+
wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3440
3505
|
}
|
|
3441
3506
|
/**
|
|
3442
3507
|
* @param {boolean | null} [arg0]
|
|
@@ -3680,7 +3745,6 @@ if (Symbol.dispose) PolygonGeometryAttributes.prototype[Symbol.dispose] = Polygo
|
|
|
3680
3745
|
|
|
3681
3746
|
export class PolygonInternalMaterial {
|
|
3682
3747
|
static __wrap(ptr) {
|
|
3683
|
-
ptr = ptr >>> 0;
|
|
3684
3748
|
const obj = Object.create(PolygonInternalMaterial.prototype);
|
|
3685
3749
|
obj.__wbg_ptr = ptr;
|
|
3686
3750
|
PolygonInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3760,7 +3824,7 @@ export class PolygonMaterial {
|
|
|
3760
3824
|
*/
|
|
3761
3825
|
get color() {
|
|
3762
3826
|
const ret = wasm.__wbg_get_polygonmaterial_color(this.__wbg_ptr);
|
|
3763
|
-
return ret ===
|
|
3827
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3764
3828
|
}
|
|
3765
3829
|
/**
|
|
3766
3830
|
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
@@ -3781,7 +3845,7 @@ export class PolygonMaterial {
|
|
|
3781
3845
|
*/
|
|
3782
3846
|
get emissiveColor() {
|
|
3783
3847
|
const ret = wasm.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);
|
|
3784
|
-
return ret ===
|
|
3848
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3785
3849
|
}
|
|
3786
3850
|
/**
|
|
3787
3851
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -3789,28 +3853,28 @@ export class PolygonMaterial {
|
|
|
3789
3853
|
*/
|
|
3790
3854
|
get emissiveIntensity() {
|
|
3791
3855
|
const ret = wasm.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
3792
|
-
return ret ===
|
|
3856
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3793
3857
|
}
|
|
3794
3858
|
/**
|
|
3795
3859
|
* @returns {number | undefined}
|
|
3796
3860
|
*/
|
|
3797
3861
|
get extrudedHeight() {
|
|
3798
3862
|
const ret = wasm.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);
|
|
3799
|
-
return ret ===
|
|
3863
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3800
3864
|
}
|
|
3801
3865
|
/**
|
|
3802
3866
|
* @returns {number | undefined}
|
|
3803
3867
|
*/
|
|
3804
3868
|
get height() {
|
|
3805
3869
|
const ret = wasm.__wbg_get_polygonmaterial_height(this.__wbg_ptr);
|
|
3806
|
-
return ret ===
|
|
3870
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3807
3871
|
}
|
|
3808
3872
|
/**
|
|
3809
3873
|
* @returns {number | undefined}
|
|
3810
3874
|
*/
|
|
3811
3875
|
get ior() {
|
|
3812
3876
|
const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
|
|
3813
|
-
return ret ===
|
|
3877
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3814
3878
|
}
|
|
3815
3879
|
/**
|
|
3816
3880
|
* Need to enable `transparent`.
|
|
@@ -3818,7 +3882,7 @@ export class PolygonMaterial {
|
|
|
3818
3882
|
*/
|
|
3819
3883
|
get opacity() {
|
|
3820
3884
|
const ret = wasm.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);
|
|
3821
|
-
return ret ===
|
|
3885
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3822
3886
|
}
|
|
3823
3887
|
/**
|
|
3824
3888
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -3826,7 +3890,7 @@ export class PolygonMaterial {
|
|
|
3826
3890
|
*/
|
|
3827
3891
|
get outlineColor() {
|
|
3828
3892
|
const ret = wasm.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);
|
|
3829
|
-
return ret ===
|
|
3893
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3830
3894
|
}
|
|
3831
3895
|
/**
|
|
3832
3896
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -3842,7 +3906,7 @@ export class PolygonMaterial {
|
|
|
3842
3906
|
*/
|
|
3843
3907
|
get outlineWidth() {
|
|
3844
3908
|
const ret = wasm.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);
|
|
3845
|
-
return ret ===
|
|
3909
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3846
3910
|
}
|
|
3847
3911
|
/**
|
|
3848
3912
|
* Whether to compute outline geometry. Only effective at initial load time.
|
|
@@ -3874,7 +3938,7 @@ export class PolygonMaterial {
|
|
|
3874
3938
|
*/
|
|
3875
3939
|
get reflectivity() {
|
|
3876
3940
|
const ret = wasm.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);
|
|
3877
|
-
return ret ===
|
|
3941
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3878
3942
|
}
|
|
3879
3943
|
/**
|
|
3880
3944
|
* Reflectivity for post-process.
|
|
@@ -3882,14 +3946,14 @@ export class PolygonMaterial {
|
|
|
3882
3946
|
*/
|
|
3883
3947
|
get roughness() {
|
|
3884
3948
|
const ret = wasm.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);
|
|
3885
|
-
return ret ===
|
|
3949
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3886
3950
|
}
|
|
3887
3951
|
/**
|
|
3888
3952
|
* @returns {number | undefined}
|
|
3889
3953
|
*/
|
|
3890
3954
|
get shininess() {
|
|
3891
3955
|
const ret = wasm.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);
|
|
3892
|
-
return ret ===
|
|
3956
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3893
3957
|
}
|
|
3894
3958
|
/**
|
|
3895
3959
|
* @returns {boolean | undefined}
|
|
@@ -3903,7 +3967,7 @@ export class PolygonMaterial {
|
|
|
3903
3967
|
*/
|
|
3904
3968
|
get specularStrength() {
|
|
3905
3969
|
const ret = wasm.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);
|
|
3906
|
-
return ret ===
|
|
3970
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3907
3971
|
}
|
|
3908
3972
|
/**
|
|
3909
3973
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -3948,7 +4012,7 @@ export class PolygonMaterial {
|
|
|
3948
4012
|
*/
|
|
3949
4013
|
get waterScaleNormal() {
|
|
3950
4014
|
const ret = wasm.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);
|
|
3951
|
-
return ret ===
|
|
4015
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3952
4016
|
}
|
|
3953
4017
|
/**
|
|
3954
4018
|
* Water wave speed.
|
|
@@ -3956,7 +4020,7 @@ export class PolygonMaterial {
|
|
|
3956
4020
|
*/
|
|
3957
4021
|
get waterSpeed() {
|
|
3958
4022
|
const ret = wasm.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);
|
|
3959
|
-
return ret ===
|
|
4023
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3960
4024
|
}
|
|
3961
4025
|
/**
|
|
3962
4026
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -3993,8 +4057,8 @@ export class PolygonMaterial {
|
|
|
3993
4057
|
_assertClass(__internal__, PolygonInternalMaterial);
|
|
3994
4058
|
ptr0 = __internal__.__destroy_into_raw();
|
|
3995
4059
|
}
|
|
3996
|
-
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) ?
|
|
3997
|
-
this.__wbg_ptr = ret
|
|
4060
|
+
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);
|
|
4061
|
+
this.__wbg_ptr = ret;
|
|
3998
4062
|
PolygonMaterialFinalization.register(this, this.__wbg_ptr, this);
|
|
3999
4063
|
return this;
|
|
4000
4064
|
}
|
|
@@ -4031,7 +4095,7 @@ export class PolygonMaterial {
|
|
|
4031
4095
|
* @param {number | null} [arg0]
|
|
4032
4096
|
*/
|
|
4033
4097
|
set color(arg0) {
|
|
4034
|
-
wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4098
|
+
wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4035
4099
|
}
|
|
4036
4100
|
/**
|
|
4037
4101
|
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
@@ -4047,46 +4111,46 @@ export class PolygonMaterial {
|
|
|
4047
4111
|
* @param {number | null} [arg0]
|
|
4048
4112
|
*/
|
|
4049
4113
|
set emissiveColor(arg0) {
|
|
4050
|
-
wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4114
|
+
wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4051
4115
|
}
|
|
4052
4116
|
/**
|
|
4053
4117
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
4054
4118
|
* @param {number | null} [arg0]
|
|
4055
4119
|
*/
|
|
4056
4120
|
set emissiveIntensity(arg0) {
|
|
4057
|
-
wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4121
|
+
wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4058
4122
|
}
|
|
4059
4123
|
/**
|
|
4060
4124
|
* @param {number | null} [arg0]
|
|
4061
4125
|
*/
|
|
4062
4126
|
set extrudedHeight(arg0) {
|
|
4063
|
-
wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4127
|
+
wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4064
4128
|
}
|
|
4065
4129
|
/**
|
|
4066
4130
|
* @param {number | null} [arg0]
|
|
4067
4131
|
*/
|
|
4068
4132
|
set height(arg0) {
|
|
4069
|
-
wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4133
|
+
wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4070
4134
|
}
|
|
4071
4135
|
/**
|
|
4072
4136
|
* @param {number | null} [arg0]
|
|
4073
4137
|
*/
|
|
4074
4138
|
set ior(arg0) {
|
|
4075
|
-
wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4139
|
+
wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4076
4140
|
}
|
|
4077
4141
|
/**
|
|
4078
4142
|
* Need to enable `transparent`.
|
|
4079
4143
|
* @param {number | null} [arg0]
|
|
4080
4144
|
*/
|
|
4081
4145
|
set opacity(arg0) {
|
|
4082
|
-
wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4146
|
+
wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4083
4147
|
}
|
|
4084
4148
|
/**
|
|
4085
4149
|
* Currently, this property is supported only in GeoJSON.
|
|
4086
4150
|
* @param {number | null} [arg0]
|
|
4087
4151
|
*/
|
|
4088
4152
|
set outlineColor(arg0) {
|
|
4089
|
-
wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4153
|
+
wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4090
4154
|
}
|
|
4091
4155
|
/**
|
|
4092
4156
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -4100,7 +4164,7 @@ export class PolygonMaterial {
|
|
|
4100
4164
|
* @param {number | null} [arg0]
|
|
4101
4165
|
*/
|
|
4102
4166
|
set outlineWidth(arg0) {
|
|
4103
|
-
wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4167
|
+
wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4104
4168
|
}
|
|
4105
4169
|
/**
|
|
4106
4170
|
* Whether to compute outline geometry. Only effective at initial load time.
|
|
@@ -4128,20 +4192,20 @@ export class PolygonMaterial {
|
|
|
4128
4192
|
* @param {number | null} [arg0]
|
|
4129
4193
|
*/
|
|
4130
4194
|
set reflectivity(arg0) {
|
|
4131
|
-
wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4195
|
+
wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4132
4196
|
}
|
|
4133
4197
|
/**
|
|
4134
4198
|
* Reflectivity for post-process.
|
|
4135
4199
|
* @param {number | null} [arg0]
|
|
4136
4200
|
*/
|
|
4137
4201
|
set roughness(arg0) {
|
|
4138
|
-
wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4202
|
+
wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4139
4203
|
}
|
|
4140
4204
|
/**
|
|
4141
4205
|
* @param {number | null} [arg0]
|
|
4142
4206
|
*/
|
|
4143
4207
|
set shininess(arg0) {
|
|
4144
|
-
wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4208
|
+
wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4145
4209
|
}
|
|
4146
4210
|
/**
|
|
4147
4211
|
* @param {boolean | null} [arg0]
|
|
@@ -4153,7 +4217,7 @@ export class PolygonMaterial {
|
|
|
4153
4217
|
* @param {number | null} [arg0]
|
|
4154
4218
|
*/
|
|
4155
4219
|
set specularStrength(arg0) {
|
|
4156
|
-
wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4220
|
+
wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4157
4221
|
}
|
|
4158
4222
|
/**
|
|
4159
4223
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -4193,14 +4257,14 @@ export class PolygonMaterial {
|
|
|
4193
4257
|
* @param {number | null} [arg0]
|
|
4194
4258
|
*/
|
|
4195
4259
|
set waterScaleNormal(arg0) {
|
|
4196
|
-
wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4260
|
+
wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4197
4261
|
}
|
|
4198
4262
|
/**
|
|
4199
4263
|
* Water wave speed.
|
|
4200
4264
|
* @param {number | null} [arg0]
|
|
4201
4265
|
*/
|
|
4202
4266
|
set waterSpeed(arg0) {
|
|
4203
|
-
wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4267
|
+
wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4204
4268
|
}
|
|
4205
4269
|
/**
|
|
4206
4270
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -4647,7 +4711,6 @@ if (Symbol.dispose) PolylineGeometryAttributes.prototype[Symbol.dispose] = Polyl
|
|
|
4647
4711
|
|
|
4648
4712
|
export class PolylineInternalMaterial {
|
|
4649
4713
|
static __wrap(ptr) {
|
|
4650
|
-
ptr = ptr >>> 0;
|
|
4651
4714
|
const obj = Object.create(PolylineInternalMaterial.prototype);
|
|
4652
4715
|
obj.__wbg_ptr = ptr;
|
|
4653
4716
|
PolylineInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4720,7 +4783,7 @@ export class PolylineMaterial {
|
|
|
4720
4783
|
*/
|
|
4721
4784
|
get color() {
|
|
4722
4785
|
const ret = wasm.__wbg_get_polylinematerial_color(this.__wbg_ptr);
|
|
4723
|
-
return ret ===
|
|
4786
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4724
4787
|
}
|
|
4725
4788
|
/**
|
|
4726
4789
|
* Enable writing to depth buffer
|
|
@@ -4749,7 +4812,7 @@ export class PolylineMaterial {
|
|
|
4749
4812
|
*/
|
|
4750
4813
|
get emissiveColor() {
|
|
4751
4814
|
const ret = wasm.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);
|
|
4752
|
-
return ret ===
|
|
4815
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4753
4816
|
}
|
|
4754
4817
|
/**
|
|
4755
4818
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -4757,14 +4820,14 @@ export class PolylineMaterial {
|
|
|
4757
4820
|
*/
|
|
4758
4821
|
get emissiveIntensity() {
|
|
4759
4822
|
const ret = wasm.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);
|
|
4760
|
-
return ret ===
|
|
4823
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4761
4824
|
}
|
|
4762
4825
|
/**
|
|
4763
4826
|
* @returns {number | undefined}
|
|
4764
4827
|
*/
|
|
4765
4828
|
get height() {
|
|
4766
4829
|
const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
|
|
4767
|
-
return ret ===
|
|
4830
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4768
4831
|
}
|
|
4769
4832
|
/**
|
|
4770
4833
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
@@ -4773,7 +4836,7 @@ export class PolylineMaterial {
|
|
|
4773
4836
|
*/
|
|
4774
4837
|
get maxWidth() {
|
|
4775
4838
|
const ret = wasm.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);
|
|
4776
|
-
return ret ===
|
|
4839
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4777
4840
|
}
|
|
4778
4841
|
/**
|
|
4779
4842
|
* Opacity value
|
|
@@ -4781,7 +4844,7 @@ export class PolylineMaterial {
|
|
|
4781
4844
|
*/
|
|
4782
4845
|
get opacity() {
|
|
4783
4846
|
const ret = wasm.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);
|
|
4784
|
-
return ret ===
|
|
4847
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4785
4848
|
}
|
|
4786
4849
|
/**
|
|
4787
4850
|
* @returns {boolean | undefined}
|
|
@@ -4822,7 +4885,7 @@ export class PolylineMaterial {
|
|
|
4822
4885
|
*/
|
|
4823
4886
|
get width() {
|
|
4824
4887
|
const ret = wasm.__wbg_get_polylinematerial_width(this.__wbg_ptr);
|
|
4825
|
-
return ret ===
|
|
4888
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4826
4889
|
}
|
|
4827
4890
|
/**
|
|
4828
4891
|
* @param {boolean | null} [show]
|
|
@@ -4842,8 +4905,8 @@ export class PolylineMaterial {
|
|
|
4842
4905
|
_assertClass(__internal__, PolylineInternalMaterial);
|
|
4843
4906
|
ptr0 = __internal__.__destroy_into_raw();
|
|
4844
4907
|
}
|
|
4845
|
-
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) ?
|
|
4846
|
-
this.__wbg_ptr = ret
|
|
4908
|
+
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);
|
|
4909
|
+
this.__wbg_ptr = ret;
|
|
4847
4910
|
PolylineMaterialFinalization.register(this, this.__wbg_ptr, this);
|
|
4848
4911
|
return this;
|
|
4849
4912
|
}
|
|
@@ -4874,7 +4937,7 @@ export class PolylineMaterial {
|
|
|
4874
4937
|
* @param {number | null} [arg0]
|
|
4875
4938
|
*/
|
|
4876
4939
|
set color(arg0) {
|
|
4877
|
-
wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4940
|
+
wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4878
4941
|
}
|
|
4879
4942
|
/**
|
|
4880
4943
|
* Enable writing to depth buffer
|
|
@@ -4897,20 +4960,20 @@ export class PolylineMaterial {
|
|
|
4897
4960
|
* @param {number | null} [arg0]
|
|
4898
4961
|
*/
|
|
4899
4962
|
set emissiveColor(arg0) {
|
|
4900
|
-
wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4963
|
+
wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4901
4964
|
}
|
|
4902
4965
|
/**
|
|
4903
4966
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
4904
4967
|
* @param {number | null} [arg0]
|
|
4905
4968
|
*/
|
|
4906
4969
|
set emissiveIntensity(arg0) {
|
|
4907
|
-
wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4970
|
+
wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4908
4971
|
}
|
|
4909
4972
|
/**
|
|
4910
4973
|
* @param {number | null} [arg0]
|
|
4911
4974
|
*/
|
|
4912
4975
|
set height(arg0) {
|
|
4913
|
-
wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4976
|
+
wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4914
4977
|
}
|
|
4915
4978
|
/**
|
|
4916
4979
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
@@ -4918,14 +4981,14 @@ export class PolylineMaterial {
|
|
|
4918
4981
|
* @param {number | null} [arg0]
|
|
4919
4982
|
*/
|
|
4920
4983
|
set maxWidth(arg0) {
|
|
4921
|
-
wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4984
|
+
wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4922
4985
|
}
|
|
4923
4986
|
/**
|
|
4924
4987
|
* Opacity value
|
|
4925
4988
|
* @param {number | null} [arg0]
|
|
4926
4989
|
*/
|
|
4927
4990
|
set opacity(arg0) {
|
|
4928
|
-
wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
4991
|
+
wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4929
4992
|
}
|
|
4930
4993
|
/**
|
|
4931
4994
|
* @param {boolean | null} [arg0]
|
|
@@ -4961,7 +5024,7 @@ export class PolylineMaterial {
|
|
|
4961
5024
|
* @param {number | null} [arg0]
|
|
4962
5025
|
*/
|
|
4963
5026
|
set width(arg0) {
|
|
4964
|
-
wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5027
|
+
wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4965
5028
|
}
|
|
4966
5029
|
}
|
|
4967
5030
|
if (Symbol.dispose) PolylineMaterial.prototype[Symbol.dispose] = PolylineMaterial.prototype.free;
|
|
@@ -4987,14 +5050,14 @@ export class RasterMaterial {
|
|
|
4987
5050
|
*/
|
|
4988
5051
|
get color() {
|
|
4989
5052
|
const ret = wasm.__wbg_get_rastermaterial_color(this.__wbg_ptr);
|
|
4990
|
-
return ret ===
|
|
5053
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4991
5054
|
}
|
|
4992
5055
|
/**
|
|
4993
5056
|
* @returns {number | undefined}
|
|
4994
5057
|
*/
|
|
4995
5058
|
get opacity() {
|
|
4996
5059
|
const ret = wasm.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);
|
|
4997
|
-
return ret ===
|
|
5060
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4998
5061
|
}
|
|
4999
5062
|
/**
|
|
5000
5063
|
* @returns {boolean | undefined}
|
|
@@ -5014,13 +5077,13 @@ export class RasterMaterial {
|
|
|
5014
5077
|
* @param {number | null} [arg0]
|
|
5015
5078
|
*/
|
|
5016
5079
|
set color(arg0) {
|
|
5017
|
-
wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5080
|
+
wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
5018
5081
|
}
|
|
5019
5082
|
/**
|
|
5020
5083
|
* @param {number | null} [arg0]
|
|
5021
5084
|
*/
|
|
5022
5085
|
set opacity(arg0) {
|
|
5023
|
-
wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5086
|
+
wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
5024
5087
|
}
|
|
5025
5088
|
/**
|
|
5026
5089
|
* @param {boolean | null} [arg0]
|
|
@@ -5505,7 +5568,6 @@ if (Symbol.dispose) RasterTileInternalMaterial.prototype[Symbol.dispose] = Raste
|
|
|
5505
5568
|
|
|
5506
5569
|
export class Ray {
|
|
5507
5570
|
static __wrap(ptr) {
|
|
5508
|
-
ptr = ptr >>> 0;
|
|
5509
5571
|
const obj = Object.create(Ray.prototype);
|
|
5510
5572
|
obj.__wbg_ptr = ptr;
|
|
5511
5573
|
RayFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -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
|
}
|
|
@@ -5647,7 +5709,7 @@ export class ReturnedConstructedTerrainMesh {
|
|
|
5647
5709
|
ptr2 = rtc_translation.__destroy_into_raw();
|
|
5648
5710
|
}
|
|
5649
5711
|
const ret = wasm.returnedconstructedterrainmesh_new(ptr0, max_height, min_height, ptr1, len1, ptr2);
|
|
5650
|
-
this.__wbg_ptr = ret
|
|
5712
|
+
this.__wbg_ptr = ret;
|
|
5651
5713
|
ReturnedConstructedTerrainMeshFinalization.register(this, this.__wbg_ptr, this);
|
|
5652
5714
|
return this;
|
|
5653
5715
|
}
|
|
@@ -5799,7 +5861,7 @@ export class TerrainMaterial {
|
|
|
5799
5861
|
*/
|
|
5800
5862
|
get skirtExaggeration() {
|
|
5801
5863
|
const ret = wasm.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);
|
|
5802
|
-
return ret ===
|
|
5864
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5803
5865
|
}
|
|
5804
5866
|
/**
|
|
5805
5867
|
* Whether to render skirts along tile boundaries to hide gaps.
|
|
@@ -5840,7 +5902,7 @@ export class TerrainMaterial {
|
|
|
5840
5902
|
* @param {number | null} [arg0]
|
|
5841
5903
|
*/
|
|
5842
5904
|
set skirtExaggeration(arg0) {
|
|
5843
|
-
wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
5905
|
+
wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
5844
5906
|
}
|
|
5845
5907
|
/**
|
|
5846
5908
|
* Whether to render skirts along tile boundaries to hide gaps.
|
|
@@ -5869,21 +5931,21 @@ export class TextMaterial {
|
|
|
5869
5931
|
*/
|
|
5870
5932
|
get backgroundColor() {
|
|
5871
5933
|
const ret = wasm.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);
|
|
5872
|
-
return ret ===
|
|
5934
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5873
5935
|
}
|
|
5874
5936
|
/**
|
|
5875
5937
|
* @returns {number | undefined}
|
|
5876
5938
|
*/
|
|
5877
5939
|
get borderColor() {
|
|
5878
5940
|
const ret = wasm.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);
|
|
5879
|
-
return ret ===
|
|
5941
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5880
5942
|
}
|
|
5881
5943
|
/**
|
|
5882
5944
|
* @returns {number | undefined}
|
|
5883
5945
|
*/
|
|
5884
5946
|
get borderWidth() {
|
|
5885
5947
|
const ret = wasm.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);
|
|
5886
|
-
return ret ===
|
|
5948
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5887
5949
|
}
|
|
5888
5950
|
/**
|
|
5889
5951
|
* @returns {Vec2 | undefined}
|
|
@@ -5904,7 +5966,26 @@ export class TextMaterial {
|
|
|
5904
5966
|
*/
|
|
5905
5967
|
get color() {
|
|
5906
5968
|
const ret = wasm.__wbg_get_textmaterial_color(this.__wbg_ptr);
|
|
5907
|
-
return ret ===
|
|
5969
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5970
|
+
}
|
|
5971
|
+
/**
|
|
5972
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
5973
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
5974
|
+
* @returns {number | undefined}
|
|
5975
|
+
*/
|
|
5976
|
+
get declutterPriority() {
|
|
5977
|
+
const ret = wasm.__wbg_get_textmaterial_declutterPriority(this.__wbg_ptr);
|
|
5978
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5979
|
+
}
|
|
5980
|
+
/**
|
|
5981
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
5982
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
5983
|
+
* `false` to draw every label unconditionally.
|
|
5984
|
+
* @returns {boolean | undefined}
|
|
5985
|
+
*/
|
|
5986
|
+
get declutter() {
|
|
5987
|
+
const ret = wasm.__wbg_get_textmaterial_declutter(this.__wbg_ptr);
|
|
5988
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
5908
5989
|
}
|
|
5909
5990
|
/**
|
|
5910
5991
|
* @returns {boolean | undefined}
|
|
@@ -5943,7 +6024,7 @@ export class TextMaterial {
|
|
|
5943
6024
|
*/
|
|
5944
6025
|
get height() {
|
|
5945
6026
|
const ret = wasm.__wbg_get_textmaterial_height(this.__wbg_ptr);
|
|
5946
|
-
return ret ===
|
|
6027
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5947
6028
|
}
|
|
5948
6029
|
/**
|
|
5949
6030
|
* Enable high-quality glyph rendering. When `true`, text uses an MTSDF
|
|
@@ -5977,7 +6058,7 @@ export class TextMaterial {
|
|
|
5977
6058
|
*/
|
|
5978
6059
|
get lineHeight() {
|
|
5979
6060
|
const ret = wasm.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);
|
|
5980
|
-
return ret ===
|
|
6061
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5981
6062
|
}
|
|
5982
6063
|
/**
|
|
5983
6064
|
* Maximum line width in ems (multiples of `size`) before text wraps at
|
|
@@ -5987,7 +6068,7 @@ export class TextMaterial {
|
|
|
5987
6068
|
*/
|
|
5988
6069
|
get maxWidth() {
|
|
5989
6070
|
const ret = wasm.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);
|
|
5990
|
-
return ret ===
|
|
6071
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5991
6072
|
}
|
|
5992
6073
|
/**
|
|
5993
6074
|
* Avoid overlapping with the globe surface.
|
|
@@ -6003,7 +6084,7 @@ export class TextMaterial {
|
|
|
6003
6084
|
*/
|
|
6004
6085
|
get opacity() {
|
|
6005
6086
|
const ret = wasm.__wbg_get_textmaterial_opacity(this.__wbg_ptr);
|
|
6006
|
-
return ret ===
|
|
6087
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6007
6088
|
}
|
|
6008
6089
|
/**
|
|
6009
6090
|
* Outline blur radius in CSS pixels. Defaults to `0.0`.
|
|
@@ -6011,7 +6092,7 @@ export class TextMaterial {
|
|
|
6011
6092
|
*/
|
|
6012
6093
|
get outlineColor() {
|
|
6013
6094
|
const ret = wasm.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);
|
|
6014
|
-
return ret ===
|
|
6095
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6015
6096
|
}
|
|
6016
6097
|
/**
|
|
6017
6098
|
* Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
|
|
@@ -6019,7 +6100,7 @@ export class TextMaterial {
|
|
|
6019
6100
|
*/
|
|
6020
6101
|
get outlineOpacity() {
|
|
6021
6102
|
const ret = wasm.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);
|
|
6022
|
-
return ret ===
|
|
6103
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6023
6104
|
}
|
|
6024
6105
|
/**
|
|
6025
6106
|
* Outline thickness measured in CSS pixels. Defaults to `0.0`.
|
|
@@ -6027,7 +6108,7 @@ export class TextMaterial {
|
|
|
6027
6108
|
*/
|
|
6028
6109
|
get outlineWidth() {
|
|
6029
6110
|
const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
|
|
6030
|
-
return ret ===
|
|
6111
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6031
6112
|
}
|
|
6032
6113
|
/**
|
|
6033
6114
|
* @returns {boolean | undefined}
|
|
@@ -6050,7 +6131,7 @@ export class TextMaterial {
|
|
|
6050
6131
|
*/
|
|
6051
6132
|
get size() {
|
|
6052
6133
|
const ret = wasm.__wbg_get_textmaterial_size(this.__wbg_ptr);
|
|
6053
|
-
return ret ===
|
|
6134
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6054
6135
|
}
|
|
6055
6136
|
/**
|
|
6056
6137
|
* Horizontal alignment of lines within a multi-line block:
|
|
@@ -6090,19 +6171,19 @@ export class TextMaterial {
|
|
|
6090
6171
|
* @param {number | null} [arg0]
|
|
6091
6172
|
*/
|
|
6092
6173
|
set backgroundColor(arg0) {
|
|
6093
|
-
wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6174
|
+
wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6094
6175
|
}
|
|
6095
6176
|
/**
|
|
6096
6177
|
* @param {number | null} [arg0]
|
|
6097
6178
|
*/
|
|
6098
6179
|
set borderColor(arg0) {
|
|
6099
|
-
wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6180
|
+
wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6100
6181
|
}
|
|
6101
6182
|
/**
|
|
6102
6183
|
* @param {number | null} [arg0]
|
|
6103
6184
|
*/
|
|
6104
6185
|
set borderWidth(arg0) {
|
|
6105
|
-
wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6186
|
+
wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6106
6187
|
}
|
|
6107
6188
|
/**
|
|
6108
6189
|
* @param {Vec2 | null} [arg0]
|
|
@@ -6125,7 +6206,24 @@ export class TextMaterial {
|
|
|
6125
6206
|
* @param {number | null} [arg0]
|
|
6126
6207
|
*/
|
|
6127
6208
|
set color(arg0) {
|
|
6128
|
-
wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6209
|
+
wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6210
|
+
}
|
|
6211
|
+
/**
|
|
6212
|
+
* Placement priority for decluttering; higher wins. Only meaningful when
|
|
6213
|
+
* `declutter` is enabled. Defaults to `0.0`.
|
|
6214
|
+
* @param {number | null} [arg0]
|
|
6215
|
+
*/
|
|
6216
|
+
set declutterPriority(arg0) {
|
|
6217
|
+
wasm.__wbg_set_textmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6218
|
+
}
|
|
6219
|
+
/**
|
|
6220
|
+
* Participate in screen-space decluttering: when labels/sprites overlap
|
|
6221
|
+
* on screen, lower-priority ones are hidden. Defaults to `true`; set to
|
|
6222
|
+
* `false` to draw every label unconditionally.
|
|
6223
|
+
* @param {boolean | null} [arg0]
|
|
6224
|
+
*/
|
|
6225
|
+
set declutter(arg0) {
|
|
6226
|
+
wasm.__wbg_set_textmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
6129
6227
|
}
|
|
6130
6228
|
/**
|
|
6131
6229
|
* @param {boolean | null} [arg0]
|
|
@@ -6158,7 +6256,7 @@ export class TextMaterial {
|
|
|
6158
6256
|
* @param {number | null} [arg0]
|
|
6159
6257
|
*/
|
|
6160
6258
|
set height(arg0) {
|
|
6161
|
-
wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6259
|
+
wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6162
6260
|
}
|
|
6163
6261
|
/**
|
|
6164
6262
|
* Enable high-quality glyph rendering. When `true`, text uses an MTSDF
|
|
@@ -6186,7 +6284,7 @@ export class TextMaterial {
|
|
|
6186
6284
|
* @param {number | null} [arg0]
|
|
6187
6285
|
*/
|
|
6188
6286
|
set lineHeight(arg0) {
|
|
6189
|
-
wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6287
|
+
wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6190
6288
|
}
|
|
6191
6289
|
/**
|
|
6192
6290
|
* Maximum line width in ems (multiples of `size`) before text wraps at
|
|
@@ -6195,7 +6293,7 @@ export class TextMaterial {
|
|
|
6195
6293
|
* @param {number | null} [arg0]
|
|
6196
6294
|
*/
|
|
6197
6295
|
set maxWidth(arg0) {
|
|
6198
|
-
wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6296
|
+
wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6199
6297
|
}
|
|
6200
6298
|
/**
|
|
6201
6299
|
* Avoid overlapping with the globe surface.
|
|
@@ -6209,28 +6307,28 @@ export class TextMaterial {
|
|
|
6209
6307
|
* @param {number | null} [arg0]
|
|
6210
6308
|
*/
|
|
6211
6309
|
set opacity(arg0) {
|
|
6212
|
-
wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6310
|
+
wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6213
6311
|
}
|
|
6214
6312
|
/**
|
|
6215
6313
|
* Outline blur radius in CSS pixels. Defaults to `0.0`.
|
|
6216
6314
|
* @param {number | null} [arg0]
|
|
6217
6315
|
*/
|
|
6218
6316
|
set outlineColor(arg0) {
|
|
6219
|
-
wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6317
|
+
wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6220
6318
|
}
|
|
6221
6319
|
/**
|
|
6222
6320
|
* Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
|
|
6223
6321
|
* @param {number | null} [arg0]
|
|
6224
6322
|
*/
|
|
6225
6323
|
set outlineOpacity(arg0) {
|
|
6226
|
-
wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6324
|
+
wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6227
6325
|
}
|
|
6228
6326
|
/**
|
|
6229
6327
|
* Outline thickness measured in CSS pixels. Defaults to `0.0`.
|
|
6230
6328
|
* @param {number | null} [arg0]
|
|
6231
6329
|
*/
|
|
6232
6330
|
set outlineWidth(arg0) {
|
|
6233
|
-
wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6331
|
+
wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6234
6332
|
}
|
|
6235
6333
|
/**
|
|
6236
6334
|
* @param {boolean | null} [arg0]
|
|
@@ -6250,7 +6348,7 @@ export class TextMaterial {
|
|
|
6250
6348
|
* @param {number | null} [arg0]
|
|
6251
6349
|
*/
|
|
6252
6350
|
set size(arg0) {
|
|
6253
|
-
wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ?
|
|
6351
|
+
wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6254
6352
|
}
|
|
6255
6353
|
/**
|
|
6256
6354
|
* Horizontal alignment of lines within a multi-line block:
|
|
@@ -6282,7 +6380,6 @@ if (Symbol.dispose) TextMaterial.prototype[Symbol.dispose] = TextMaterial.protot
|
|
|
6282
6380
|
|
|
6283
6381
|
export class TextureFragment {
|
|
6284
6382
|
static __wrap(ptr) {
|
|
6285
|
-
ptr = ptr >>> 0;
|
|
6286
6383
|
const obj = Object.create(TextureFragment.prototype);
|
|
6287
6384
|
obj.__wbg_ptr = ptr;
|
|
6288
6385
|
TextureFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6329,7 +6426,6 @@ if (Symbol.dispose) TextureFragment.prototype[Symbol.dispose] = TextureFragment.
|
|
|
6329
6426
|
|
|
6330
6427
|
export class TileUvTransform {
|
|
6331
6428
|
static __wrap(ptr) {
|
|
6332
|
-
ptr = ptr >>> 0;
|
|
6333
6429
|
const obj = Object.create(TileUvTransform.prototype);
|
|
6334
6430
|
obj.__wbg_ptr = ptr;
|
|
6335
6431
|
TileUvTransformFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6435,7 +6531,7 @@ export class TileXYZ {
|
|
|
6435
6531
|
*/
|
|
6436
6532
|
constructor(x, y, z) {
|
|
6437
6533
|
const ret = wasm.tilexyz_new(x, y, z);
|
|
6438
|
-
this.__wbg_ptr = ret
|
|
6534
|
+
this.__wbg_ptr = ret;
|
|
6439
6535
|
TileXYZFinalization.register(this, this.__wbg_ptr, this);
|
|
6440
6536
|
return this;
|
|
6441
6537
|
}
|
|
@@ -6592,7 +6688,7 @@ export class TransferablePolygonBatchedFeature {
|
|
|
6592
6688
|
*/
|
|
6593
6689
|
constructor(crs, length) {
|
|
6594
6690
|
const ret = wasm.transferablepolygonbatchedfeature_constructor(crs, length);
|
|
6595
|
-
this.__wbg_ptr = ret
|
|
6691
|
+
this.__wbg_ptr = ret;
|
|
6596
6692
|
TransferablePolygonBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
|
|
6597
6693
|
return this;
|
|
6598
6694
|
}
|
|
@@ -6771,7 +6867,7 @@ export class TransferablePolylineBatchedFeature {
|
|
|
6771
6867
|
*/
|
|
6772
6868
|
constructor(crs, length) {
|
|
6773
6869
|
const ret = wasm.transferablepolylinebatchedfeature_constructor(crs, length);
|
|
6774
|
-
this.__wbg_ptr = ret
|
|
6870
|
+
this.__wbg_ptr = ret;
|
|
6775
6871
|
TransferablePolylineBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
|
|
6776
6872
|
return this;
|
|
6777
6873
|
}
|
|
@@ -6989,7 +7085,7 @@ export class Transform {
|
|
|
6989
7085
|
*/
|
|
6990
7086
|
constructor(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz) {
|
|
6991
7087
|
const ret = wasm.transform_new(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz);
|
|
6992
|
-
this.__wbg_ptr = ret
|
|
7088
|
+
this.__wbg_ptr = ret;
|
|
6993
7089
|
TransformFinalization.register(this, this.__wbg_ptr, this);
|
|
6994
7090
|
return this;
|
|
6995
7091
|
}
|
|
@@ -7028,7 +7124,7 @@ export class UintAttribute {
|
|
|
7028
7124
|
const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
|
|
7029
7125
|
const len0 = WASM_VECTOR_LEN;
|
|
7030
7126
|
const ret = wasm.uintattribute_new(ptr0, len0, size);
|
|
7031
|
-
this.__wbg_ptr = ret
|
|
7127
|
+
this.__wbg_ptr = ret;
|
|
7032
7128
|
UintAttributeFinalization.register(this, this.__wbg_ptr, this);
|
|
7033
7129
|
return this;
|
|
7034
7130
|
}
|
|
@@ -7072,7 +7168,7 @@ export class UpsamplableTerrainGeometry {
|
|
|
7072
7168
|
var ptr4 = isLikeNone(watermask) ? 0 : passArray8ToWasm0(watermask, wasm.__wbindgen_malloc);
|
|
7073
7169
|
var len4 = WASM_VECTOR_LEN;
|
|
7074
7170
|
const ret = wasm.upsamplableterraingeometry_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
7075
|
-
this.__wbg_ptr = ret
|
|
7171
|
+
this.__wbg_ptr = ret;
|
|
7076
7172
|
UpsamplableTerrainGeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
7077
7173
|
return this;
|
|
7078
7174
|
}
|
|
@@ -7081,7 +7177,6 @@ if (Symbol.dispose) UpsamplableTerrainGeometry.prototype[Symbol.dispose] = Upsam
|
|
|
7081
7177
|
|
|
7082
7178
|
export class Vec2 {
|
|
7083
7179
|
static __wrap(ptr) {
|
|
7084
|
-
ptr = ptr >>> 0;
|
|
7085
7180
|
const obj = Object.create(Vec2.prototype);
|
|
7086
7181
|
obj.__wbg_ptr = ptr;
|
|
7087
7182
|
Vec2Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7129,7 +7224,7 @@ export class Vec2 {
|
|
|
7129
7224
|
*/
|
|
7130
7225
|
constructor(x, y) {
|
|
7131
7226
|
const ret = wasm.vec2_new(x, y);
|
|
7132
|
-
this.__wbg_ptr = ret
|
|
7227
|
+
this.__wbg_ptr = ret;
|
|
7133
7228
|
Vec2Finalization.register(this, this.__wbg_ptr, this);
|
|
7134
7229
|
return this;
|
|
7135
7230
|
}
|
|
@@ -7138,7 +7233,6 @@ if (Symbol.dispose) Vec2.prototype[Symbol.dispose] = Vec2.prototype.free;
|
|
|
7138
7233
|
|
|
7139
7234
|
export class Vec3 {
|
|
7140
7235
|
static __wrap(ptr) {
|
|
7141
|
-
ptr = ptr >>> 0;
|
|
7142
7236
|
const obj = Object.create(Vec3.prototype);
|
|
7143
7237
|
obj.__wbg_ptr = ptr;
|
|
7144
7238
|
Vec3Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7200,7 +7294,7 @@ export class Vec3 {
|
|
|
7200
7294
|
*/
|
|
7201
7295
|
constructor(x, y, z) {
|
|
7202
7296
|
const ret = wasm.vec3_new(x, y, z);
|
|
7203
|
-
this.__wbg_ptr = ret
|
|
7297
|
+
this.__wbg_ptr = ret;
|
|
7204
7298
|
Vec3Finalization.register(this, this.__wbg_ptr, this);
|
|
7205
7299
|
return this;
|
|
7206
7300
|
}
|
|
@@ -7291,7 +7385,7 @@ export class Window {
|
|
|
7291
7385
|
*/
|
|
7292
7386
|
constructor(width, height, pixel_ratio) {
|
|
7293
7387
|
const ret = wasm.window_new(width, height, pixel_ratio);
|
|
7294
|
-
this.__wbg_ptr = ret
|
|
7388
|
+
this.__wbg_ptr = ret;
|
|
7295
7389
|
WindowFinalization.register(this, this.__wbg_ptr, this);
|
|
7296
7390
|
return this;
|
|
7297
7391
|
}
|
|
@@ -7316,6 +7410,41 @@ export function angleToRadian(degree) {
|
|
|
7316
7410
|
return ret;
|
|
7317
7411
|
}
|
|
7318
7412
|
|
|
7413
|
+
/**
|
|
7414
|
+
* Run one placement pass. Returns a `hidden` flag (0 or 1) per candidate, in the
|
|
7415
|
+
* same order as the input slice.
|
|
7416
|
+
*
|
|
7417
|
+
* `candidates` is a packed `f64` slice of `n * CANDIDATE_STRIDE` values (see the
|
|
7418
|
+
* module docs); `view` and `proj` are column-major 4×4 matrices (16 values each).
|
|
7419
|
+
* `padding_px` pads every box; `hysteresis_px` is the collision-test shrink
|
|
7420
|
+
* applied only to currently-shown labels.
|
|
7421
|
+
* @param {Float64Array} candidates
|
|
7422
|
+
* @param {Float64Array} view
|
|
7423
|
+
* @param {Float64Array} proj
|
|
7424
|
+
* @param {number} camera_x
|
|
7425
|
+
* @param {number} camera_y
|
|
7426
|
+
* @param {number} camera_z
|
|
7427
|
+
* @param {number} near
|
|
7428
|
+
* @param {number} width_px
|
|
7429
|
+
* @param {number} height_px
|
|
7430
|
+
* @param {number} fov_rad
|
|
7431
|
+
* @param {number} padding_px
|
|
7432
|
+
* @param {number} hysteresis_px
|
|
7433
|
+
* @returns {Uint8Array}
|
|
7434
|
+
*/
|
|
7435
|
+
export function declutterPlace(candidates, view, proj, camera_x, camera_y, camera_z, near, width_px, height_px, fov_rad, padding_px, hysteresis_px) {
|
|
7436
|
+
const ptr0 = passArrayF64ToWasm0(candidates, wasm.__wbindgen_malloc);
|
|
7437
|
+
const len0 = WASM_VECTOR_LEN;
|
|
7438
|
+
const ptr1 = passArrayF64ToWasm0(view, wasm.__wbindgen_malloc);
|
|
7439
|
+
const len1 = WASM_VECTOR_LEN;
|
|
7440
|
+
const ptr2 = passArrayF64ToWasm0(proj, wasm.__wbindgen_malloc);
|
|
7441
|
+
const len2 = WASM_VECTOR_LEN;
|
|
7442
|
+
const ret = wasm.declutterPlace(ptr0, len0, ptr1, len1, ptr2, len2, camera_x, camera_y, camera_z, near, width_px, height_px, fov_rad, padding_px, hysteresis_px);
|
|
7443
|
+
var v4 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
|
|
7444
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
7445
|
+
return v4;
|
|
7446
|
+
}
|
|
7447
|
+
|
|
7319
7448
|
/**
|
|
7320
7449
|
* @param {Vec3} origin
|
|
7321
7450
|
* @returns {Float64Array}
|
|
@@ -7574,7 +7703,7 @@ export function xyzToGeodetic(vec3) {
|
|
|
7574
7703
|
function __wbg_get_imports() {
|
|
7575
7704
|
const import0 = {
|
|
7576
7705
|
__proto__: null,
|
|
7577
|
-
|
|
7706
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
7578
7707
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
7579
7708
|
return ret;
|
|
7580
7709
|
},
|
|
@@ -7585,60 +7714,60 @@ function __wbg_get_imports() {
|
|
|
7585
7714
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7586
7715
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7587
7716
|
},
|
|
7588
|
-
|
|
7717
|
+
__wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
|
|
7589
7718
|
const v = arg1;
|
|
7590
7719
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
7591
7720
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
7592
7721
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7593
7722
|
},
|
|
7594
|
-
|
|
7723
|
+
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
7595
7724
|
const v = arg0;
|
|
7596
7725
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
7597
7726
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
7598
7727
|
},
|
|
7599
|
-
|
|
7728
|
+
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
7600
7729
|
const ret = debugString(arg1);
|
|
7601
7730
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7602
7731
|
const len1 = WASM_VECTOR_LEN;
|
|
7603
7732
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7604
7733
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7605
7734
|
},
|
|
7606
|
-
|
|
7735
|
+
__wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
|
|
7607
7736
|
const ret = arg0 in arg1;
|
|
7608
7737
|
return ret;
|
|
7609
7738
|
},
|
|
7610
|
-
|
|
7739
|
+
__wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
|
|
7611
7740
|
const ret = typeof(arg0) === 'bigint';
|
|
7612
7741
|
return ret;
|
|
7613
7742
|
},
|
|
7614
|
-
|
|
7743
|
+
__wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
|
|
7615
7744
|
const ret = typeof(arg0) === 'function';
|
|
7616
7745
|
return ret;
|
|
7617
7746
|
},
|
|
7618
|
-
|
|
7747
|
+
__wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
|
|
7619
7748
|
const val = arg0;
|
|
7620
7749
|
const ret = typeof(val) === 'object' && val !== null;
|
|
7621
7750
|
return ret;
|
|
7622
7751
|
},
|
|
7623
|
-
|
|
7752
|
+
__wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
|
|
7624
7753
|
const ret = arg0 === arg1;
|
|
7625
7754
|
return ret;
|
|
7626
7755
|
},
|
|
7627
|
-
|
|
7756
|
+
__wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
|
|
7628
7757
|
const ret = arg0 == arg1;
|
|
7629
7758
|
return ret;
|
|
7630
7759
|
},
|
|
7631
|
-
|
|
7760
|
+
__wbg___wbindgen_memory_de265df8aadd6273: function() {
|
|
7632
7761
|
const ret = wasm.memory;
|
|
7633
7762
|
return ret;
|
|
7634
7763
|
},
|
|
7635
|
-
|
|
7764
|
+
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
|
|
7636
7765
|
const obj = arg1;
|
|
7637
7766
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
7638
7767
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
7639
7768
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7640
7769
|
},
|
|
7641
|
-
|
|
7770
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
7642
7771
|
const obj = arg1;
|
|
7643
7772
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
7644
7773
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -7646,48 +7775,42 @@ function __wbg_get_imports() {
|
|
|
7646
7775
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7647
7776
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7648
7777
|
},
|
|
7649
|
-
|
|
7778
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
7650
7779
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
7651
7780
|
},
|
|
7652
|
-
|
|
7653
|
-
let result;
|
|
7654
|
-
try { result = +arg0 } catch (e) { result = e }
|
|
7655
|
-
const ret = result;
|
|
7656
|
-
return ret;
|
|
7657
|
-
},
|
|
7658
|
-
__wbg_buffer_0377ff0622c5de76: function(arg0) {
|
|
7781
|
+
__wbg_buffer_0f212447ac64c53b: function(arg0) {
|
|
7659
7782
|
const ret = arg0.buffer;
|
|
7660
7783
|
return ret;
|
|
7661
7784
|
},
|
|
7662
|
-
|
|
7785
|
+
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
7663
7786
|
const ret = arg0.call(arg1);
|
|
7664
7787
|
return ret;
|
|
7665
7788
|
}, arguments); },
|
|
7666
|
-
|
|
7789
|
+
__wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
|
|
7667
7790
|
const ret = arg0.call(arg1, arg2);
|
|
7668
7791
|
return ret;
|
|
7669
7792
|
}, arguments); },
|
|
7670
|
-
|
|
7793
|
+
__wbg_done_89b2b13e91a60321: function(arg0) {
|
|
7671
7794
|
const ret = arg0.done;
|
|
7672
7795
|
return ret;
|
|
7673
7796
|
},
|
|
7674
|
-
|
|
7797
|
+
__wbg_entries_015dc610cd81ede0: function(arg0) {
|
|
7675
7798
|
const ret = Object.entries(arg0);
|
|
7676
7799
|
return ret;
|
|
7677
7800
|
},
|
|
7678
|
-
|
|
7679
|
-
const ret = Reflect.get(arg0, arg1);
|
|
7680
|
-
return ret;
|
|
7681
|
-
}, arguments); },
|
|
7682
|
-
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
7801
|
+
__wbg_get_507a50627bffa49b: function(arg0, arg1) {
|
|
7683
7802
|
const ret = arg0[arg1 >>> 0];
|
|
7684
7803
|
return ret;
|
|
7685
7804
|
},
|
|
7686
|
-
|
|
7805
|
+
__wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
|
|
7806
|
+
const ret = Reflect.get(arg0, arg1);
|
|
7807
|
+
return ret;
|
|
7808
|
+
}, arguments); },
|
|
7809
|
+
__wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
|
|
7687
7810
|
const ret = arg0[arg1 >>> 0];
|
|
7688
7811
|
return ret;
|
|
7689
7812
|
},
|
|
7690
|
-
|
|
7813
|
+
__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
|
|
7691
7814
|
let result;
|
|
7692
7815
|
try {
|
|
7693
7816
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -7697,7 +7820,7 @@ function __wbg_get_imports() {
|
|
|
7697
7820
|
const ret = result;
|
|
7698
7821
|
return ret;
|
|
7699
7822
|
},
|
|
7700
|
-
|
|
7823
|
+
__wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
|
|
7701
7824
|
let result;
|
|
7702
7825
|
try {
|
|
7703
7826
|
result = arg0 instanceof Map;
|
|
@@ -7707,7 +7830,7 @@ function __wbg_get_imports() {
|
|
|
7707
7830
|
const ret = result;
|
|
7708
7831
|
return ret;
|
|
7709
7832
|
},
|
|
7710
|
-
|
|
7833
|
+
__wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
|
|
7711
7834
|
let result;
|
|
7712
7835
|
try {
|
|
7713
7836
|
result = arg0 instanceof Uint8Array;
|
|
@@ -7717,35 +7840,35 @@ function __wbg_get_imports() {
|
|
|
7717
7840
|
const ret = result;
|
|
7718
7841
|
return ret;
|
|
7719
7842
|
},
|
|
7720
|
-
|
|
7843
|
+
__wbg_isArray_0677c962b281d01a: function(arg0) {
|
|
7721
7844
|
const ret = Array.isArray(arg0);
|
|
7722
7845
|
return ret;
|
|
7723
7846
|
},
|
|
7724
|
-
|
|
7847
|
+
__wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
|
|
7725
7848
|
const ret = Number.isSafeInteger(arg0);
|
|
7726
7849
|
return ret;
|
|
7727
7850
|
},
|
|
7728
|
-
|
|
7851
|
+
__wbg_iterator_6f722e4a93058b71: function() {
|
|
7729
7852
|
const ret = Symbol.iterator;
|
|
7730
7853
|
return ret;
|
|
7731
7854
|
},
|
|
7732
|
-
|
|
7855
|
+
__wbg_length_0133fa10e3234c57: function(arg0) {
|
|
7733
7856
|
const ret = arg0.length;
|
|
7734
7857
|
return ret;
|
|
7735
7858
|
},
|
|
7736
|
-
|
|
7859
|
+
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
7737
7860
|
const ret = arg0.length;
|
|
7738
7861
|
return ret;
|
|
7739
7862
|
},
|
|
7740
|
-
|
|
7863
|
+
__wbg_length_370319915dc99107: function(arg0) {
|
|
7741
7864
|
const ret = arg0.length;
|
|
7742
7865
|
return ret;
|
|
7743
7866
|
},
|
|
7744
|
-
|
|
7867
|
+
__wbg_length_381d540857ec99e8: function(arg0) {
|
|
7745
7868
|
const ret = arg0.length;
|
|
7746
7869
|
return ret;
|
|
7747
7870
|
},
|
|
7748
|
-
|
|
7871
|
+
__wbg_length_98f10d1e2f4ea968: function(arg0) {
|
|
7749
7872
|
const ret = arg0.length;
|
|
7750
7873
|
return ret;
|
|
7751
7874
|
},
|
|
@@ -7756,72 +7879,72 @@ function __wbg_get_imports() {
|
|
|
7756
7879
|
__wbg_log_89a8cc89db786e36: function(arg0, arg1) {
|
|
7757
7880
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
7758
7881
|
},
|
|
7759
|
-
|
|
7760
|
-
const ret = new
|
|
7882
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
7883
|
+
const ret = new Array();
|
|
7761
7884
|
return ret;
|
|
7762
7885
|
},
|
|
7763
|
-
|
|
7886
|
+
__wbg_new_80efd62ef570c5de: function(arg0) {
|
|
7764
7887
|
const ret = new Float64Array(arg0);
|
|
7765
7888
|
return ret;
|
|
7766
7889
|
},
|
|
7767
|
-
|
|
7768
|
-
const ret = new
|
|
7890
|
+
__wbg_new_92a08b12c30e98e8: function(arg0) {
|
|
7891
|
+
const ret = new Float32Array(arg0);
|
|
7769
7892
|
return ret;
|
|
7770
7893
|
},
|
|
7771
|
-
|
|
7772
|
-
const ret = new
|
|
7894
|
+
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
7895
|
+
const ret = new Uint8Array(arg0);
|
|
7773
7896
|
return ret;
|
|
7774
7897
|
},
|
|
7775
|
-
|
|
7898
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
7776
7899
|
const ret = new Object();
|
|
7777
7900
|
return ret;
|
|
7778
7901
|
},
|
|
7779
|
-
|
|
7780
|
-
const ret = new
|
|
7902
|
+
__wbg_new_dfd44b7151fab657: function(arg0) {
|
|
7903
|
+
const ret = new Uint32Array(arg0);
|
|
7781
7904
|
return ret;
|
|
7782
7905
|
},
|
|
7783
|
-
|
|
7784
|
-
const ret = new
|
|
7906
|
+
__wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
|
|
7907
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7785
7908
|
return ret;
|
|
7786
7909
|
},
|
|
7787
|
-
|
|
7788
|
-
const ret = new
|
|
7910
|
+
__wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
|
|
7911
|
+
const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7789
7912
|
return ret;
|
|
7790
7913
|
},
|
|
7791
|
-
|
|
7914
|
+
__wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
|
|
7792
7915
|
const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7793
7916
|
return ret;
|
|
7794
7917
|
},
|
|
7795
|
-
|
|
7796
|
-
const ret = arg0.next();
|
|
7797
|
-
return ret;
|
|
7798
|
-
}, arguments); },
|
|
7799
|
-
__wbg_next_7646edaa39458ef7: function(arg0) {
|
|
7918
|
+
__wbg_next_6dbf2c0ac8cde20f: function(arg0) {
|
|
7800
7919
|
const ret = arg0.next;
|
|
7801
7920
|
return ret;
|
|
7802
7921
|
},
|
|
7803
|
-
|
|
7922
|
+
__wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
|
|
7923
|
+
const ret = arg0.next();
|
|
7924
|
+
return ret;
|
|
7925
|
+
}, arguments); },
|
|
7926
|
+
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
7804
7927
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
7805
7928
|
},
|
|
7806
|
-
|
|
7929
|
+
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
7807
7930
|
const ret = arg0.push(arg1);
|
|
7808
7931
|
return ret;
|
|
7809
7932
|
},
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
return ret;
|
|
7813
|
-
}, arguments); },
|
|
7814
|
-
__wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
|
|
7815
|
-
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
7933
|
+
__wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
|
|
7934
|
+
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
7816
7935
|
},
|
|
7817
|
-
|
|
7936
|
+
__wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
|
|
7818
7937
|
arg0.set(getArrayF64FromWasm0(arg1, arg2));
|
|
7819
7938
|
},
|
|
7820
|
-
|
|
7821
|
-
arg0.set(
|
|
7939
|
+
__wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
|
|
7940
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
7822
7941
|
},
|
|
7823
|
-
|
|
7824
|
-
|
|
7942
|
+
__wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
|
|
7943
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
7944
|
+
return ret;
|
|
7945
|
+
}, arguments); },
|
|
7946
|
+
__wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
|
|
7947
|
+
arg0.set(getArrayU32FromWasm0(arg1, arg2));
|
|
7825
7948
|
},
|
|
7826
7949
|
__wbg_texturefragment_new: function(arg0) {
|
|
7827
7950
|
const ret = TextureFragment.__wrap(arg0);
|
|
@@ -7831,7 +7954,7 @@ function __wbg_get_imports() {
|
|
|
7831
7954
|
const ret = TileUvTransform.__wrap(arg0);
|
|
7832
7955
|
return ret;
|
|
7833
7956
|
},
|
|
7834
|
-
|
|
7957
|
+
__wbg_value_a5d5488a9589444a: function(arg0) {
|
|
7835
7958
|
const ret = arg0.value;
|
|
7836
7959
|
return ret;
|
|
7837
7960
|
},
|
|
@@ -7873,181 +7996,181 @@ function __wbg_get_imports() {
|
|
|
7873
7996
|
|
|
7874
7997
|
const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7875
7998
|
? { register: () => {}, unregister: () => {} }
|
|
7876
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr
|
|
7999
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
|
|
7877
8000
|
const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7878
8001
|
? { register: () => {}, unregister: () => {} }
|
|
7879
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr
|
|
8002
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
|
|
7880
8003
|
const BillboardMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7881
8004
|
? { register: () => {}, unregister: () => {} }
|
|
7882
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr
|
|
8005
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr, 1));
|
|
7883
8006
|
const BoundingSphereFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7884
8007
|
? { register: () => {}, unregister: () => {} }
|
|
7885
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr
|
|
8008
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr, 1));
|
|
7886
8009
|
const CachedMeshHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7887
8010
|
? { register: () => {}, unregister: () => {} }
|
|
7888
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr
|
|
8011
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr, 1));
|
|
7889
8012
|
const CameraControlUpdateEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7890
8013
|
? { register: () => {}, unregister: () => {} }
|
|
7891
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr
|
|
8014
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr, 1));
|
|
7892
8015
|
const CameraFrustumFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7893
8016
|
? { register: () => {}, unregister: () => {} }
|
|
7894
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr
|
|
8017
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr, 1));
|
|
7895
8018
|
const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7896
8019
|
? { register: () => {}, unregister: () => {} }
|
|
7897
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr
|
|
8020
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr, 1));
|
|
7898
8021
|
const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7899
8022
|
? { register: () => {}, unregister: () => {} }
|
|
7900
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr
|
|
8023
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
|
|
7901
8024
|
const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7902
8025
|
? { register: () => {}, unregister: () => {} }
|
|
7903
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr
|
|
8026
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
|
|
7904
8027
|
const CompiledFilterFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7905
8028
|
? { register: () => {}, unregister: () => {} }
|
|
7906
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr
|
|
8029
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr, 1));
|
|
7907
8030
|
const ConstructedPolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7908
8031
|
? { register: () => {}, unregister: () => {} }
|
|
7909
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr
|
|
8032
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr, 1));
|
|
7910
8033
|
const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7911
8034
|
? { register: () => {}, unregister: () => {} }
|
|
7912
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr
|
|
8035
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr, 1));
|
|
7913
8036
|
const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7914
8037
|
? { register: () => {}, unregister: () => {} }
|
|
7915
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr
|
|
8038
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
|
|
7916
8039
|
const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7917
8040
|
? { register: () => {}, unregister: () => {} }
|
|
7918
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr
|
|
8041
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
|
|
7919
8042
|
const ElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7920
8043
|
? { register: () => {}, unregister: () => {} }
|
|
7921
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr
|
|
8044
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr, 1));
|
|
7922
8045
|
const EllipsoidGeodesicFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7923
8046
|
? { register: () => {}, unregister: () => {} }
|
|
7924
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr
|
|
8047
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr, 1));
|
|
7925
8048
|
const EncodedVec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
7926
8049
|
? { register: () => {}, unregister: () => {} }
|
|
7927
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr
|
|
8050
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr, 1));
|
|
7928
8051
|
const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
7929
8052
|
? { register: () => {}, unregister: () => {} }
|
|
7930
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr
|
|
8053
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr, 1));
|
|
7931
8054
|
const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7932
8055
|
? { register: () => {}, unregister: () => {} }
|
|
7933
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr
|
|
8056
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
|
|
7934
8057
|
const GeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7935
8058
|
? { register: () => {}, unregister: () => {} }
|
|
7936
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr
|
|
8059
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr, 1));
|
|
7937
8060
|
const GlobeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7938
8061
|
? { register: () => {}, unregister: () => {} }
|
|
7939
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr
|
|
8062
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr, 1));
|
|
7940
8063
|
const HillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7941
8064
|
? { register: () => {}, unregister: () => {} }
|
|
7942
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr
|
|
8065
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr, 1));
|
|
7943
8066
|
const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7944
8067
|
? { register: () => {}, unregister: () => {} }
|
|
7945
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr
|
|
8068
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr, 1));
|
|
7946
8069
|
const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7947
8070
|
? { register: () => {}, unregister: () => {} }
|
|
7948
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr
|
|
8071
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
|
|
7949
8072
|
const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7950
8073
|
? { register: () => {}, unregister: () => {} }
|
|
7951
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr
|
|
8074
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr, 1));
|
|
7952
8075
|
const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7953
8076
|
? { register: () => {}, unregister: () => {} }
|
|
7954
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr
|
|
8077
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
|
|
7955
8078
|
const OverscaledTileHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7956
8079
|
? { register: () => {}, unregister: () => {} }
|
|
7957
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr
|
|
8080
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr, 1));
|
|
7958
8081
|
const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7959
8082
|
? { register: () => {}, unregister: () => {} }
|
|
7960
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr
|
|
8083
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
|
|
7961
8084
|
const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7962
8085
|
? { register: () => {}, unregister: () => {} }
|
|
7963
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr
|
|
8086
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
|
|
7964
8087
|
const PolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7965
8088
|
? { register: () => {}, unregister: () => {} }
|
|
7966
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr
|
|
8089
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr, 1));
|
|
7967
8090
|
const PolygonGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7968
8091
|
? { register: () => {}, unregister: () => {} }
|
|
7969
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr
|
|
8092
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr, 1));
|
|
7970
8093
|
const PolygonInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7971
8094
|
? { register: () => {}, unregister: () => {} }
|
|
7972
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr
|
|
8095
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr, 1));
|
|
7973
8096
|
const PolygonMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7974
8097
|
? { register: () => {}, unregister: () => {} }
|
|
7975
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr
|
|
8098
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr, 1));
|
|
7976
8099
|
const PolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7977
8100
|
? { register: () => {}, unregister: () => {} }
|
|
7978
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr
|
|
8101
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr, 1));
|
|
7979
8102
|
const PolylineGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7980
8103
|
? { register: () => {}, unregister: () => {} }
|
|
7981
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr
|
|
8104
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr, 1));
|
|
7982
8105
|
const PolylineInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7983
8106
|
? { register: () => {}, unregister: () => {} }
|
|
7984
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr
|
|
8107
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr, 1));
|
|
7985
8108
|
const PolylineMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7986
8109
|
? { register: () => {}, unregister: () => {} }
|
|
7987
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr
|
|
8110
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr, 1));
|
|
7988
8111
|
const RasterMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7989
8112
|
? { register: () => {}, unregister: () => {} }
|
|
7990
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr
|
|
8113
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr, 1));
|
|
7991
8114
|
const RasterTileInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7992
8115
|
? { register: () => {}, unregister: () => {} }
|
|
7993
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr
|
|
8116
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr, 1));
|
|
7994
8117
|
const RayFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7995
8118
|
? { register: () => {}, unregister: () => {} }
|
|
7996
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr
|
|
8119
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr, 1));
|
|
7997
8120
|
const ReturnedConstructedTerrainMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7998
8121
|
? { register: () => {}, unregister: () => {} }
|
|
7999
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr
|
|
8122
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr, 1));
|
|
8000
8123
|
const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8001
8124
|
? { register: () => {}, unregister: () => {} }
|
|
8002
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr
|
|
8125
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
|
|
8003
8126
|
const TextMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8004
8127
|
? { register: () => {}, unregister: () => {} }
|
|
8005
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr
|
|
8128
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr, 1));
|
|
8006
8129
|
const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8007
8130
|
? { register: () => {}, unregister: () => {} }
|
|
8008
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr
|
|
8131
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr, 1));
|
|
8009
8132
|
const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8010
8133
|
? { register: () => {}, unregister: () => {} }
|
|
8011
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr
|
|
8134
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));
|
|
8012
8135
|
const TileXYZFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8013
8136
|
? { register: () => {}, unregister: () => {} }
|
|
8014
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr
|
|
8137
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr, 1));
|
|
8015
8138
|
const TransferableHierarchyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8016
8139
|
? { register: () => {}, unregister: () => {} }
|
|
8017
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr
|
|
8140
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr, 1));
|
|
8018
8141
|
const TransferableHolesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8019
8142
|
? { register: () => {}, unregister: () => {} }
|
|
8020
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr
|
|
8143
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr, 1));
|
|
8021
8144
|
const TransferableParsedMvtResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8022
8145
|
? { register: () => {}, unregister: () => {} }
|
|
8023
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr
|
|
8146
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr, 1));
|
|
8024
8147
|
const TransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8025
8148
|
? { register: () => {}, unregister: () => {} }
|
|
8026
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr
|
|
8149
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr, 1));
|
|
8027
8150
|
const TransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8028
8151
|
? { register: () => {}, unregister: () => {} }
|
|
8029
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr
|
|
8152
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr, 1));
|
|
8030
8153
|
const TransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8031
8154
|
? { register: () => {}, unregister: () => {} }
|
|
8032
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr
|
|
8155
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr, 1));
|
|
8033
8156
|
const UintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8034
8157
|
? { register: () => {}, unregister: () => {} }
|
|
8035
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr
|
|
8158
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr, 1));
|
|
8036
8159
|
const UpsamplableTerrainGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8037
8160
|
? { register: () => {}, unregister: () => {} }
|
|
8038
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr
|
|
8161
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr, 1));
|
|
8039
8162
|
const Vec2Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
8040
8163
|
? { register: () => {}, unregister: () => {} }
|
|
8041
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr
|
|
8164
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr, 1));
|
|
8042
8165
|
const Vec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
8043
8166
|
? { register: () => {}, unregister: () => {} }
|
|
8044
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr
|
|
8167
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr, 1));
|
|
8045
8168
|
const WindingOrderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8046
8169
|
? { register: () => {}, unregister: () => {} }
|
|
8047
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr
|
|
8170
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr, 1));
|
|
8048
8171
|
const WindowFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8049
8172
|
? { register: () => {}, unregister: () => {} }
|
|
8050
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr
|
|
8173
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr, 1));
|
|
8051
8174
|
|
|
8052
8175
|
function addToExternrefTable0(obj) {
|
|
8053
8176
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -8182,8 +8305,7 @@ function getFloat64ArrayMemory0() {
|
|
|
8182
8305
|
}
|
|
8183
8306
|
|
|
8184
8307
|
function getStringFromWasm0(ptr, len) {
|
|
8185
|
-
|
|
8186
|
-
return decodeText(ptr, len);
|
|
8308
|
+
return decodeText(ptr >>> 0, len);
|
|
8187
8309
|
}
|
|
8188
8310
|
|
|
8189
8311
|
let cachedUint32ArrayMemory0 = null;
|
|
@@ -8325,8 +8447,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
8325
8447
|
|
|
8326
8448
|
let WASM_VECTOR_LEN = 0;
|
|
8327
8449
|
|
|
8328
|
-
let wasmModule, wasm;
|
|
8450
|
+
let wasmModule, wasmInstance, wasm;
|
|
8329
8451
|
function __wbg_finalize_init(instance, module) {
|
|
8452
|
+
wasmInstance = instance;
|
|
8330
8453
|
wasm = instance.exports;
|
|
8331
8454
|
wasmModule = module;
|
|
8332
8455
|
cachedDataViewMemory0 = null;
|