@navaramap/engine-api 0.0.0 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/navara_wasm_api.d.ts +277 -177
- package/navara_wasm_api.js +477 -353
- package/navara_wasm_api_bg.wasm +0 -0
- package/package.json +2 -2
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
|
}
|
|
@@ -2264,6 +2296,18 @@ export class Globe {
|
|
|
2264
2296
|
const ret = wasm.__wbg_get_globe_hideUnderground(this.__wbg_ptr);
|
|
2265
2297
|
return ret !== 0;
|
|
2266
2298
|
}
|
|
2299
|
+
/**
|
|
2300
|
+
* Whether the globe tiles with the Geographic scheme (quantized-mesh
|
|
2301
|
+
* terrain) rather than the default WebMercator. Engine-set output — the
|
|
2302
|
+
* web renderer selects its raster drape pipeline (baked vs direct) from
|
|
2303
|
+
* it at tile-mesh creation; ignored on input (the scheme is dictated by
|
|
2304
|
+
* the terrain source, not configurable).
|
|
2305
|
+
* @returns {boolean}
|
|
2306
|
+
*/
|
|
2307
|
+
get isGeographicTiling() {
|
|
2308
|
+
const ret = wasm.__wbg_get_globe_isGeographicTiling(this.__wbg_ptr);
|
|
2309
|
+
return ret !== 0;
|
|
2310
|
+
}
|
|
2267
2311
|
/**
|
|
2268
2312
|
* Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
|
|
2269
2313
|
* @returns {number}
|
|
@@ -2328,7 +2372,7 @@ export class Globe {
|
|
|
2328
2372
|
const ptr0 = passArrayF32ToWasm0(elevation_colormap, wasm.__wbindgen_malloc);
|
|
2329
2373
|
const len0 = WASM_VECTOR_LEN;
|
|
2330
2374
|
const ret = wasm.globe_new(max_sse, segments, color, hide_underground, use_normal, transparent, opacity, wireframe, ptr0, len0);
|
|
2331
|
-
this.__wbg_ptr = ret
|
|
2375
|
+
this.__wbg_ptr = ret;
|
|
2332
2376
|
GlobeFinalization.register(this, this.__wbg_ptr, this);
|
|
2333
2377
|
return this;
|
|
2334
2378
|
}
|
|
@@ -2356,6 +2400,17 @@ export class Globe {
|
|
|
2356
2400
|
set hideUnderground(arg0) {
|
|
2357
2401
|
wasm.__wbg_set_globe_hideUnderground(this.__wbg_ptr, arg0);
|
|
2358
2402
|
}
|
|
2403
|
+
/**
|
|
2404
|
+
* Whether the globe tiles with the Geographic scheme (quantized-mesh
|
|
2405
|
+
* terrain) rather than the default WebMercator. Engine-set output — the
|
|
2406
|
+
* web renderer selects its raster drape pipeline (baked vs direct) from
|
|
2407
|
+
* it at tile-mesh creation; ignored on input (the scheme is dictated by
|
|
2408
|
+
* the terrain source, not configurable).
|
|
2409
|
+
* @param {boolean} arg0
|
|
2410
|
+
*/
|
|
2411
|
+
set isGeographicTiling(arg0) {
|
|
2412
|
+
wasm.__wbg_set_globe_isGeographicTiling(this.__wbg_ptr, arg0);
|
|
2413
|
+
}
|
|
2359
2414
|
/**
|
|
2360
2415
|
* Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
|
|
2361
2416
|
* @param {number} arg0
|
|
@@ -2423,21 +2478,20 @@ export class HillshadeMaterial {
|
|
|
2423
2478
|
*/
|
|
2424
2479
|
get exaggeration() {
|
|
2425
2480
|
const ret = wasm.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);
|
|
2426
|
-
return ret ===
|
|
2481
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2427
2482
|
}
|
|
2428
2483
|
/**
|
|
2429
2484
|
* Exaggeration factor for hillshade effect (default: 1.0)
|
|
2430
2485
|
* @param {number | null} [arg0]
|
|
2431
2486
|
*/
|
|
2432
2487
|
set exaggeration(arg0) {
|
|
2433
|
-
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));
|
|
2434
2489
|
}
|
|
2435
2490
|
}
|
|
2436
2491
|
if (Symbol.dispose) HillshadeMaterial.prototype[Symbol.dispose] = HillshadeMaterial.prototype.free;
|
|
2437
2492
|
|
|
2438
2493
|
export class LLE {
|
|
2439
2494
|
static __wrap(ptr) {
|
|
2440
|
-
ptr = ptr >>> 0;
|
|
2441
2495
|
const obj = Object.create(LLE.prototype);
|
|
2442
2496
|
obj.__wbg_ptr = ptr;
|
|
2443
2497
|
LLEFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2481,7 +2535,7 @@ export class LLE {
|
|
|
2481
2535
|
*/
|
|
2482
2536
|
constructor(lat, lng, height) {
|
|
2483
2537
|
const ret = wasm.lle_new(lat, lng, height);
|
|
2484
|
-
this.__wbg_ptr = ret
|
|
2538
|
+
this.__wbg_ptr = ret;
|
|
2485
2539
|
LLEFinalization.register(this, this.__wbg_ptr, this);
|
|
2486
2540
|
return this;
|
|
2487
2541
|
}
|
|
@@ -2508,7 +2562,6 @@ if (Symbol.dispose) LLE.prototype[Symbol.dispose] = LLE.prototype.free;
|
|
|
2508
2562
|
|
|
2509
2563
|
export class ModelInternalMaterial {
|
|
2510
2564
|
static __wrap(ptr) {
|
|
2511
|
-
ptr = ptr >>> 0;
|
|
2512
2565
|
const obj = Object.create(ModelInternalMaterial.prototype);
|
|
2513
2566
|
obj.__wbg_ptr = ptr;
|
|
2514
2567
|
ModelInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2603,7 +2656,7 @@ export class ModelMaterial {
|
|
|
2603
2656
|
*/
|
|
2604
2657
|
get animationSpeed() {
|
|
2605
2658
|
const ret = wasm.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);
|
|
2606
|
-
return ret ===
|
|
2659
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2607
2660
|
}
|
|
2608
2661
|
/**
|
|
2609
2662
|
* @returns {boolean | undefined}
|
|
@@ -2631,7 +2684,7 @@ export class ModelMaterial {
|
|
|
2631
2684
|
*/
|
|
2632
2685
|
get color() {
|
|
2633
2686
|
const ret = wasm.__wbg_get_modelmaterial_color(this.__wbg_ptr);
|
|
2634
|
-
return ret ===
|
|
2687
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2635
2688
|
}
|
|
2636
2689
|
/**
|
|
2637
2690
|
* Crease angle (in radians) used when `normals` is true. Defaults to 30°
|
|
@@ -2640,7 +2693,7 @@ export class ModelMaterial {
|
|
|
2640
2693
|
*/
|
|
2641
2694
|
get creaseNormalAngle() {
|
|
2642
2695
|
const ret = wasm.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);
|
|
2643
|
-
return ret ===
|
|
2696
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2644
2697
|
}
|
|
2645
2698
|
/**
|
|
2646
2699
|
* Enable writing to depth buffer
|
|
@@ -2669,7 +2722,7 @@ export class ModelMaterial {
|
|
|
2669
2722
|
*/
|
|
2670
2723
|
get emissiveColor() {
|
|
2671
2724
|
const ret = wasm.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);
|
|
2672
|
-
return ret ===
|
|
2725
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2673
2726
|
}
|
|
2674
2727
|
/**
|
|
2675
2728
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -2677,35 +2730,35 @@ export class ModelMaterial {
|
|
|
2677
2730
|
*/
|
|
2678
2731
|
get emissiveIntensity() {
|
|
2679
2732
|
const ret = wasm.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
2680
|
-
return ret ===
|
|
2733
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2681
2734
|
}
|
|
2682
2735
|
/**
|
|
2683
2736
|
* @returns {number | undefined}
|
|
2684
2737
|
*/
|
|
2685
2738
|
get height() {
|
|
2686
2739
|
const ret = wasm.__wbg_get_modelmaterial_height(this.__wbg_ptr);
|
|
2687
|
-
return ret ===
|
|
2740
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2688
2741
|
}
|
|
2689
2742
|
/**
|
|
2690
2743
|
* @returns {number | undefined}
|
|
2691
2744
|
*/
|
|
2692
2745
|
get ior() {
|
|
2693
2746
|
const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
|
|
2694
|
-
return ret ===
|
|
2747
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2695
2748
|
}
|
|
2696
2749
|
/**
|
|
2697
2750
|
* @returns {number | undefined}
|
|
2698
2751
|
*/
|
|
2699
2752
|
get maxSse() {
|
|
2700
2753
|
const ret = wasm.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);
|
|
2701
|
-
return ret ===
|
|
2754
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2702
2755
|
}
|
|
2703
2756
|
/**
|
|
2704
2757
|
* @returns {number | undefined}
|
|
2705
2758
|
*/
|
|
2706
2759
|
get metalness() {
|
|
2707
2760
|
const ret = wasm.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);
|
|
2708
|
-
return ret ===
|
|
2761
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2709
2762
|
}
|
|
2710
2763
|
/**
|
|
2711
2764
|
* When true, recompute vertex normals using a creased-normals algorithm
|
|
@@ -2723,14 +2776,14 @@ export class ModelMaterial {
|
|
|
2723
2776
|
*/
|
|
2724
2777
|
get opacity() {
|
|
2725
2778
|
const ret = wasm.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);
|
|
2726
|
-
return ret ===
|
|
2779
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2727
2780
|
}
|
|
2728
2781
|
/**
|
|
2729
2782
|
* @returns {number | undefined}
|
|
2730
2783
|
*/
|
|
2731
2784
|
get pointSize() {
|
|
2732
2785
|
const ret = wasm.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);
|
|
2733
|
-
return ret ===
|
|
2786
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2734
2787
|
}
|
|
2735
2788
|
/**
|
|
2736
2789
|
* @returns {boolean | undefined}
|
|
@@ -2745,7 +2798,7 @@ export class ModelMaterial {
|
|
|
2745
2798
|
*/
|
|
2746
2799
|
get reflectivity() {
|
|
2747
2800
|
const ret = wasm.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);
|
|
2748
|
-
return ret ===
|
|
2801
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2749
2802
|
}
|
|
2750
2803
|
/**
|
|
2751
2804
|
* Reflectivity for post-process.
|
|
@@ -2753,14 +2806,14 @@ export class ModelMaterial {
|
|
|
2753
2806
|
*/
|
|
2754
2807
|
get roughness() {
|
|
2755
2808
|
const ret = wasm.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);
|
|
2756
|
-
return ret ===
|
|
2809
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2757
2810
|
}
|
|
2758
2811
|
/**
|
|
2759
2812
|
* @returns {number | undefined}
|
|
2760
2813
|
*/
|
|
2761
2814
|
get shininess() {
|
|
2762
2815
|
const ret = wasm.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);
|
|
2763
|
-
return ret ===
|
|
2816
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2764
2817
|
}
|
|
2765
2818
|
/**
|
|
2766
2819
|
* @returns {boolean | undefined}
|
|
@@ -2788,14 +2841,14 @@ export class ModelMaterial {
|
|
|
2788
2841
|
*/
|
|
2789
2842
|
get size() {
|
|
2790
2843
|
const ret = wasm.__wbg_get_modelmaterial_size(this.__wbg_ptr);
|
|
2791
|
-
return ret ===
|
|
2844
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2792
2845
|
}
|
|
2793
2846
|
/**
|
|
2794
2847
|
* @returns {number | undefined}
|
|
2795
2848
|
*/
|
|
2796
2849
|
get specularStrength() {
|
|
2797
2850
|
const ret = wasm.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);
|
|
2798
|
-
return ret ===
|
|
2851
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2799
2852
|
}
|
|
2800
2853
|
/**
|
|
2801
2854
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -2831,7 +2884,7 @@ export class ModelMaterial {
|
|
|
2831
2884
|
*/
|
|
2832
2885
|
get waterScaleNormal() {
|
|
2833
2886
|
const ret = wasm.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);
|
|
2834
|
-
return ret ===
|
|
2887
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2835
2888
|
}
|
|
2836
2889
|
/**
|
|
2837
2890
|
* Water wave speed.
|
|
@@ -2839,7 +2892,7 @@ export class ModelMaterial {
|
|
|
2839
2892
|
*/
|
|
2840
2893
|
get waterSpeed() {
|
|
2841
2894
|
const ret = wasm.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);
|
|
2842
|
-
return ret ===
|
|
2895
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2843
2896
|
}
|
|
2844
2897
|
/**
|
|
2845
2898
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -2872,7 +2925,7 @@ export class ModelMaterial {
|
|
|
2872
2925
|
* @param {number | null} [arg0]
|
|
2873
2926
|
*/
|
|
2874
2927
|
set animationSpeed(arg0) {
|
|
2875
|
-
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));
|
|
2876
2929
|
}
|
|
2877
2930
|
/**
|
|
2878
2931
|
* @param {boolean | null} [arg0]
|
|
@@ -2896,7 +2949,7 @@ export class ModelMaterial {
|
|
|
2896
2949
|
* @param {number | null} [arg0]
|
|
2897
2950
|
*/
|
|
2898
2951
|
set color(arg0) {
|
|
2899
|
-
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);
|
|
2900
2953
|
}
|
|
2901
2954
|
/**
|
|
2902
2955
|
* Crease angle (in radians) used when `normals` is true. Defaults to 30°
|
|
@@ -2904,7 +2957,7 @@ export class ModelMaterial {
|
|
|
2904
2957
|
* @param {number | null} [arg0]
|
|
2905
2958
|
*/
|
|
2906
2959
|
set creaseNormalAngle(arg0) {
|
|
2907
|
-
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));
|
|
2908
2961
|
}
|
|
2909
2962
|
/**
|
|
2910
2963
|
* Enable writing to depth buffer
|
|
@@ -2927,38 +2980,38 @@ export class ModelMaterial {
|
|
|
2927
2980
|
* @param {number | null} [arg0]
|
|
2928
2981
|
*/
|
|
2929
2982
|
set emissiveColor(arg0) {
|
|
2930
|
-
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);
|
|
2931
2984
|
}
|
|
2932
2985
|
/**
|
|
2933
2986
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
2934
2987
|
* @param {number | null} [arg0]
|
|
2935
2988
|
*/
|
|
2936
2989
|
set emissiveIntensity(arg0) {
|
|
2937
|
-
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));
|
|
2938
2991
|
}
|
|
2939
2992
|
/**
|
|
2940
2993
|
* @param {number | null} [arg0]
|
|
2941
2994
|
*/
|
|
2942
2995
|
set height(arg0) {
|
|
2943
|
-
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));
|
|
2944
2997
|
}
|
|
2945
2998
|
/**
|
|
2946
2999
|
* @param {number | null} [arg0]
|
|
2947
3000
|
*/
|
|
2948
3001
|
set ior(arg0) {
|
|
2949
|
-
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));
|
|
2950
3003
|
}
|
|
2951
3004
|
/**
|
|
2952
3005
|
* @param {number | null} [arg0]
|
|
2953
3006
|
*/
|
|
2954
3007
|
set maxSse(arg0) {
|
|
2955
|
-
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));
|
|
2956
3009
|
}
|
|
2957
3010
|
/**
|
|
2958
3011
|
* @param {number | null} [arg0]
|
|
2959
3012
|
*/
|
|
2960
3013
|
set metalness(arg0) {
|
|
2961
|
-
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));
|
|
2962
3015
|
}
|
|
2963
3016
|
/**
|
|
2964
3017
|
* When true, recompute vertex normals using a creased-normals algorithm
|
|
@@ -2974,13 +3027,13 @@ export class ModelMaterial {
|
|
|
2974
3027
|
* @param {number | null} [arg0]
|
|
2975
3028
|
*/
|
|
2976
3029
|
set opacity(arg0) {
|
|
2977
|
-
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));
|
|
2978
3031
|
}
|
|
2979
3032
|
/**
|
|
2980
3033
|
* @param {number | null} [arg0]
|
|
2981
3034
|
*/
|
|
2982
3035
|
set pointSize(arg0) {
|
|
2983
|
-
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));
|
|
2984
3037
|
}
|
|
2985
3038
|
/**
|
|
2986
3039
|
* @param {boolean | null} [arg0]
|
|
@@ -2993,20 +3046,20 @@ export class ModelMaterial {
|
|
|
2993
3046
|
* @param {number | null} [arg0]
|
|
2994
3047
|
*/
|
|
2995
3048
|
set reflectivity(arg0) {
|
|
2996
|
-
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));
|
|
2997
3050
|
}
|
|
2998
3051
|
/**
|
|
2999
3052
|
* Reflectivity for post-process.
|
|
3000
3053
|
* @param {number | null} [arg0]
|
|
3001
3054
|
*/
|
|
3002
3055
|
set roughness(arg0) {
|
|
3003
|
-
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));
|
|
3004
3057
|
}
|
|
3005
3058
|
/**
|
|
3006
3059
|
* @param {number | null} [arg0]
|
|
3007
3060
|
*/
|
|
3008
3061
|
set shininess(arg0) {
|
|
3009
|
-
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));
|
|
3010
3063
|
}
|
|
3011
3064
|
/**
|
|
3012
3065
|
* @param {boolean | null} [arg0]
|
|
@@ -3030,13 +3083,13 @@ export class ModelMaterial {
|
|
|
3030
3083
|
* @param {number | null} [arg0]
|
|
3031
3084
|
*/
|
|
3032
3085
|
set size(arg0) {
|
|
3033
|
-
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));
|
|
3034
3087
|
}
|
|
3035
3088
|
/**
|
|
3036
3089
|
* @param {number | null} [arg0]
|
|
3037
3090
|
*/
|
|
3038
3091
|
set specularStrength(arg0) {
|
|
3039
|
-
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));
|
|
3040
3093
|
}
|
|
3041
3094
|
/**
|
|
3042
3095
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -3065,14 +3118,14 @@ export class ModelMaterial {
|
|
|
3065
3118
|
* @param {number | null} [arg0]
|
|
3066
3119
|
*/
|
|
3067
3120
|
set waterScaleNormal(arg0) {
|
|
3068
|
-
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));
|
|
3069
3122
|
}
|
|
3070
3123
|
/**
|
|
3071
3124
|
* Water wave speed.
|
|
3072
3125
|
* @param {number | null} [arg0]
|
|
3073
3126
|
*/
|
|
3074
3127
|
set waterSpeed(arg0) {
|
|
3075
|
-
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));
|
|
3076
3129
|
}
|
|
3077
3130
|
/**
|
|
3078
3131
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -3153,7 +3206,6 @@ if (Symbol.dispose) OverscaledTileHandle.prototype[Symbol.dispose] = OverscaledT
|
|
|
3153
3206
|
|
|
3154
3207
|
export class Plane {
|
|
3155
3208
|
static __wrap(ptr) {
|
|
3156
|
-
ptr = ptr >>> 0;
|
|
3157
3209
|
const obj = Object.create(Plane.prototype);
|
|
3158
3210
|
obj.__wbg_ptr = ptr;
|
|
3159
3211
|
PlaneFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3232,7 +3284,26 @@ export class PointMaterial {
|
|
|
3232
3284
|
*/
|
|
3233
3285
|
get color() {
|
|
3234
3286
|
const ret = wasm.__wbg_get_pointmaterial_color(this.__wbg_ptr);
|
|
3235
|
-
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;
|
|
3236
3307
|
}
|
|
3237
3308
|
/**
|
|
3238
3309
|
* @returns {boolean | undefined}
|
|
@@ -3260,7 +3331,7 @@ export class PointMaterial {
|
|
|
3260
3331
|
*/
|
|
3261
3332
|
get emissiveColor() {
|
|
3262
3333
|
const ret = wasm.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);
|
|
3263
|
-
return ret ===
|
|
3334
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3264
3335
|
}
|
|
3265
3336
|
/**
|
|
3266
3337
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -3268,14 +3339,14 @@ export class PointMaterial {
|
|
|
3268
3339
|
*/
|
|
3269
3340
|
get emissiveIntensity() {
|
|
3270
3341
|
const ret = wasm.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
3271
|
-
return ret ===
|
|
3342
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3272
3343
|
}
|
|
3273
3344
|
/**
|
|
3274
3345
|
* @returns {number | undefined}
|
|
3275
3346
|
*/
|
|
3276
3347
|
get height() {
|
|
3277
3348
|
const ret = wasm.__wbg_get_pointmaterial_height(this.__wbg_ptr);
|
|
3278
|
-
return ret ===
|
|
3349
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3279
3350
|
}
|
|
3280
3351
|
/**
|
|
3281
3352
|
* Avoid overlapping with the globe surface.
|
|
@@ -3290,7 +3361,7 @@ export class PointMaterial {
|
|
|
3290
3361
|
*/
|
|
3291
3362
|
get opacity() {
|
|
3292
3363
|
const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
|
|
3293
|
-
return ret ===
|
|
3364
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3294
3365
|
}
|
|
3295
3366
|
/**
|
|
3296
3367
|
* @returns {boolean | undefined}
|
|
@@ -3313,7 +3384,7 @@ export class PointMaterial {
|
|
|
3313
3384
|
*/
|
|
3314
3385
|
get size() {
|
|
3315
3386
|
const ret = wasm.__wbg_get_pointmaterial_size(this.__wbg_ptr);
|
|
3316
|
-
return ret ===
|
|
3387
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3317
3388
|
}
|
|
3318
3389
|
/**
|
|
3319
3390
|
* @returns {boolean | undefined}
|
|
@@ -3345,7 +3416,24 @@ export class PointMaterial {
|
|
|
3345
3416
|
* @param {number | null} [arg0]
|
|
3346
3417
|
*/
|
|
3347
3418
|
set color(arg0) {
|
|
3348
|
-
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);
|
|
3349
3437
|
}
|
|
3350
3438
|
/**
|
|
3351
3439
|
* @param {boolean | null} [arg0]
|
|
@@ -3367,20 +3455,20 @@ export class PointMaterial {
|
|
|
3367
3455
|
* @param {number | null} [arg0]
|
|
3368
3456
|
*/
|
|
3369
3457
|
set emissiveColor(arg0) {
|
|
3370
|
-
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);
|
|
3371
3459
|
}
|
|
3372
3460
|
/**
|
|
3373
3461
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
3374
3462
|
* @param {number | null} [arg0]
|
|
3375
3463
|
*/
|
|
3376
3464
|
set emissiveIntensity(arg0) {
|
|
3377
|
-
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));
|
|
3378
3466
|
}
|
|
3379
3467
|
/**
|
|
3380
3468
|
* @param {number | null} [arg0]
|
|
3381
3469
|
*/
|
|
3382
3470
|
set height(arg0) {
|
|
3383
|
-
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));
|
|
3384
3472
|
}
|
|
3385
3473
|
/**
|
|
3386
3474
|
* Avoid overlapping with the globe surface.
|
|
@@ -3393,7 +3481,7 @@ export class PointMaterial {
|
|
|
3393
3481
|
* @param {number | null} [arg0]
|
|
3394
3482
|
*/
|
|
3395
3483
|
set opacity(arg0) {
|
|
3396
|
-
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));
|
|
3397
3485
|
}
|
|
3398
3486
|
/**
|
|
3399
3487
|
* @param {boolean | null} [arg0]
|
|
@@ -3413,7 +3501,7 @@ export class PointMaterial {
|
|
|
3413
3501
|
* @param {number | null} [arg0]
|
|
3414
3502
|
*/
|
|
3415
3503
|
set size(arg0) {
|
|
3416
|
-
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));
|
|
3417
3505
|
}
|
|
3418
3506
|
/**
|
|
3419
3507
|
* @param {boolean | null} [arg0]
|
|
@@ -3657,7 +3745,6 @@ if (Symbol.dispose) PolygonGeometryAttributes.prototype[Symbol.dispose] = Polygo
|
|
|
3657
3745
|
|
|
3658
3746
|
export class PolygonInternalMaterial {
|
|
3659
3747
|
static __wrap(ptr) {
|
|
3660
|
-
ptr = ptr >>> 0;
|
|
3661
3748
|
const obj = Object.create(PolygonInternalMaterial.prototype);
|
|
3662
3749
|
obj.__wbg_ptr = ptr;
|
|
3663
3750
|
PolygonInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3737,7 +3824,7 @@ export class PolygonMaterial {
|
|
|
3737
3824
|
*/
|
|
3738
3825
|
get color() {
|
|
3739
3826
|
const ret = wasm.__wbg_get_polygonmaterial_color(this.__wbg_ptr);
|
|
3740
|
-
return ret ===
|
|
3827
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3741
3828
|
}
|
|
3742
3829
|
/**
|
|
3743
3830
|
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
@@ -3758,7 +3845,7 @@ export class PolygonMaterial {
|
|
|
3758
3845
|
*/
|
|
3759
3846
|
get emissiveColor() {
|
|
3760
3847
|
const ret = wasm.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);
|
|
3761
|
-
return ret ===
|
|
3848
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3762
3849
|
}
|
|
3763
3850
|
/**
|
|
3764
3851
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -3766,28 +3853,28 @@ export class PolygonMaterial {
|
|
|
3766
3853
|
*/
|
|
3767
3854
|
get emissiveIntensity() {
|
|
3768
3855
|
const ret = wasm.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
3769
|
-
return ret ===
|
|
3856
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3770
3857
|
}
|
|
3771
3858
|
/**
|
|
3772
3859
|
* @returns {number | undefined}
|
|
3773
3860
|
*/
|
|
3774
3861
|
get extrudedHeight() {
|
|
3775
3862
|
const ret = wasm.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);
|
|
3776
|
-
return ret ===
|
|
3863
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3777
3864
|
}
|
|
3778
3865
|
/**
|
|
3779
3866
|
* @returns {number | undefined}
|
|
3780
3867
|
*/
|
|
3781
3868
|
get height() {
|
|
3782
3869
|
const ret = wasm.__wbg_get_polygonmaterial_height(this.__wbg_ptr);
|
|
3783
|
-
return ret ===
|
|
3870
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3784
3871
|
}
|
|
3785
3872
|
/**
|
|
3786
3873
|
* @returns {number | undefined}
|
|
3787
3874
|
*/
|
|
3788
3875
|
get ior() {
|
|
3789
3876
|
const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
|
|
3790
|
-
return ret ===
|
|
3877
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3791
3878
|
}
|
|
3792
3879
|
/**
|
|
3793
3880
|
* Need to enable `transparent`.
|
|
@@ -3795,7 +3882,7 @@ export class PolygonMaterial {
|
|
|
3795
3882
|
*/
|
|
3796
3883
|
get opacity() {
|
|
3797
3884
|
const ret = wasm.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);
|
|
3798
|
-
return ret ===
|
|
3885
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3799
3886
|
}
|
|
3800
3887
|
/**
|
|
3801
3888
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -3803,7 +3890,7 @@ export class PolygonMaterial {
|
|
|
3803
3890
|
*/
|
|
3804
3891
|
get outlineColor() {
|
|
3805
3892
|
const ret = wasm.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);
|
|
3806
|
-
return ret ===
|
|
3893
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3807
3894
|
}
|
|
3808
3895
|
/**
|
|
3809
3896
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -3819,7 +3906,7 @@ export class PolygonMaterial {
|
|
|
3819
3906
|
*/
|
|
3820
3907
|
get outlineWidth() {
|
|
3821
3908
|
const ret = wasm.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);
|
|
3822
|
-
return ret ===
|
|
3909
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3823
3910
|
}
|
|
3824
3911
|
/**
|
|
3825
3912
|
* Whether to compute outline geometry. Only effective at initial load time.
|
|
@@ -3851,7 +3938,7 @@ export class PolygonMaterial {
|
|
|
3851
3938
|
*/
|
|
3852
3939
|
get reflectivity() {
|
|
3853
3940
|
const ret = wasm.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);
|
|
3854
|
-
return ret ===
|
|
3941
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3855
3942
|
}
|
|
3856
3943
|
/**
|
|
3857
3944
|
* Reflectivity for post-process.
|
|
@@ -3859,14 +3946,14 @@ export class PolygonMaterial {
|
|
|
3859
3946
|
*/
|
|
3860
3947
|
get roughness() {
|
|
3861
3948
|
const ret = wasm.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);
|
|
3862
|
-
return ret ===
|
|
3949
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3863
3950
|
}
|
|
3864
3951
|
/**
|
|
3865
3952
|
* @returns {number | undefined}
|
|
3866
3953
|
*/
|
|
3867
3954
|
get shininess() {
|
|
3868
3955
|
const ret = wasm.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);
|
|
3869
|
-
return ret ===
|
|
3956
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3870
3957
|
}
|
|
3871
3958
|
/**
|
|
3872
3959
|
* @returns {boolean | undefined}
|
|
@@ -3880,7 +3967,7 @@ export class PolygonMaterial {
|
|
|
3880
3967
|
*/
|
|
3881
3968
|
get specularStrength() {
|
|
3882
3969
|
const ret = wasm.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);
|
|
3883
|
-
return ret ===
|
|
3970
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3884
3971
|
}
|
|
3885
3972
|
/**
|
|
3886
3973
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -3925,7 +4012,7 @@ export class PolygonMaterial {
|
|
|
3925
4012
|
*/
|
|
3926
4013
|
get waterScaleNormal() {
|
|
3927
4014
|
const ret = wasm.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);
|
|
3928
|
-
return ret ===
|
|
4015
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3929
4016
|
}
|
|
3930
4017
|
/**
|
|
3931
4018
|
* Water wave speed.
|
|
@@ -3933,7 +4020,7 @@ export class PolygonMaterial {
|
|
|
3933
4020
|
*/
|
|
3934
4021
|
get waterSpeed() {
|
|
3935
4022
|
const ret = wasm.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);
|
|
3936
|
-
return ret ===
|
|
4023
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3937
4024
|
}
|
|
3938
4025
|
/**
|
|
3939
4026
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -3970,8 +4057,8 @@ export class PolygonMaterial {
|
|
|
3970
4057
|
_assertClass(__internal__, PolygonInternalMaterial);
|
|
3971
4058
|
ptr0 = __internal__.__destroy_into_raw();
|
|
3972
4059
|
}
|
|
3973
|
-
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) ?
|
|
3974
|
-
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;
|
|
3975
4062
|
PolygonMaterialFinalization.register(this, this.__wbg_ptr, this);
|
|
3976
4063
|
return this;
|
|
3977
4064
|
}
|
|
@@ -4008,7 +4095,7 @@ export class PolygonMaterial {
|
|
|
4008
4095
|
* @param {number | null} [arg0]
|
|
4009
4096
|
*/
|
|
4010
4097
|
set color(arg0) {
|
|
4011
|
-
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);
|
|
4012
4099
|
}
|
|
4013
4100
|
/**
|
|
4014
4101
|
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
@@ -4024,46 +4111,46 @@ export class PolygonMaterial {
|
|
|
4024
4111
|
* @param {number | null} [arg0]
|
|
4025
4112
|
*/
|
|
4026
4113
|
set emissiveColor(arg0) {
|
|
4027
|
-
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);
|
|
4028
4115
|
}
|
|
4029
4116
|
/**
|
|
4030
4117
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
4031
4118
|
* @param {number | null} [arg0]
|
|
4032
4119
|
*/
|
|
4033
4120
|
set emissiveIntensity(arg0) {
|
|
4034
|
-
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));
|
|
4035
4122
|
}
|
|
4036
4123
|
/**
|
|
4037
4124
|
* @param {number | null} [arg0]
|
|
4038
4125
|
*/
|
|
4039
4126
|
set extrudedHeight(arg0) {
|
|
4040
|
-
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));
|
|
4041
4128
|
}
|
|
4042
4129
|
/**
|
|
4043
4130
|
* @param {number | null} [arg0]
|
|
4044
4131
|
*/
|
|
4045
4132
|
set height(arg0) {
|
|
4046
|
-
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));
|
|
4047
4134
|
}
|
|
4048
4135
|
/**
|
|
4049
4136
|
* @param {number | null} [arg0]
|
|
4050
4137
|
*/
|
|
4051
4138
|
set ior(arg0) {
|
|
4052
|
-
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));
|
|
4053
4140
|
}
|
|
4054
4141
|
/**
|
|
4055
4142
|
* Need to enable `transparent`.
|
|
4056
4143
|
* @param {number | null} [arg0]
|
|
4057
4144
|
*/
|
|
4058
4145
|
set opacity(arg0) {
|
|
4059
|
-
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));
|
|
4060
4147
|
}
|
|
4061
4148
|
/**
|
|
4062
4149
|
* Currently, this property is supported only in GeoJSON.
|
|
4063
4150
|
* @param {number | null} [arg0]
|
|
4064
4151
|
*/
|
|
4065
4152
|
set outlineColor(arg0) {
|
|
4066
|
-
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);
|
|
4067
4154
|
}
|
|
4068
4155
|
/**
|
|
4069
4156
|
* Currently, this property is supported only in GeoJSON.
|
|
@@ -4077,7 +4164,7 @@ export class PolygonMaterial {
|
|
|
4077
4164
|
* @param {number | null} [arg0]
|
|
4078
4165
|
*/
|
|
4079
4166
|
set outlineWidth(arg0) {
|
|
4080
|
-
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));
|
|
4081
4168
|
}
|
|
4082
4169
|
/**
|
|
4083
4170
|
* Whether to compute outline geometry. Only effective at initial load time.
|
|
@@ -4105,20 +4192,20 @@ export class PolygonMaterial {
|
|
|
4105
4192
|
* @param {number | null} [arg0]
|
|
4106
4193
|
*/
|
|
4107
4194
|
set reflectivity(arg0) {
|
|
4108
|
-
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));
|
|
4109
4196
|
}
|
|
4110
4197
|
/**
|
|
4111
4198
|
* Reflectivity for post-process.
|
|
4112
4199
|
* @param {number | null} [arg0]
|
|
4113
4200
|
*/
|
|
4114
4201
|
set roughness(arg0) {
|
|
4115
|
-
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));
|
|
4116
4203
|
}
|
|
4117
4204
|
/**
|
|
4118
4205
|
* @param {number | null} [arg0]
|
|
4119
4206
|
*/
|
|
4120
4207
|
set shininess(arg0) {
|
|
4121
|
-
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));
|
|
4122
4209
|
}
|
|
4123
4210
|
/**
|
|
4124
4211
|
* @param {boolean | null} [arg0]
|
|
@@ -4130,7 +4217,7 @@ export class PolygonMaterial {
|
|
|
4130
4217
|
* @param {number | null} [arg0]
|
|
4131
4218
|
*/
|
|
4132
4219
|
set specularStrength(arg0) {
|
|
4133
|
-
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));
|
|
4134
4221
|
}
|
|
4135
4222
|
/**
|
|
4136
4223
|
* Enabling this value allows using `shininess` and `specular_strength`.
|
|
@@ -4170,14 +4257,14 @@ export class PolygonMaterial {
|
|
|
4170
4257
|
* @param {number | null} [arg0]
|
|
4171
4258
|
*/
|
|
4172
4259
|
set waterScaleNormal(arg0) {
|
|
4173
|
-
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));
|
|
4174
4261
|
}
|
|
4175
4262
|
/**
|
|
4176
4263
|
* Water wave speed.
|
|
4177
4264
|
* @param {number | null} [arg0]
|
|
4178
4265
|
*/
|
|
4179
4266
|
set waterSpeed(arg0) {
|
|
4180
|
-
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));
|
|
4181
4268
|
}
|
|
4182
4269
|
/**
|
|
4183
4270
|
* Apply a water material on the polygon. It might slow down the loading of the mesh.
|
|
@@ -4624,7 +4711,6 @@ if (Symbol.dispose) PolylineGeometryAttributes.prototype[Symbol.dispose] = Polyl
|
|
|
4624
4711
|
|
|
4625
4712
|
export class PolylineInternalMaterial {
|
|
4626
4713
|
static __wrap(ptr) {
|
|
4627
|
-
ptr = ptr >>> 0;
|
|
4628
4714
|
const obj = Object.create(PolylineInternalMaterial.prototype);
|
|
4629
4715
|
obj.__wbg_ptr = ptr;
|
|
4630
4716
|
PolylineInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4697,7 +4783,7 @@ export class PolylineMaterial {
|
|
|
4697
4783
|
*/
|
|
4698
4784
|
get color() {
|
|
4699
4785
|
const ret = wasm.__wbg_get_polylinematerial_color(this.__wbg_ptr);
|
|
4700
|
-
return ret ===
|
|
4786
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4701
4787
|
}
|
|
4702
4788
|
/**
|
|
4703
4789
|
* Enable writing to depth buffer
|
|
@@ -4726,7 +4812,7 @@ export class PolylineMaterial {
|
|
|
4726
4812
|
*/
|
|
4727
4813
|
get emissiveColor() {
|
|
4728
4814
|
const ret = wasm.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);
|
|
4729
|
-
return ret ===
|
|
4815
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4730
4816
|
}
|
|
4731
4817
|
/**
|
|
4732
4818
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
@@ -4734,14 +4820,14 @@ export class PolylineMaterial {
|
|
|
4734
4820
|
*/
|
|
4735
4821
|
get emissiveIntensity() {
|
|
4736
4822
|
const ret = wasm.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);
|
|
4737
|
-
return ret ===
|
|
4823
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4738
4824
|
}
|
|
4739
4825
|
/**
|
|
4740
4826
|
* @returns {number | undefined}
|
|
4741
4827
|
*/
|
|
4742
4828
|
get height() {
|
|
4743
4829
|
const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
|
|
4744
|
-
return ret ===
|
|
4830
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4745
4831
|
}
|
|
4746
4832
|
/**
|
|
4747
4833
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
@@ -4750,7 +4836,7 @@ export class PolylineMaterial {
|
|
|
4750
4836
|
*/
|
|
4751
4837
|
get maxWidth() {
|
|
4752
4838
|
const ret = wasm.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);
|
|
4753
|
-
return ret ===
|
|
4839
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4754
4840
|
}
|
|
4755
4841
|
/**
|
|
4756
4842
|
* Opacity value
|
|
@@ -4758,7 +4844,7 @@ export class PolylineMaterial {
|
|
|
4758
4844
|
*/
|
|
4759
4845
|
get opacity() {
|
|
4760
4846
|
const ret = wasm.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);
|
|
4761
|
-
return ret ===
|
|
4847
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4762
4848
|
}
|
|
4763
4849
|
/**
|
|
4764
4850
|
* @returns {boolean | undefined}
|
|
@@ -4799,7 +4885,7 @@ export class PolylineMaterial {
|
|
|
4799
4885
|
*/
|
|
4800
4886
|
get width() {
|
|
4801
4887
|
const ret = wasm.__wbg_get_polylinematerial_width(this.__wbg_ptr);
|
|
4802
|
-
return ret ===
|
|
4888
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4803
4889
|
}
|
|
4804
4890
|
/**
|
|
4805
4891
|
* @param {boolean | null} [show]
|
|
@@ -4819,8 +4905,8 @@ export class PolylineMaterial {
|
|
|
4819
4905
|
_assertClass(__internal__, PolylineInternalMaterial);
|
|
4820
4906
|
ptr0 = __internal__.__destroy_into_raw();
|
|
4821
4907
|
}
|
|
4822
|
-
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) ?
|
|
4823
|
-
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;
|
|
4824
4910
|
PolylineMaterialFinalization.register(this, this.__wbg_ptr, this);
|
|
4825
4911
|
return this;
|
|
4826
4912
|
}
|
|
@@ -4851,7 +4937,7 @@ export class PolylineMaterial {
|
|
|
4851
4937
|
* @param {number | null} [arg0]
|
|
4852
4938
|
*/
|
|
4853
4939
|
set color(arg0) {
|
|
4854
|
-
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);
|
|
4855
4941
|
}
|
|
4856
4942
|
/**
|
|
4857
4943
|
* Enable writing to depth buffer
|
|
@@ -4874,20 +4960,20 @@ export class PolylineMaterial {
|
|
|
4874
4960
|
* @param {number | null} [arg0]
|
|
4875
4961
|
*/
|
|
4876
4962
|
set emissiveColor(arg0) {
|
|
4877
|
-
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);
|
|
4878
4964
|
}
|
|
4879
4965
|
/**
|
|
4880
4966
|
* Emissive glow intensity (default: 0.3 when Bloom enabled)
|
|
4881
4967
|
* @param {number | null} [arg0]
|
|
4882
4968
|
*/
|
|
4883
4969
|
set emissiveIntensity(arg0) {
|
|
4884
|
-
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));
|
|
4885
4971
|
}
|
|
4886
4972
|
/**
|
|
4887
4973
|
* @param {number | null} [arg0]
|
|
4888
4974
|
*/
|
|
4889
4975
|
set height(arg0) {
|
|
4890
|
-
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));
|
|
4891
4977
|
}
|
|
4892
4978
|
/**
|
|
4893
4979
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
@@ -4895,14 +4981,14 @@ export class PolylineMaterial {
|
|
|
4895
4981
|
* @param {number | null} [arg0]
|
|
4896
4982
|
*/
|
|
4897
4983
|
set maxWidth(arg0) {
|
|
4898
|
-
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));
|
|
4899
4985
|
}
|
|
4900
4986
|
/**
|
|
4901
4987
|
* Opacity value
|
|
4902
4988
|
* @param {number | null} [arg0]
|
|
4903
4989
|
*/
|
|
4904
4990
|
set opacity(arg0) {
|
|
4905
|
-
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));
|
|
4906
4992
|
}
|
|
4907
4993
|
/**
|
|
4908
4994
|
* @param {boolean | null} [arg0]
|
|
@@ -4938,7 +5024,7 @@ export class PolylineMaterial {
|
|
|
4938
5024
|
* @param {number | null} [arg0]
|
|
4939
5025
|
*/
|
|
4940
5026
|
set width(arg0) {
|
|
4941
|
-
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));
|
|
4942
5028
|
}
|
|
4943
5029
|
}
|
|
4944
5030
|
if (Symbol.dispose) PolylineMaterial.prototype[Symbol.dispose] = PolylineMaterial.prototype.free;
|
|
@@ -4964,14 +5050,14 @@ export class RasterMaterial {
|
|
|
4964
5050
|
*/
|
|
4965
5051
|
get color() {
|
|
4966
5052
|
const ret = wasm.__wbg_get_rastermaterial_color(this.__wbg_ptr);
|
|
4967
|
-
return ret ===
|
|
5053
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4968
5054
|
}
|
|
4969
5055
|
/**
|
|
4970
5056
|
* @returns {number | undefined}
|
|
4971
5057
|
*/
|
|
4972
5058
|
get opacity() {
|
|
4973
5059
|
const ret = wasm.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);
|
|
4974
|
-
return ret ===
|
|
5060
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4975
5061
|
}
|
|
4976
5062
|
/**
|
|
4977
5063
|
* @returns {boolean | undefined}
|
|
@@ -4991,13 +5077,13 @@ export class RasterMaterial {
|
|
|
4991
5077
|
* @param {number | null} [arg0]
|
|
4992
5078
|
*/
|
|
4993
5079
|
set color(arg0) {
|
|
4994
|
-
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);
|
|
4995
5081
|
}
|
|
4996
5082
|
/**
|
|
4997
5083
|
* @param {number | null} [arg0]
|
|
4998
5084
|
*/
|
|
4999
5085
|
set opacity(arg0) {
|
|
5000
|
-
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));
|
|
5001
5087
|
}
|
|
5002
5088
|
/**
|
|
5003
5089
|
* @param {boolean | null} [arg0]
|
|
@@ -5482,7 +5568,6 @@ if (Symbol.dispose) RasterTileInternalMaterial.prototype[Symbol.dispose] = Raste
|
|
|
5482
5568
|
|
|
5483
5569
|
export class Ray {
|
|
5484
5570
|
static __wrap(ptr) {
|
|
5485
|
-
ptr = ptr >>> 0;
|
|
5486
5571
|
const obj = Object.create(Ray.prototype);
|
|
5487
5572
|
obj.__wbg_ptr = ptr;
|
|
5488
5573
|
RayFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -5530,7 +5615,7 @@ export class Ray {
|
|
|
5530
5615
|
_assertClass(direction, Vec3);
|
|
5531
5616
|
var ptr1 = direction.__destroy_into_raw();
|
|
5532
5617
|
const ret = wasm.ray_new(ptr0, ptr1);
|
|
5533
|
-
this.__wbg_ptr = ret
|
|
5618
|
+
this.__wbg_ptr = ret;
|
|
5534
5619
|
RayFinalization.register(this, this.__wbg_ptr, this);
|
|
5535
5620
|
return this;
|
|
5536
5621
|
}
|
|
@@ -5624,7 +5709,7 @@ export class ReturnedConstructedTerrainMesh {
|
|
|
5624
5709
|
ptr2 = rtc_translation.__destroy_into_raw();
|
|
5625
5710
|
}
|
|
5626
5711
|
const ret = wasm.returnedconstructedterrainmesh_new(ptr0, max_height, min_height, ptr1, len1, ptr2);
|
|
5627
|
-
this.__wbg_ptr = ret
|
|
5712
|
+
this.__wbg_ptr = ret;
|
|
5628
5713
|
ReturnedConstructedTerrainMeshFinalization.register(this, this.__wbg_ptr, this);
|
|
5629
5714
|
return this;
|
|
5630
5715
|
}
|
|
@@ -5776,7 +5861,7 @@ export class TerrainMaterial {
|
|
|
5776
5861
|
*/
|
|
5777
5862
|
get skirtExaggeration() {
|
|
5778
5863
|
const ret = wasm.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);
|
|
5779
|
-
return ret ===
|
|
5864
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5780
5865
|
}
|
|
5781
5866
|
/**
|
|
5782
5867
|
* Whether to render skirts along tile boundaries to hide gaps.
|
|
@@ -5817,7 +5902,7 @@ export class TerrainMaterial {
|
|
|
5817
5902
|
* @param {number | null} [arg0]
|
|
5818
5903
|
*/
|
|
5819
5904
|
set skirtExaggeration(arg0) {
|
|
5820
|
-
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));
|
|
5821
5906
|
}
|
|
5822
5907
|
/**
|
|
5823
5908
|
* Whether to render skirts along tile boundaries to hide gaps.
|
|
@@ -5846,21 +5931,21 @@ export class TextMaterial {
|
|
|
5846
5931
|
*/
|
|
5847
5932
|
get backgroundColor() {
|
|
5848
5933
|
const ret = wasm.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);
|
|
5849
|
-
return ret ===
|
|
5934
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5850
5935
|
}
|
|
5851
5936
|
/**
|
|
5852
5937
|
* @returns {number | undefined}
|
|
5853
5938
|
*/
|
|
5854
5939
|
get borderColor() {
|
|
5855
5940
|
const ret = wasm.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);
|
|
5856
|
-
return ret ===
|
|
5941
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5857
5942
|
}
|
|
5858
5943
|
/**
|
|
5859
5944
|
* @returns {number | undefined}
|
|
5860
5945
|
*/
|
|
5861
5946
|
get borderWidth() {
|
|
5862
5947
|
const ret = wasm.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);
|
|
5863
|
-
return ret ===
|
|
5948
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5864
5949
|
}
|
|
5865
5950
|
/**
|
|
5866
5951
|
* @returns {Vec2 | undefined}
|
|
@@ -5881,7 +5966,26 @@ export class TextMaterial {
|
|
|
5881
5966
|
*/
|
|
5882
5967
|
get color() {
|
|
5883
5968
|
const ret = wasm.__wbg_get_textmaterial_color(this.__wbg_ptr);
|
|
5884
|
-
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;
|
|
5885
5989
|
}
|
|
5886
5990
|
/**
|
|
5887
5991
|
* @returns {boolean | undefined}
|
|
@@ -5920,7 +6024,7 @@ export class TextMaterial {
|
|
|
5920
6024
|
*/
|
|
5921
6025
|
get height() {
|
|
5922
6026
|
const ret = wasm.__wbg_get_textmaterial_height(this.__wbg_ptr);
|
|
5923
|
-
return ret ===
|
|
6027
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5924
6028
|
}
|
|
5925
6029
|
/**
|
|
5926
6030
|
* Enable high-quality glyph rendering. When `true`, text uses an MTSDF
|
|
@@ -5954,7 +6058,7 @@ export class TextMaterial {
|
|
|
5954
6058
|
*/
|
|
5955
6059
|
get lineHeight() {
|
|
5956
6060
|
const ret = wasm.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);
|
|
5957
|
-
return ret ===
|
|
6061
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5958
6062
|
}
|
|
5959
6063
|
/**
|
|
5960
6064
|
* Maximum line width in ems (multiples of `size`) before text wraps at
|
|
@@ -5964,7 +6068,7 @@ export class TextMaterial {
|
|
|
5964
6068
|
*/
|
|
5965
6069
|
get maxWidth() {
|
|
5966
6070
|
const ret = wasm.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);
|
|
5967
|
-
return ret ===
|
|
6071
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5968
6072
|
}
|
|
5969
6073
|
/**
|
|
5970
6074
|
* Avoid overlapping with the globe surface.
|
|
@@ -5980,7 +6084,7 @@ export class TextMaterial {
|
|
|
5980
6084
|
*/
|
|
5981
6085
|
get opacity() {
|
|
5982
6086
|
const ret = wasm.__wbg_get_textmaterial_opacity(this.__wbg_ptr);
|
|
5983
|
-
return ret ===
|
|
6087
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5984
6088
|
}
|
|
5985
6089
|
/**
|
|
5986
6090
|
* Outline blur radius in CSS pixels. Defaults to `0.0`.
|
|
@@ -5988,7 +6092,7 @@ export class TextMaterial {
|
|
|
5988
6092
|
*/
|
|
5989
6093
|
get outlineColor() {
|
|
5990
6094
|
const ret = wasm.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);
|
|
5991
|
-
return ret ===
|
|
6095
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5992
6096
|
}
|
|
5993
6097
|
/**
|
|
5994
6098
|
* Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
|
|
@@ -5996,7 +6100,7 @@ export class TextMaterial {
|
|
|
5996
6100
|
*/
|
|
5997
6101
|
get outlineOpacity() {
|
|
5998
6102
|
const ret = wasm.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);
|
|
5999
|
-
return ret ===
|
|
6103
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6000
6104
|
}
|
|
6001
6105
|
/**
|
|
6002
6106
|
* Outline thickness measured in CSS pixels. Defaults to `0.0`.
|
|
@@ -6004,7 +6108,7 @@ export class TextMaterial {
|
|
|
6004
6108
|
*/
|
|
6005
6109
|
get outlineWidth() {
|
|
6006
6110
|
const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
|
|
6007
|
-
return ret ===
|
|
6111
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6008
6112
|
}
|
|
6009
6113
|
/**
|
|
6010
6114
|
* @returns {boolean | undefined}
|
|
@@ -6027,7 +6131,7 @@ export class TextMaterial {
|
|
|
6027
6131
|
*/
|
|
6028
6132
|
get size() {
|
|
6029
6133
|
const ret = wasm.__wbg_get_textmaterial_size(this.__wbg_ptr);
|
|
6030
|
-
return ret ===
|
|
6134
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6031
6135
|
}
|
|
6032
6136
|
/**
|
|
6033
6137
|
* Horizontal alignment of lines within a multi-line block:
|
|
@@ -6067,19 +6171,19 @@ export class TextMaterial {
|
|
|
6067
6171
|
* @param {number | null} [arg0]
|
|
6068
6172
|
*/
|
|
6069
6173
|
set backgroundColor(arg0) {
|
|
6070
|
-
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);
|
|
6071
6175
|
}
|
|
6072
6176
|
/**
|
|
6073
6177
|
* @param {number | null} [arg0]
|
|
6074
6178
|
*/
|
|
6075
6179
|
set borderColor(arg0) {
|
|
6076
|
-
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);
|
|
6077
6181
|
}
|
|
6078
6182
|
/**
|
|
6079
6183
|
* @param {number | null} [arg0]
|
|
6080
6184
|
*/
|
|
6081
6185
|
set borderWidth(arg0) {
|
|
6082
|
-
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));
|
|
6083
6187
|
}
|
|
6084
6188
|
/**
|
|
6085
6189
|
* @param {Vec2 | null} [arg0]
|
|
@@ -6102,7 +6206,24 @@ export class TextMaterial {
|
|
|
6102
6206
|
* @param {number | null} [arg0]
|
|
6103
6207
|
*/
|
|
6104
6208
|
set color(arg0) {
|
|
6105
|
-
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);
|
|
6106
6227
|
}
|
|
6107
6228
|
/**
|
|
6108
6229
|
* @param {boolean | null} [arg0]
|
|
@@ -6135,7 +6256,7 @@ export class TextMaterial {
|
|
|
6135
6256
|
* @param {number | null} [arg0]
|
|
6136
6257
|
*/
|
|
6137
6258
|
set height(arg0) {
|
|
6138
|
-
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));
|
|
6139
6260
|
}
|
|
6140
6261
|
/**
|
|
6141
6262
|
* Enable high-quality glyph rendering. When `true`, text uses an MTSDF
|
|
@@ -6163,7 +6284,7 @@ export class TextMaterial {
|
|
|
6163
6284
|
* @param {number | null} [arg0]
|
|
6164
6285
|
*/
|
|
6165
6286
|
set lineHeight(arg0) {
|
|
6166
|
-
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));
|
|
6167
6288
|
}
|
|
6168
6289
|
/**
|
|
6169
6290
|
* Maximum line width in ems (multiples of `size`) before text wraps at
|
|
@@ -6172,7 +6293,7 @@ export class TextMaterial {
|
|
|
6172
6293
|
* @param {number | null} [arg0]
|
|
6173
6294
|
*/
|
|
6174
6295
|
set maxWidth(arg0) {
|
|
6175
|
-
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));
|
|
6176
6297
|
}
|
|
6177
6298
|
/**
|
|
6178
6299
|
* Avoid overlapping with the globe surface.
|
|
@@ -6186,28 +6307,28 @@ export class TextMaterial {
|
|
|
6186
6307
|
* @param {number | null} [arg0]
|
|
6187
6308
|
*/
|
|
6188
6309
|
set opacity(arg0) {
|
|
6189
|
-
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));
|
|
6190
6311
|
}
|
|
6191
6312
|
/**
|
|
6192
6313
|
* Outline blur radius in CSS pixels. Defaults to `0.0`.
|
|
6193
6314
|
* @param {number | null} [arg0]
|
|
6194
6315
|
*/
|
|
6195
6316
|
set outlineColor(arg0) {
|
|
6196
|
-
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);
|
|
6197
6318
|
}
|
|
6198
6319
|
/**
|
|
6199
6320
|
* Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
|
|
6200
6321
|
* @param {number | null} [arg0]
|
|
6201
6322
|
*/
|
|
6202
6323
|
set outlineOpacity(arg0) {
|
|
6203
|
-
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));
|
|
6204
6325
|
}
|
|
6205
6326
|
/**
|
|
6206
6327
|
* Outline thickness measured in CSS pixels. Defaults to `0.0`.
|
|
6207
6328
|
* @param {number | null} [arg0]
|
|
6208
6329
|
*/
|
|
6209
6330
|
set outlineWidth(arg0) {
|
|
6210
|
-
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));
|
|
6211
6332
|
}
|
|
6212
6333
|
/**
|
|
6213
6334
|
* @param {boolean | null} [arg0]
|
|
@@ -6227,7 +6348,7 @@ export class TextMaterial {
|
|
|
6227
6348
|
* @param {number | null} [arg0]
|
|
6228
6349
|
*/
|
|
6229
6350
|
set size(arg0) {
|
|
6230
|
-
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));
|
|
6231
6352
|
}
|
|
6232
6353
|
/**
|
|
6233
6354
|
* Horizontal alignment of lines within a multi-line block:
|
|
@@ -6259,7 +6380,6 @@ if (Symbol.dispose) TextMaterial.prototype[Symbol.dispose] = TextMaterial.protot
|
|
|
6259
6380
|
|
|
6260
6381
|
export class TextureFragment {
|
|
6261
6382
|
static __wrap(ptr) {
|
|
6262
|
-
ptr = ptr >>> 0;
|
|
6263
6383
|
const obj = Object.create(TextureFragment.prototype);
|
|
6264
6384
|
obj.__wbg_ptr = ptr;
|
|
6265
6385
|
TextureFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6306,7 +6426,6 @@ if (Symbol.dispose) TextureFragment.prototype[Symbol.dispose] = TextureFragment.
|
|
|
6306
6426
|
|
|
6307
6427
|
export class TileUvTransform {
|
|
6308
6428
|
static __wrap(ptr) {
|
|
6309
|
-
ptr = ptr >>> 0;
|
|
6310
6429
|
const obj = Object.create(TileUvTransform.prototype);
|
|
6311
6430
|
obj.__wbg_ptr = ptr;
|
|
6312
6431
|
TileUvTransformFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -6412,7 +6531,7 @@ export class TileXYZ {
|
|
|
6412
6531
|
*/
|
|
6413
6532
|
constructor(x, y, z) {
|
|
6414
6533
|
const ret = wasm.tilexyz_new(x, y, z);
|
|
6415
|
-
this.__wbg_ptr = ret
|
|
6534
|
+
this.__wbg_ptr = ret;
|
|
6416
6535
|
TileXYZFinalization.register(this, this.__wbg_ptr, this);
|
|
6417
6536
|
return this;
|
|
6418
6537
|
}
|
|
@@ -6569,7 +6688,7 @@ export class TransferablePolygonBatchedFeature {
|
|
|
6569
6688
|
*/
|
|
6570
6689
|
constructor(crs, length) {
|
|
6571
6690
|
const ret = wasm.transferablepolygonbatchedfeature_constructor(crs, length);
|
|
6572
|
-
this.__wbg_ptr = ret
|
|
6691
|
+
this.__wbg_ptr = ret;
|
|
6573
6692
|
TransferablePolygonBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
|
|
6574
6693
|
return this;
|
|
6575
6694
|
}
|
|
@@ -6748,7 +6867,7 @@ export class TransferablePolylineBatchedFeature {
|
|
|
6748
6867
|
*/
|
|
6749
6868
|
constructor(crs, length) {
|
|
6750
6869
|
const ret = wasm.transferablepolylinebatchedfeature_constructor(crs, length);
|
|
6751
|
-
this.__wbg_ptr = ret
|
|
6870
|
+
this.__wbg_ptr = ret;
|
|
6752
6871
|
TransferablePolylineBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
|
|
6753
6872
|
return this;
|
|
6754
6873
|
}
|
|
@@ -6966,7 +7085,7 @@ export class Transform {
|
|
|
6966
7085
|
*/
|
|
6967
7086
|
constructor(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz) {
|
|
6968
7087
|
const ret = wasm.transform_new(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz);
|
|
6969
|
-
this.__wbg_ptr = ret
|
|
7088
|
+
this.__wbg_ptr = ret;
|
|
6970
7089
|
TransformFinalization.register(this, this.__wbg_ptr, this);
|
|
6971
7090
|
return this;
|
|
6972
7091
|
}
|
|
@@ -7005,7 +7124,7 @@ export class UintAttribute {
|
|
|
7005
7124
|
const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
|
|
7006
7125
|
const len0 = WASM_VECTOR_LEN;
|
|
7007
7126
|
const ret = wasm.uintattribute_new(ptr0, len0, size);
|
|
7008
|
-
this.__wbg_ptr = ret
|
|
7127
|
+
this.__wbg_ptr = ret;
|
|
7009
7128
|
UintAttributeFinalization.register(this, this.__wbg_ptr, this);
|
|
7010
7129
|
return this;
|
|
7011
7130
|
}
|
|
@@ -7049,7 +7168,7 @@ export class UpsamplableTerrainGeometry {
|
|
|
7049
7168
|
var ptr4 = isLikeNone(watermask) ? 0 : passArray8ToWasm0(watermask, wasm.__wbindgen_malloc);
|
|
7050
7169
|
var len4 = WASM_VECTOR_LEN;
|
|
7051
7170
|
const ret = wasm.upsamplableterraingeometry_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
7052
|
-
this.__wbg_ptr = ret
|
|
7171
|
+
this.__wbg_ptr = ret;
|
|
7053
7172
|
UpsamplableTerrainGeometryFinalization.register(this, this.__wbg_ptr, this);
|
|
7054
7173
|
return this;
|
|
7055
7174
|
}
|
|
@@ -7058,7 +7177,6 @@ if (Symbol.dispose) UpsamplableTerrainGeometry.prototype[Symbol.dispose] = Upsam
|
|
|
7058
7177
|
|
|
7059
7178
|
export class Vec2 {
|
|
7060
7179
|
static __wrap(ptr) {
|
|
7061
|
-
ptr = ptr >>> 0;
|
|
7062
7180
|
const obj = Object.create(Vec2.prototype);
|
|
7063
7181
|
obj.__wbg_ptr = ptr;
|
|
7064
7182
|
Vec2Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7106,7 +7224,7 @@ export class Vec2 {
|
|
|
7106
7224
|
*/
|
|
7107
7225
|
constructor(x, y) {
|
|
7108
7226
|
const ret = wasm.vec2_new(x, y);
|
|
7109
|
-
this.__wbg_ptr = ret
|
|
7227
|
+
this.__wbg_ptr = ret;
|
|
7110
7228
|
Vec2Finalization.register(this, this.__wbg_ptr, this);
|
|
7111
7229
|
return this;
|
|
7112
7230
|
}
|
|
@@ -7115,7 +7233,6 @@ if (Symbol.dispose) Vec2.prototype[Symbol.dispose] = Vec2.prototype.free;
|
|
|
7115
7233
|
|
|
7116
7234
|
export class Vec3 {
|
|
7117
7235
|
static __wrap(ptr) {
|
|
7118
|
-
ptr = ptr >>> 0;
|
|
7119
7236
|
const obj = Object.create(Vec3.prototype);
|
|
7120
7237
|
obj.__wbg_ptr = ptr;
|
|
7121
7238
|
Vec3Finalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -7177,7 +7294,7 @@ export class Vec3 {
|
|
|
7177
7294
|
*/
|
|
7178
7295
|
constructor(x, y, z) {
|
|
7179
7296
|
const ret = wasm.vec3_new(x, y, z);
|
|
7180
|
-
this.__wbg_ptr = ret
|
|
7297
|
+
this.__wbg_ptr = ret;
|
|
7181
7298
|
Vec3Finalization.register(this, this.__wbg_ptr, this);
|
|
7182
7299
|
return this;
|
|
7183
7300
|
}
|
|
@@ -7268,7 +7385,7 @@ export class Window {
|
|
|
7268
7385
|
*/
|
|
7269
7386
|
constructor(width, height, pixel_ratio) {
|
|
7270
7387
|
const ret = wasm.window_new(width, height, pixel_ratio);
|
|
7271
|
-
this.__wbg_ptr = ret
|
|
7388
|
+
this.__wbg_ptr = ret;
|
|
7272
7389
|
WindowFinalization.register(this, this.__wbg_ptr, this);
|
|
7273
7390
|
return this;
|
|
7274
7391
|
}
|
|
@@ -7293,6 +7410,41 @@ export function angleToRadian(degree) {
|
|
|
7293
7410
|
return ret;
|
|
7294
7411
|
}
|
|
7295
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
|
+
|
|
7296
7448
|
/**
|
|
7297
7449
|
* @param {Vec3} origin
|
|
7298
7450
|
* @returns {Float64Array}
|
|
@@ -7551,7 +7703,7 @@ export function xyzToGeodetic(vec3) {
|
|
|
7551
7703
|
function __wbg_get_imports() {
|
|
7552
7704
|
const import0 = {
|
|
7553
7705
|
__proto__: null,
|
|
7554
|
-
|
|
7706
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
7555
7707
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
7556
7708
|
return ret;
|
|
7557
7709
|
},
|
|
@@ -7562,60 +7714,60 @@ function __wbg_get_imports() {
|
|
|
7562
7714
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7563
7715
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7564
7716
|
},
|
|
7565
|
-
|
|
7717
|
+
__wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
|
|
7566
7718
|
const v = arg1;
|
|
7567
7719
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
7568
7720
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
7569
7721
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7570
7722
|
},
|
|
7571
|
-
|
|
7723
|
+
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
7572
7724
|
const v = arg0;
|
|
7573
7725
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
7574
7726
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
7575
7727
|
},
|
|
7576
|
-
|
|
7728
|
+
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
7577
7729
|
const ret = debugString(arg1);
|
|
7578
7730
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7579
7731
|
const len1 = WASM_VECTOR_LEN;
|
|
7580
7732
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7581
7733
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7582
7734
|
},
|
|
7583
|
-
|
|
7735
|
+
__wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
|
|
7584
7736
|
const ret = arg0 in arg1;
|
|
7585
7737
|
return ret;
|
|
7586
7738
|
},
|
|
7587
|
-
|
|
7739
|
+
__wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
|
|
7588
7740
|
const ret = typeof(arg0) === 'bigint';
|
|
7589
7741
|
return ret;
|
|
7590
7742
|
},
|
|
7591
|
-
|
|
7743
|
+
__wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
|
|
7592
7744
|
const ret = typeof(arg0) === 'function';
|
|
7593
7745
|
return ret;
|
|
7594
7746
|
},
|
|
7595
|
-
|
|
7747
|
+
__wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
|
|
7596
7748
|
const val = arg0;
|
|
7597
7749
|
const ret = typeof(val) === 'object' && val !== null;
|
|
7598
7750
|
return ret;
|
|
7599
7751
|
},
|
|
7600
|
-
|
|
7752
|
+
__wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
|
|
7601
7753
|
const ret = arg0 === arg1;
|
|
7602
7754
|
return ret;
|
|
7603
7755
|
},
|
|
7604
|
-
|
|
7756
|
+
__wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
|
|
7605
7757
|
const ret = arg0 == arg1;
|
|
7606
7758
|
return ret;
|
|
7607
7759
|
},
|
|
7608
|
-
|
|
7760
|
+
__wbg___wbindgen_memory_de265df8aadd6273: function() {
|
|
7609
7761
|
const ret = wasm.memory;
|
|
7610
7762
|
return ret;
|
|
7611
7763
|
},
|
|
7612
|
-
|
|
7764
|
+
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
|
|
7613
7765
|
const obj = arg1;
|
|
7614
7766
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
7615
7767
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
7616
7768
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7617
7769
|
},
|
|
7618
|
-
|
|
7770
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
7619
7771
|
const obj = arg1;
|
|
7620
7772
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
7621
7773
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -7623,59 +7775,42 @@ function __wbg_get_imports() {
|
|
|
7623
7775
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7624
7776
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7625
7777
|
},
|
|
7626
|
-
|
|
7778
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
7627
7779
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
7628
7780
|
},
|
|
7629
|
-
|
|
7630
|
-
let result;
|
|
7631
|
-
try { result = +arg0 } catch (e) { result = e }
|
|
7632
|
-
const ret = result;
|
|
7633
|
-
return ret;
|
|
7634
|
-
},
|
|
7635
|
-
__wbg_buffer_0377ff0622c5de76: function(arg0) {
|
|
7781
|
+
__wbg_buffer_0f212447ac64c53b: function(arg0) {
|
|
7636
7782
|
const ret = arg0.buffer;
|
|
7637
7783
|
return ret;
|
|
7638
7784
|
},
|
|
7639
|
-
|
|
7785
|
+
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
7640
7786
|
const ret = arg0.call(arg1);
|
|
7641
7787
|
return ret;
|
|
7642
7788
|
}, arguments); },
|
|
7643
|
-
|
|
7789
|
+
__wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
|
|
7644
7790
|
const ret = arg0.call(arg1, arg2);
|
|
7645
7791
|
return ret;
|
|
7646
7792
|
}, arguments); },
|
|
7647
|
-
|
|
7793
|
+
__wbg_done_89b2b13e91a60321: function(arg0) {
|
|
7648
7794
|
const ret = arg0.done;
|
|
7649
7795
|
return ret;
|
|
7650
7796
|
},
|
|
7651
|
-
|
|
7797
|
+
__wbg_entries_015dc610cd81ede0: function(arg0) {
|
|
7652
7798
|
const ret = Object.entries(arg0);
|
|
7653
7799
|
return ret;
|
|
7654
7800
|
},
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
try {
|
|
7659
|
-
deferred0_0 = arg0;
|
|
7660
|
-
deferred0_1 = arg1;
|
|
7661
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
7662
|
-
} finally {
|
|
7663
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
7664
|
-
}
|
|
7801
|
+
__wbg_get_507a50627bffa49b: function(arg0, arg1) {
|
|
7802
|
+
const ret = arg0[arg1 >>> 0];
|
|
7803
|
+
return ret;
|
|
7665
7804
|
},
|
|
7666
|
-
|
|
7805
|
+
__wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
|
|
7667
7806
|
const ret = Reflect.get(arg0, arg1);
|
|
7668
7807
|
return ret;
|
|
7669
7808
|
}, arguments); },
|
|
7670
|
-
|
|
7809
|
+
__wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
|
|
7671
7810
|
const ret = arg0[arg1 >>> 0];
|
|
7672
7811
|
return ret;
|
|
7673
7812
|
},
|
|
7674
|
-
|
|
7675
|
-
const ret = arg0[arg1 >>> 0];
|
|
7676
|
-
return ret;
|
|
7677
|
-
},
|
|
7678
|
-
__wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
|
|
7813
|
+
__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
|
|
7679
7814
|
let result;
|
|
7680
7815
|
try {
|
|
7681
7816
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -7685,7 +7820,7 @@ function __wbg_get_imports() {
|
|
|
7685
7820
|
const ret = result;
|
|
7686
7821
|
return ret;
|
|
7687
7822
|
},
|
|
7688
|
-
|
|
7823
|
+
__wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
|
|
7689
7824
|
let result;
|
|
7690
7825
|
try {
|
|
7691
7826
|
result = arg0 instanceof Map;
|
|
@@ -7695,7 +7830,7 @@ function __wbg_get_imports() {
|
|
|
7695
7830
|
const ret = result;
|
|
7696
7831
|
return ret;
|
|
7697
7832
|
},
|
|
7698
|
-
|
|
7833
|
+
__wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
|
|
7699
7834
|
let result;
|
|
7700
7835
|
try {
|
|
7701
7836
|
result = arg0 instanceof Uint8Array;
|
|
@@ -7705,35 +7840,35 @@ function __wbg_get_imports() {
|
|
|
7705
7840
|
const ret = result;
|
|
7706
7841
|
return ret;
|
|
7707
7842
|
},
|
|
7708
|
-
|
|
7843
|
+
__wbg_isArray_0677c962b281d01a: function(arg0) {
|
|
7709
7844
|
const ret = Array.isArray(arg0);
|
|
7710
7845
|
return ret;
|
|
7711
7846
|
},
|
|
7712
|
-
|
|
7847
|
+
__wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
|
|
7713
7848
|
const ret = Number.isSafeInteger(arg0);
|
|
7714
7849
|
return ret;
|
|
7715
7850
|
},
|
|
7716
|
-
|
|
7851
|
+
__wbg_iterator_6f722e4a93058b71: function() {
|
|
7717
7852
|
const ret = Symbol.iterator;
|
|
7718
7853
|
return ret;
|
|
7719
7854
|
},
|
|
7720
|
-
|
|
7855
|
+
__wbg_length_0133fa10e3234c57: function(arg0) {
|
|
7721
7856
|
const ret = arg0.length;
|
|
7722
7857
|
return ret;
|
|
7723
7858
|
},
|
|
7724
|
-
|
|
7859
|
+
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
7725
7860
|
const ret = arg0.length;
|
|
7726
7861
|
return ret;
|
|
7727
7862
|
},
|
|
7728
|
-
|
|
7863
|
+
__wbg_length_370319915dc99107: function(arg0) {
|
|
7729
7864
|
const ret = arg0.length;
|
|
7730
7865
|
return ret;
|
|
7731
7866
|
},
|
|
7732
|
-
|
|
7867
|
+
__wbg_length_381d540857ec99e8: function(arg0) {
|
|
7733
7868
|
const ret = arg0.length;
|
|
7734
7869
|
return ret;
|
|
7735
7870
|
},
|
|
7736
|
-
|
|
7871
|
+
__wbg_length_98f10d1e2f4ea968: function(arg0) {
|
|
7737
7872
|
const ret = arg0.length;
|
|
7738
7873
|
return ret;
|
|
7739
7874
|
},
|
|
@@ -7744,83 +7879,72 @@ function __wbg_get_imports() {
|
|
|
7744
7879
|
__wbg_log_89a8cc89db786e36: function(arg0, arg1) {
|
|
7745
7880
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
7746
7881
|
},
|
|
7747
|
-
|
|
7748
|
-
const ret = new
|
|
7882
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
7883
|
+
const ret = new Array();
|
|
7749
7884
|
return ret;
|
|
7750
7885
|
},
|
|
7751
|
-
|
|
7886
|
+
__wbg_new_80efd62ef570c5de: function(arg0) {
|
|
7752
7887
|
const ret = new Float64Array(arg0);
|
|
7753
7888
|
return ret;
|
|
7754
7889
|
},
|
|
7755
|
-
|
|
7756
|
-
const ret = new
|
|
7890
|
+
__wbg_new_92a08b12c30e98e8: function(arg0) {
|
|
7891
|
+
const ret = new Float32Array(arg0);
|
|
7757
7892
|
return ret;
|
|
7758
7893
|
},
|
|
7759
|
-
|
|
7760
|
-
const ret = new
|
|
7894
|
+
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
7895
|
+
const ret = new Uint8Array(arg0);
|
|
7761
7896
|
return ret;
|
|
7762
7897
|
},
|
|
7763
|
-
|
|
7764
|
-
const ret = new
|
|
7898
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
7899
|
+
const ret = new Object();
|
|
7765
7900
|
return ret;
|
|
7766
7901
|
},
|
|
7767
|
-
|
|
7768
|
-
const ret = new
|
|
7902
|
+
__wbg_new_dfd44b7151fab657: function(arg0) {
|
|
7903
|
+
const ret = new Uint32Array(arg0);
|
|
7769
7904
|
return ret;
|
|
7770
7905
|
},
|
|
7771
|
-
|
|
7772
|
-
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);
|
|
7773
7908
|
return ret;
|
|
7774
7909
|
},
|
|
7775
|
-
|
|
7910
|
+
__wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
|
|
7776
7911
|
const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7777
7912
|
return ret;
|
|
7778
7913
|
},
|
|
7779
|
-
|
|
7780
|
-
const ret = new
|
|
7914
|
+
__wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
|
|
7915
|
+
const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
7781
7916
|
return ret;
|
|
7782
7917
|
},
|
|
7783
|
-
|
|
7784
|
-
const ret =
|
|
7918
|
+
__wbg_next_6dbf2c0ac8cde20f: function(arg0) {
|
|
7919
|
+
const ret = arg0.next;
|
|
7785
7920
|
return ret;
|
|
7786
7921
|
},
|
|
7787
|
-
|
|
7922
|
+
__wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
|
|
7788
7923
|
const ret = arg0.next();
|
|
7789
7924
|
return ret;
|
|
7790
7925
|
}, arguments); },
|
|
7791
|
-
|
|
7792
|
-
const ret = arg0.next;
|
|
7793
|
-
return ret;
|
|
7794
|
-
},
|
|
7795
|
-
__wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
|
|
7926
|
+
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
7796
7927
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
7797
7928
|
},
|
|
7798
|
-
|
|
7929
|
+
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
7799
7930
|
const ret = arg0.push(arg1);
|
|
7800
7931
|
return ret;
|
|
7801
7932
|
},
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
return ret;
|
|
7805
|
-
}, arguments); },
|
|
7806
|
-
__wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
|
|
7807
|
-
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
7933
|
+
__wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
|
|
7934
|
+
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
7808
7935
|
},
|
|
7809
|
-
|
|
7936
|
+
__wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
|
|
7810
7937
|
arg0.set(getArrayF64FromWasm0(arg1, arg2));
|
|
7811
7938
|
},
|
|
7812
|
-
|
|
7813
|
-
arg0.set(
|
|
7814
|
-
},
|
|
7815
|
-
__wbg_set_c625d5a9e6b7554b: function(arg0, arg1, arg2) {
|
|
7816
|
-
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
7939
|
+
__wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
|
|
7940
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
7817
7941
|
},
|
|
7818
|
-
|
|
7819
|
-
const ret = arg1
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
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));
|
|
7824
7948
|
},
|
|
7825
7949
|
__wbg_texturefragment_new: function(arg0) {
|
|
7826
7950
|
const ret = TextureFragment.__wrap(arg0);
|
|
@@ -7830,7 +7954,7 @@ function __wbg_get_imports() {
|
|
|
7830
7954
|
const ret = TileUvTransform.__wrap(arg0);
|
|
7831
7955
|
return ret;
|
|
7832
7956
|
},
|
|
7833
|
-
|
|
7957
|
+
__wbg_value_a5d5488a9589444a: function(arg0) {
|
|
7834
7958
|
const ret = arg0.value;
|
|
7835
7959
|
return ret;
|
|
7836
7960
|
},
|
|
@@ -7872,181 +7996,181 @@ function __wbg_get_imports() {
|
|
|
7872
7996
|
|
|
7873
7997
|
const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7874
7998
|
? { register: () => {}, unregister: () => {} }
|
|
7875
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr
|
|
7999
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
|
|
7876
8000
|
const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7877
8001
|
? { register: () => {}, unregister: () => {} }
|
|
7878
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr
|
|
8002
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
|
|
7879
8003
|
const BillboardMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7880
8004
|
? { register: () => {}, unregister: () => {} }
|
|
7881
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr
|
|
8005
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr, 1));
|
|
7882
8006
|
const BoundingSphereFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7883
8007
|
? { register: () => {}, unregister: () => {} }
|
|
7884
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr
|
|
8008
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr, 1));
|
|
7885
8009
|
const CachedMeshHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7886
8010
|
? { register: () => {}, unregister: () => {} }
|
|
7887
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr
|
|
8011
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr, 1));
|
|
7888
8012
|
const CameraControlUpdateEventFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7889
8013
|
? { register: () => {}, unregister: () => {} }
|
|
7890
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr
|
|
8014
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr, 1));
|
|
7891
8015
|
const CameraFrustumFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7892
8016
|
? { register: () => {}, unregister: () => {} }
|
|
7893
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr
|
|
8017
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr, 1));
|
|
7894
8018
|
const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7895
8019
|
? { register: () => {}, unregister: () => {} }
|
|
7896
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr
|
|
8020
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr, 1));
|
|
7897
8021
|
const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7898
8022
|
? { register: () => {}, unregister: () => {} }
|
|
7899
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr
|
|
8023
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
|
|
7900
8024
|
const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7901
8025
|
? { register: () => {}, unregister: () => {} }
|
|
7902
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr
|
|
8026
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
|
|
7903
8027
|
const CompiledFilterFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7904
8028
|
? { register: () => {}, unregister: () => {} }
|
|
7905
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr
|
|
8029
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr, 1));
|
|
7906
8030
|
const ConstructedPolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7907
8031
|
? { register: () => {}, unregister: () => {} }
|
|
7908
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr
|
|
8032
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr, 1));
|
|
7909
8033
|
const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7910
8034
|
? { register: () => {}, unregister: () => {} }
|
|
7911
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr
|
|
8035
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr, 1));
|
|
7912
8036
|
const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7913
8037
|
? { register: () => {}, unregister: () => {} }
|
|
7914
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr
|
|
8038
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
|
|
7915
8039
|
const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7916
8040
|
? { register: () => {}, unregister: () => {} }
|
|
7917
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr
|
|
8041
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
|
|
7918
8042
|
const ElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7919
8043
|
? { register: () => {}, unregister: () => {} }
|
|
7920
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr
|
|
8044
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr, 1));
|
|
7921
8045
|
const EllipsoidGeodesicFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7922
8046
|
? { register: () => {}, unregister: () => {} }
|
|
7923
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr
|
|
8047
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr, 1));
|
|
7924
8048
|
const EncodedVec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
7925
8049
|
? { register: () => {}, unregister: () => {} }
|
|
7926
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr
|
|
8050
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr, 1));
|
|
7927
8051
|
const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
7928
8052
|
? { register: () => {}, unregister: () => {} }
|
|
7929
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr
|
|
8053
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr, 1));
|
|
7930
8054
|
const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7931
8055
|
? { register: () => {}, unregister: () => {} }
|
|
7932
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr
|
|
8056
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
|
|
7933
8057
|
const GeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7934
8058
|
? { register: () => {}, unregister: () => {} }
|
|
7935
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr
|
|
8059
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr, 1));
|
|
7936
8060
|
const GlobeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7937
8061
|
? { register: () => {}, unregister: () => {} }
|
|
7938
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr
|
|
8062
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr, 1));
|
|
7939
8063
|
const HillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7940
8064
|
? { register: () => {}, unregister: () => {} }
|
|
7941
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr
|
|
8065
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr, 1));
|
|
7942
8066
|
const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7943
8067
|
? { register: () => {}, unregister: () => {} }
|
|
7944
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr
|
|
8068
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr, 1));
|
|
7945
8069
|
const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7946
8070
|
? { register: () => {}, unregister: () => {} }
|
|
7947
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr
|
|
8071
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
|
|
7948
8072
|
const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7949
8073
|
? { register: () => {}, unregister: () => {} }
|
|
7950
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr
|
|
8074
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr, 1));
|
|
7951
8075
|
const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7952
8076
|
? { register: () => {}, unregister: () => {} }
|
|
7953
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr
|
|
8077
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
|
|
7954
8078
|
const OverscaledTileHandleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7955
8079
|
? { register: () => {}, unregister: () => {} }
|
|
7956
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr
|
|
8080
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr, 1));
|
|
7957
8081
|
const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7958
8082
|
? { register: () => {}, unregister: () => {} }
|
|
7959
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr
|
|
8083
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
|
|
7960
8084
|
const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7961
8085
|
? { register: () => {}, unregister: () => {} }
|
|
7962
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr
|
|
8086
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
|
|
7963
8087
|
const PolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7964
8088
|
? { register: () => {}, unregister: () => {} }
|
|
7965
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr
|
|
8089
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr, 1));
|
|
7966
8090
|
const PolygonGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7967
8091
|
? { register: () => {}, unregister: () => {} }
|
|
7968
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr
|
|
8092
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr, 1));
|
|
7969
8093
|
const PolygonInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7970
8094
|
? { register: () => {}, unregister: () => {} }
|
|
7971
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr
|
|
8095
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr, 1));
|
|
7972
8096
|
const PolygonMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7973
8097
|
? { register: () => {}, unregister: () => {} }
|
|
7974
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr
|
|
8098
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr, 1));
|
|
7975
8099
|
const PolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7976
8100
|
? { register: () => {}, unregister: () => {} }
|
|
7977
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr
|
|
8101
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr, 1));
|
|
7978
8102
|
const PolylineGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7979
8103
|
? { register: () => {}, unregister: () => {} }
|
|
7980
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr
|
|
8104
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr, 1));
|
|
7981
8105
|
const PolylineInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7982
8106
|
? { register: () => {}, unregister: () => {} }
|
|
7983
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr
|
|
8107
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr, 1));
|
|
7984
8108
|
const PolylineMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7985
8109
|
? { register: () => {}, unregister: () => {} }
|
|
7986
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr
|
|
8110
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr, 1));
|
|
7987
8111
|
const RasterMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7988
8112
|
? { register: () => {}, unregister: () => {} }
|
|
7989
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr
|
|
8113
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr, 1));
|
|
7990
8114
|
const RasterTileInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7991
8115
|
? { register: () => {}, unregister: () => {} }
|
|
7992
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr
|
|
8116
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr, 1));
|
|
7993
8117
|
const RayFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7994
8118
|
? { register: () => {}, unregister: () => {} }
|
|
7995
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr
|
|
8119
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr, 1));
|
|
7996
8120
|
const ReturnedConstructedTerrainMeshFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
7997
8121
|
? { register: () => {}, unregister: () => {} }
|
|
7998
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr
|
|
8122
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr, 1));
|
|
7999
8123
|
const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8000
8124
|
? { register: () => {}, unregister: () => {} }
|
|
8001
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr
|
|
8125
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
|
|
8002
8126
|
const TextMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8003
8127
|
? { register: () => {}, unregister: () => {} }
|
|
8004
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr
|
|
8128
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr, 1));
|
|
8005
8129
|
const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8006
8130
|
? { register: () => {}, unregister: () => {} }
|
|
8007
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr
|
|
8131
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr, 1));
|
|
8008
8132
|
const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8009
8133
|
? { register: () => {}, unregister: () => {} }
|
|
8010
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr
|
|
8134
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));
|
|
8011
8135
|
const TileXYZFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8012
8136
|
? { register: () => {}, unregister: () => {} }
|
|
8013
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr
|
|
8137
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr, 1));
|
|
8014
8138
|
const TransferableHierarchyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8015
8139
|
? { register: () => {}, unregister: () => {} }
|
|
8016
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr
|
|
8140
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr, 1));
|
|
8017
8141
|
const TransferableHolesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8018
8142
|
? { register: () => {}, unregister: () => {} }
|
|
8019
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr
|
|
8143
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr, 1));
|
|
8020
8144
|
const TransferableParsedMvtResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8021
8145
|
? { register: () => {}, unregister: () => {} }
|
|
8022
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr
|
|
8146
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr, 1));
|
|
8023
8147
|
const TransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8024
8148
|
? { register: () => {}, unregister: () => {} }
|
|
8025
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr
|
|
8149
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr, 1));
|
|
8026
8150
|
const TransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8027
8151
|
? { register: () => {}, unregister: () => {} }
|
|
8028
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr
|
|
8152
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr, 1));
|
|
8029
8153
|
const TransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8030
8154
|
? { register: () => {}, unregister: () => {} }
|
|
8031
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr
|
|
8155
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr, 1));
|
|
8032
8156
|
const UintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8033
8157
|
? { register: () => {}, unregister: () => {} }
|
|
8034
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr
|
|
8158
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr, 1));
|
|
8035
8159
|
const UpsamplableTerrainGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8036
8160
|
? { register: () => {}, unregister: () => {} }
|
|
8037
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr
|
|
8161
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr, 1));
|
|
8038
8162
|
const Vec2Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
8039
8163
|
? { register: () => {}, unregister: () => {} }
|
|
8040
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr
|
|
8164
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr, 1));
|
|
8041
8165
|
const Vec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
8042
8166
|
? { register: () => {}, unregister: () => {} }
|
|
8043
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr
|
|
8167
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr, 1));
|
|
8044
8168
|
const WindingOrderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8045
8169
|
? { register: () => {}, unregister: () => {} }
|
|
8046
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr
|
|
8170
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr, 1));
|
|
8047
8171
|
const WindowFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8048
8172
|
? { register: () => {}, unregister: () => {} }
|
|
8049
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr
|
|
8173
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr, 1));
|
|
8050
8174
|
|
|
8051
8175
|
function addToExternrefTable0(obj) {
|
|
8052
8176
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -8181,8 +8305,7 @@ function getFloat64ArrayMemory0() {
|
|
|
8181
8305
|
}
|
|
8182
8306
|
|
|
8183
8307
|
function getStringFromWasm0(ptr, len) {
|
|
8184
|
-
|
|
8185
|
-
return decodeText(ptr, len);
|
|
8308
|
+
return decodeText(ptr >>> 0, len);
|
|
8186
8309
|
}
|
|
8187
8310
|
|
|
8188
8311
|
let cachedUint32ArrayMemory0 = null;
|
|
@@ -8324,8 +8447,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
8324
8447
|
|
|
8325
8448
|
let WASM_VECTOR_LEN = 0;
|
|
8326
8449
|
|
|
8327
|
-
let wasmModule, wasm;
|
|
8450
|
+
let wasmModule, wasmInstance, wasm;
|
|
8328
8451
|
function __wbg_finalize_init(instance, module) {
|
|
8452
|
+
wasmInstance = instance;
|
|
8329
8453
|
wasm = instance.exports;
|
|
8330
8454
|
wasmModule = module;
|
|
8331
8455
|
cachedDataViewMemory0 = null;
|