@navaramap/engine-api 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/navara_wasm_api.d.ts +306 -27
- package/navara_wasm_api.js +615 -85
- package/navara_wasm_api_bg.wasm +0 -0
- package/package.json +2 -2
package/navara_wasm_api.js
CHANGED
|
@@ -144,6 +144,32 @@ export class BillboardMaterial {
|
|
|
144
144
|
const ret = wasm.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);
|
|
145
145
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
146
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
149
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
150
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
151
|
+
* over the horizon, which face away from the camera.
|
|
152
|
+
* @returns {boolean | undefined}
|
|
153
|
+
*/
|
|
154
|
+
get backfaceCulling() {
|
|
155
|
+
const ret = wasm.__wbg_get_billboardmaterial_backfaceCulling(this.__wbg_ptr);
|
|
156
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Whether the sprite stands up (`"upright"`, the default) or lies on the
|
|
160
|
+
* globe surface around its anchor (`"flat"`). Pair with
|
|
161
|
+
* `rotateWithCamera`.
|
|
162
|
+
* @returns {string | undefined}
|
|
163
|
+
*/
|
|
164
|
+
get billboardFacing() {
|
|
165
|
+
const ret = wasm.__wbg_get_billboardmaterial_billboardFacing(this.__wbg_ptr);
|
|
166
|
+
let v1;
|
|
167
|
+
if (ret[0] !== 0) {
|
|
168
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
169
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
170
|
+
}
|
|
171
|
+
return v1;
|
|
172
|
+
}
|
|
147
173
|
/**
|
|
148
174
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
149
175
|
* Default is (0.0, 0.0) which means the center of the sprite.
|
|
@@ -215,7 +241,7 @@ export class BillboardMaterial {
|
|
|
215
241
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
216
242
|
}
|
|
217
243
|
/**
|
|
218
|
-
* Emissive glow intensity (
|
|
244
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
219
245
|
* @returns {number | undefined}
|
|
220
246
|
*/
|
|
221
247
|
get emissiveIntensity() {
|
|
@@ -259,6 +285,26 @@ export class BillboardMaterial {
|
|
|
259
285
|
const ret = wasm.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);
|
|
260
286
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
261
287
|
}
|
|
288
|
+
/**
|
|
289
|
+
* Whether the sprite turns to follow the camera. `true` (the default)
|
|
290
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
291
|
+
* east-north-up frame, so moving the camera never reorients it.
|
|
292
|
+
* @returns {boolean | undefined}
|
|
293
|
+
*/
|
|
294
|
+
get rotateWithCamera() {
|
|
295
|
+
const ret = wasm.__wbg_get_billboardmaterial_rotateWithCamera(this.__wbg_ptr);
|
|
296
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Rotation of the sprite within its own plane, about its anchor point,
|
|
300
|
+
* in degrees, clockwise seen from the front. `center` decides where
|
|
301
|
+
* inside the sprite the pivot sits. Defaults to `0.0`.
|
|
302
|
+
* @returns {number | undefined}
|
|
303
|
+
*/
|
|
304
|
+
get rotation() {
|
|
305
|
+
const ret = wasm.__wbg_get_billboardmaterial_rotation(this.__wbg_ptr);
|
|
306
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
307
|
+
}
|
|
262
308
|
/**
|
|
263
309
|
* @returns {boolean | undefined}
|
|
264
310
|
*/
|
|
@@ -307,6 +353,27 @@ export class BillboardMaterial {
|
|
|
307
353
|
set alphaTest(arg0) {
|
|
308
354
|
wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
309
355
|
}
|
|
356
|
+
/**
|
|
357
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
358
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
359
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
360
|
+
* over the horizon, which face away from the camera.
|
|
361
|
+
* @param {boolean | null} [arg0]
|
|
362
|
+
*/
|
|
363
|
+
set backfaceCulling(arg0) {
|
|
364
|
+
wasm.__wbg_set_billboardmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Whether the sprite stands up (`"upright"`, the default) or lies on the
|
|
368
|
+
* globe surface around its anchor (`"flat"`). Pair with
|
|
369
|
+
* `rotateWithCamera`.
|
|
370
|
+
* @param {string | null} [arg0]
|
|
371
|
+
*/
|
|
372
|
+
set billboardFacing(arg0) {
|
|
373
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
374
|
+
var len0 = WASM_VECTOR_LEN;
|
|
375
|
+
wasm.__wbg_set_billboardmaterial_billboardFacing(this.__wbg_ptr, ptr0, len0);
|
|
376
|
+
}
|
|
310
377
|
/**
|
|
311
378
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
312
379
|
* Default is (0.0, 0.0) which means the center of the sprite.
|
|
@@ -372,7 +439,7 @@ export class BillboardMaterial {
|
|
|
372
439
|
wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
373
440
|
}
|
|
374
441
|
/**
|
|
375
|
-
* Emissive glow intensity (
|
|
442
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
376
443
|
* @param {number | null} [arg0]
|
|
377
444
|
*/
|
|
378
445
|
set emissiveIntensity(arg0) {
|
|
@@ -408,6 +475,24 @@ export class BillboardMaterial {
|
|
|
408
475
|
set opacity(arg0) {
|
|
409
476
|
wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
410
477
|
}
|
|
478
|
+
/**
|
|
479
|
+
* Whether the sprite turns to follow the camera. `true` (the default)
|
|
480
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
481
|
+
* east-north-up frame, so moving the camera never reorients it.
|
|
482
|
+
* @param {boolean | null} [arg0]
|
|
483
|
+
*/
|
|
484
|
+
set rotateWithCamera(arg0) {
|
|
485
|
+
wasm.__wbg_set_billboardmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Rotation of the sprite within its own plane, about its anchor point,
|
|
489
|
+
* in degrees, clockwise seen from the front. `center` decides where
|
|
490
|
+
* inside the sprite the pivot sits. Defaults to `0.0`.
|
|
491
|
+
* @param {number | null} [arg0]
|
|
492
|
+
*/
|
|
493
|
+
set rotation(arg0) {
|
|
494
|
+
wasm.__wbg_set_billboardmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
495
|
+
}
|
|
411
496
|
/**
|
|
412
497
|
* @param {boolean | null} [arg0]
|
|
413
498
|
*/
|
|
@@ -1244,6 +1329,12 @@ export class CompiledFilter {
|
|
|
1244
1329
|
if (Symbol.dispose) CompiledFilter.prototype[Symbol.dispose] = CompiledFilter.prototype.free;
|
|
1245
1330
|
|
|
1246
1331
|
export class ConstructedPolygonGeometry {
|
|
1332
|
+
static __wrap(ptr) {
|
|
1333
|
+
const obj = Object.create(ConstructedPolygonGeometry.prototype);
|
|
1334
|
+
obj.__wbg_ptr = ptr;
|
|
1335
|
+
ConstructedPolygonGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1336
|
+
return obj;
|
|
1337
|
+
}
|
|
1247
1338
|
__destroy_into_raw() {
|
|
1248
1339
|
const ptr = this.__wbg_ptr;
|
|
1249
1340
|
this.__wbg_ptr = 0;
|
|
@@ -1509,6 +1600,12 @@ export class ConstructedPolygonOutlineGeometry {
|
|
|
1509
1600
|
if (Symbol.dispose) ConstructedPolygonOutlineGeometry.prototype[Symbol.dispose] = ConstructedPolygonOutlineGeometry.prototype.free;
|
|
1510
1601
|
|
|
1511
1602
|
export class ConstructedPolylineGeometry {
|
|
1603
|
+
static __wrap(ptr) {
|
|
1604
|
+
const obj = Object.create(ConstructedPolylineGeometry.prototype);
|
|
1605
|
+
obj.__wbg_ptr = ptr;
|
|
1606
|
+
ConstructedPolylineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1607
|
+
return obj;
|
|
1608
|
+
}
|
|
1512
1609
|
__destroy_into_raw() {
|
|
1513
1610
|
const ptr = this.__wbg_ptr;
|
|
1514
1611
|
this.__wbg_ptr = 0;
|
|
@@ -1732,6 +1829,72 @@ export class ConstructedPolylineGeometry {
|
|
|
1732
1829
|
}
|
|
1733
1830
|
if (Symbol.dispose) ConstructedPolylineGeometry.prototype[Symbol.dispose] = ConstructedPolylineGeometry.prototype.free;
|
|
1734
1831
|
|
|
1832
|
+
/**
|
|
1833
|
+
* Maps a 3D Tiles feature table semantic (`POSITION`, `RGB`, ...) to its
|
|
1834
|
+
* Draco unique attribute id.
|
|
1835
|
+
*/
|
|
1836
|
+
export class DracoAttributeId {
|
|
1837
|
+
static __wrap(ptr) {
|
|
1838
|
+
const obj = Object.create(DracoAttributeId.prototype);
|
|
1839
|
+
obj.__wbg_ptr = ptr;
|
|
1840
|
+
DracoAttributeIdFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1841
|
+
return obj;
|
|
1842
|
+
}
|
|
1843
|
+
static __unwrap(jsValue) {
|
|
1844
|
+
if (!(jsValue instanceof DracoAttributeId)) {
|
|
1845
|
+
return 0;
|
|
1846
|
+
}
|
|
1847
|
+
return jsValue.__destroy_into_raw();
|
|
1848
|
+
}
|
|
1849
|
+
__destroy_into_raw() {
|
|
1850
|
+
const ptr = this.__wbg_ptr;
|
|
1851
|
+
this.__wbg_ptr = 0;
|
|
1852
|
+
DracoAttributeIdFinalization.unregister(this);
|
|
1853
|
+
return ptr;
|
|
1854
|
+
}
|
|
1855
|
+
free() {
|
|
1856
|
+
const ptr = this.__destroy_into_raw();
|
|
1857
|
+
wasm.__wbg_dracoattributeid_free(ptr, 0);
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* @returns {string}
|
|
1861
|
+
*/
|
|
1862
|
+
get semantic() {
|
|
1863
|
+
let deferred1_0;
|
|
1864
|
+
let deferred1_1;
|
|
1865
|
+
try {
|
|
1866
|
+
const ret = wasm.__wbg_get_dracoattributeid_semantic(this.__wbg_ptr);
|
|
1867
|
+
deferred1_0 = ret[0];
|
|
1868
|
+
deferred1_1 = ret[1];
|
|
1869
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1870
|
+
} finally {
|
|
1871
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
/**
|
|
1875
|
+
* @returns {number}
|
|
1876
|
+
*/
|
|
1877
|
+
get uniqueId() {
|
|
1878
|
+
const ret = wasm.__wbg_get_dracoattributeid_uniqueId(this.__wbg_ptr);
|
|
1879
|
+
return ret >>> 0;
|
|
1880
|
+
}
|
|
1881
|
+
/**
|
|
1882
|
+
* @param {string} arg0
|
|
1883
|
+
*/
|
|
1884
|
+
set semantic(arg0) {
|
|
1885
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1886
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1887
|
+
wasm.__wbg_set_dracoattributeid_semantic(this.__wbg_ptr, ptr0, len0);
|
|
1888
|
+
}
|
|
1889
|
+
/**
|
|
1890
|
+
* @param {number} arg0
|
|
1891
|
+
*/
|
|
1892
|
+
set uniqueId(arg0) {
|
|
1893
|
+
wasm.__wbg_set_dracoattributeid_uniqueId(this.__wbg_ptr, arg0);
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
if (Symbol.dispose) DracoAttributeId.prototype[Symbol.dispose] = DracoAttributeId.prototype.free;
|
|
1897
|
+
|
|
1735
1898
|
export class ElevationDecoder {
|
|
1736
1899
|
static __wrap(ptr) {
|
|
1737
1900
|
const obj = Object.create(ElevationDecoder.prototype);
|
|
@@ -2720,11 +2883,16 @@ export class ModelInternalMaterial {
|
|
|
2720
2883
|
wasm.__wbg_modelinternalmaterial_free(ptr, 0);
|
|
2721
2884
|
}
|
|
2722
2885
|
/**
|
|
2723
|
-
* @returns {
|
|
2886
|
+
* @returns {DracoAttributeId[] | undefined}
|
|
2724
2887
|
*/
|
|
2725
|
-
get
|
|
2726
|
-
const ret = wasm.
|
|
2727
|
-
|
|
2888
|
+
get dracoAttributes() {
|
|
2889
|
+
const ret = wasm.__wbg_get_modelinternalmaterial_dracoAttributes(this.__wbg_ptr);
|
|
2890
|
+
let v1;
|
|
2891
|
+
if (ret[0] !== 0) {
|
|
2892
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
2893
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
2894
|
+
}
|
|
2895
|
+
return v1;
|
|
2728
2896
|
}
|
|
2729
2897
|
/**
|
|
2730
2898
|
* @returns {Vec3}
|
|
@@ -2741,10 +2909,12 @@ export class ModelInternalMaterial {
|
|
|
2741
2909
|
return ret !== 0;
|
|
2742
2910
|
}
|
|
2743
2911
|
/**
|
|
2744
|
-
* @param {
|
|
2912
|
+
* @param {DracoAttributeId[] | null} [arg0]
|
|
2745
2913
|
*/
|
|
2746
|
-
set
|
|
2747
|
-
|
|
2914
|
+
set dracoAttributes(arg0) {
|
|
2915
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
2916
|
+
var len0 = WASM_VECTOR_LEN;
|
|
2917
|
+
wasm.__wbg_set_modelinternalmaterial_dracoAttributes(this.__wbg_ptr, ptr0, len0);
|
|
2748
2918
|
}
|
|
2749
2919
|
/**
|
|
2750
2920
|
* @param {Vec3} arg0
|
|
@@ -2860,7 +3030,7 @@ export class ModelMaterial {
|
|
|
2860
3030
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2861
3031
|
}
|
|
2862
3032
|
/**
|
|
2863
|
-
* Emissive glow intensity (
|
|
3033
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
2864
3034
|
* @returns {number | undefined}
|
|
2865
3035
|
*/
|
|
2866
3036
|
get emissiveIntensity() {
|
|
@@ -3122,7 +3292,7 @@ export class ModelMaterial {
|
|
|
3122
3292
|
wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
3123
3293
|
}
|
|
3124
3294
|
/**
|
|
3125
|
-
* Emissive glow intensity (
|
|
3295
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
3126
3296
|
* @param {number | null} [arg0]
|
|
3127
3297
|
*/
|
|
3128
3298
|
set emissiveIntensity(arg0) {
|
|
@@ -3411,6 +3581,17 @@ export class PointMaterial {
|
|
|
3411
3581
|
const ptr = this.__destroy_into_raw();
|
|
3412
3582
|
wasm.__wbg_pointmaterial_free(ptr, 0);
|
|
3413
3583
|
}
|
|
3584
|
+
/**
|
|
3585
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
3586
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
3587
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
3588
|
+
* over the horizon, which face away from the camera.
|
|
3589
|
+
* @returns {boolean | undefined}
|
|
3590
|
+
*/
|
|
3591
|
+
get backfaceCulling() {
|
|
3592
|
+
const ret = wasm.__wbg_get_pointmaterial_backfaceCulling(this.__wbg_ptr);
|
|
3593
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3594
|
+
}
|
|
3414
3595
|
/**
|
|
3415
3596
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
3416
3597
|
* Default is (0.0, 0.0) which means the center of the sprite.
|
|
@@ -3482,7 +3663,7 @@ export class PointMaterial {
|
|
|
3482
3663
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3483
3664
|
}
|
|
3484
3665
|
/**
|
|
3485
|
-
* Emissive glow intensity (
|
|
3666
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
3486
3667
|
* @returns {number | undefined}
|
|
3487
3668
|
*/
|
|
3488
3669
|
get emissiveIntensity() {
|
|
@@ -3526,6 +3707,41 @@ export class PointMaterial {
|
|
|
3526
3707
|
const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
|
|
3527
3708
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3528
3709
|
}
|
|
3710
|
+
/**
|
|
3711
|
+
* Whether the point stands up (`"upright"`, the default) or lies on the
|
|
3712
|
+
* globe surface around its anchor (`"flat"`). Pair with
|
|
3713
|
+
* `rotateWithCamera`.
|
|
3714
|
+
* @returns {string | undefined}
|
|
3715
|
+
*/
|
|
3716
|
+
get pointFacing() {
|
|
3717
|
+
const ret = wasm.__wbg_get_pointmaterial_pointFacing(this.__wbg_ptr);
|
|
3718
|
+
let v1;
|
|
3719
|
+
if (ret[0] !== 0) {
|
|
3720
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
3721
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
3722
|
+
}
|
|
3723
|
+
return v1;
|
|
3724
|
+
}
|
|
3725
|
+
/**
|
|
3726
|
+
* Whether the point turns to follow the camera. `true` (the default)
|
|
3727
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
3728
|
+
* east-north-up frame, so moving the camera never reorients it.
|
|
3729
|
+
* @returns {boolean | undefined}
|
|
3730
|
+
*/
|
|
3731
|
+
get rotateWithCamera() {
|
|
3732
|
+
const ret = wasm.__wbg_get_pointmaterial_rotateWithCamera(this.__wbg_ptr);
|
|
3733
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3734
|
+
}
|
|
3735
|
+
/**
|
|
3736
|
+
* Rotation of the point within its own plane, about its anchor point, in
|
|
3737
|
+
* degrees, clockwise seen from the front. `center` decides where inside
|
|
3738
|
+
* the quad the pivot sits. Defaults to `0.0`.
|
|
3739
|
+
* @returns {number | undefined}
|
|
3740
|
+
*/
|
|
3741
|
+
get rotation() {
|
|
3742
|
+
const ret = wasm.__wbg_get_pointmaterial_rotation(this.__wbg_ptr);
|
|
3743
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3744
|
+
}
|
|
3529
3745
|
/**
|
|
3530
3746
|
* @returns {boolean | undefined}
|
|
3531
3747
|
*/
|
|
@@ -3556,6 +3772,16 @@ export class PointMaterial {
|
|
|
3556
3772
|
const ret = wasm.__wbg_get_pointmaterial_transparent(this.__wbg_ptr);
|
|
3557
3773
|
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3558
3774
|
}
|
|
3775
|
+
/**
|
|
3776
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
3777
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
3778
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
3779
|
+
* over the horizon, which face away from the camera.
|
|
3780
|
+
* @param {boolean | null} [arg0]
|
|
3781
|
+
*/
|
|
3782
|
+
set backfaceCulling(arg0) {
|
|
3783
|
+
wasm.__wbg_set_pointmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
3784
|
+
}
|
|
3559
3785
|
/**
|
|
3560
3786
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
3561
3787
|
* Default is (0.0, 0.0) which means the center of the sprite.
|
|
@@ -3621,7 +3847,7 @@ export class PointMaterial {
|
|
|
3621
3847
|
wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
3622
3848
|
}
|
|
3623
3849
|
/**
|
|
3624
|
-
* Emissive glow intensity (
|
|
3850
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
3625
3851
|
* @param {number | null} [arg0]
|
|
3626
3852
|
*/
|
|
3627
3853
|
set emissiveIntensity(arg0) {
|
|
@@ -3657,6 +3883,35 @@ export class PointMaterial {
|
|
|
3657
3883
|
set opacity(arg0) {
|
|
3658
3884
|
wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3659
3885
|
}
|
|
3886
|
+
/**
|
|
3887
|
+
* Whether the point stands up (`"upright"`, the default) or lies on the
|
|
3888
|
+
* globe surface around its anchor (`"flat"`). Pair with
|
|
3889
|
+
* `rotateWithCamera`.
|
|
3890
|
+
* @param {string | null} [arg0]
|
|
3891
|
+
*/
|
|
3892
|
+
set pointFacing(arg0) {
|
|
3893
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3894
|
+
var len0 = WASM_VECTOR_LEN;
|
|
3895
|
+
wasm.__wbg_set_pointmaterial_pointFacing(this.__wbg_ptr, ptr0, len0);
|
|
3896
|
+
}
|
|
3897
|
+
/**
|
|
3898
|
+
* Whether the point turns to follow the camera. `true` (the default)
|
|
3899
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
3900
|
+
* east-north-up frame, so moving the camera never reorients it.
|
|
3901
|
+
* @param {boolean | null} [arg0]
|
|
3902
|
+
*/
|
|
3903
|
+
set rotateWithCamera(arg0) {
|
|
3904
|
+
wasm.__wbg_set_pointmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
3905
|
+
}
|
|
3906
|
+
/**
|
|
3907
|
+
* Rotation of the point within its own plane, about its anchor point, in
|
|
3908
|
+
* degrees, clockwise seen from the front. `center` decides where inside
|
|
3909
|
+
* the quad the pivot sits. Defaults to `0.0`.
|
|
3910
|
+
* @param {number | null} [arg0]
|
|
3911
|
+
*/
|
|
3912
|
+
set rotation(arg0) {
|
|
3913
|
+
wasm.__wbg_set_pointmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3914
|
+
}
|
|
3660
3915
|
/**
|
|
3661
3916
|
* @param {boolean | null} [arg0]
|
|
3662
3917
|
*/
|
|
@@ -4022,7 +4277,7 @@ export class PolygonMaterial {
|
|
|
4022
4277
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4023
4278
|
}
|
|
4024
4279
|
/**
|
|
4025
|
-
* Emissive glow intensity (
|
|
4280
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
4026
4281
|
* @returns {number | undefined}
|
|
4027
4282
|
*/
|
|
4028
4283
|
get emissiveIntensity() {
|
|
@@ -4298,7 +4553,7 @@ export class PolygonMaterial {
|
|
|
4298
4553
|
wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4299
4554
|
}
|
|
4300
4555
|
/**
|
|
4301
|
-
* Emissive glow intensity (
|
|
4556
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
4302
4557
|
* @param {number | null} [arg0]
|
|
4303
4558
|
*/
|
|
4304
4559
|
set emissiveIntensity(arg0) {
|
|
@@ -5008,7 +5263,7 @@ export class PolylineMaterial {
|
|
|
5008
5263
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5009
5264
|
}
|
|
5010
5265
|
/**
|
|
5011
|
-
* Emissive glow intensity (
|
|
5266
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
5012
5267
|
* @returns {number | undefined}
|
|
5013
5268
|
*/
|
|
5014
5269
|
get emissiveIntensity() {
|
|
@@ -5183,7 +5438,7 @@ export class PolylineMaterial {
|
|
|
5183
5438
|
wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
5184
5439
|
}
|
|
5185
5440
|
/**
|
|
5186
|
-
* Emissive glow intensity (
|
|
5441
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
5187
5442
|
* @param {number | null} [arg0]
|
|
5188
5443
|
*/
|
|
5189
5444
|
set emissiveIntensity(arg0) {
|
|
@@ -6206,6 +6461,17 @@ export class TextMaterial {
|
|
|
6206
6461
|
const ptr = this.__destroy_into_raw();
|
|
6207
6462
|
wasm.__wbg_textmaterial_free(ptr, 0);
|
|
6208
6463
|
}
|
|
6464
|
+
/**
|
|
6465
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
6466
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
6467
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
6468
|
+
* over the horizon, which face away from the camera.
|
|
6469
|
+
* @returns {boolean | undefined}
|
|
6470
|
+
*/
|
|
6471
|
+
get backfaceCulling() {
|
|
6472
|
+
const ret = wasm.__wbg_get_textmaterial_backfaceCulling(this.__wbg_ptr);
|
|
6473
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
6474
|
+
}
|
|
6209
6475
|
/**
|
|
6210
6476
|
* @returns {number | undefined}
|
|
6211
6477
|
*/
|
|
@@ -6274,6 +6540,35 @@ export class TextMaterial {
|
|
|
6274
6540
|
const ret = wasm.__wbg_get_textmaterial_depthTest(this.__wbg_ptr);
|
|
6275
6541
|
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
6276
6542
|
}
|
|
6543
|
+
/**
|
|
6544
|
+
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
6545
|
+
* @returns {string[] | undefined}
|
|
6546
|
+
*/
|
|
6547
|
+
get effectIds() {
|
|
6548
|
+
const ret = wasm.__wbg_get_textmaterial_effectIds(this.__wbg_ptr);
|
|
6549
|
+
let v1;
|
|
6550
|
+
if (ret[0] !== 0) {
|
|
6551
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
6552
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
6553
|
+
}
|
|
6554
|
+
return v1;
|
|
6555
|
+
}
|
|
6556
|
+
/**
|
|
6557
|
+
* Emissive glow color in 0xRRGGBB format
|
|
6558
|
+
* @returns {number | undefined}
|
|
6559
|
+
*/
|
|
6560
|
+
get emissiveColor() {
|
|
6561
|
+
const ret = wasm.__wbg_get_textmaterial_emissiveColor(this.__wbg_ptr);
|
|
6562
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6563
|
+
}
|
|
6564
|
+
/**
|
|
6565
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
6566
|
+
* @returns {number | undefined}
|
|
6567
|
+
*/
|
|
6568
|
+
get emissiveIntensity() {
|
|
6569
|
+
const ret = wasm.__wbg_get_textmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
6570
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6571
|
+
}
|
|
6277
6572
|
/**
|
|
6278
6573
|
* Specifies either the URL of a single font file or the `family` name of a font family
|
|
6279
6574
|
* previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf,
|
|
@@ -6405,6 +6700,31 @@ export class TextMaterial {
|
|
|
6405
6700
|
const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
|
|
6406
6701
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6407
6702
|
}
|
|
6703
|
+
/**
|
|
6704
|
+
* Whether the label turns to follow the camera. `true` (the default)
|
|
6705
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
6706
|
+
* east-north-up frame, so moving the camera never reorients it: with
|
|
6707
|
+
* `textFacing: "upright"` it becomes a signboard standing on the
|
|
6708
|
+
* surface, with `"flat"` a north-up label painted on it.
|
|
6709
|
+
* @returns {boolean | undefined}
|
|
6710
|
+
*/
|
|
6711
|
+
get rotateWithCamera() {
|
|
6712
|
+
const ret = wasm.__wbg_get_textmaterial_rotateWithCamera(this.__wbg_ptr);
|
|
6713
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
6714
|
+
}
|
|
6715
|
+
/**
|
|
6716
|
+
* Rotation of the label within its own plane, about its anchor point, in
|
|
6717
|
+
* degrees, clockwise seen from the front. Applied on top of whatever
|
|
6718
|
+
* orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
|
|
6719
|
+
* billboard on screen and turns a surface label like a compass bearing.
|
|
6720
|
+
* `center` decides where inside the text the pivot sits. Defaults to
|
|
6721
|
+
* `0.0`.
|
|
6722
|
+
* @returns {number | undefined}
|
|
6723
|
+
*/
|
|
6724
|
+
get rotation() {
|
|
6725
|
+
const ret = wasm.__wbg_get_textmaterial_rotation(this.__wbg_ptr);
|
|
6726
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6727
|
+
}
|
|
6408
6728
|
/**
|
|
6409
6729
|
* @returns {boolean | undefined}
|
|
6410
6730
|
*/
|
|
@@ -6442,6 +6762,21 @@ export class TextMaterial {
|
|
|
6442
6762
|
}
|
|
6443
6763
|
return v1;
|
|
6444
6764
|
}
|
|
6765
|
+
/**
|
|
6766
|
+
* Whether the label stands up (`"upright"`, the default) or lies on the
|
|
6767
|
+
* globe surface around its anchor (`"flat"`), following its curvature so
|
|
6768
|
+
* it reads as painted on the surface. Pair with `rotateWithCamera`.
|
|
6769
|
+
* @returns {string | undefined}
|
|
6770
|
+
*/
|
|
6771
|
+
get textFacing() {
|
|
6772
|
+
const ret = wasm.__wbg_get_textmaterial_textFacing(this.__wbg_ptr);
|
|
6773
|
+
let v1;
|
|
6774
|
+
if (ret[0] !== 0) {
|
|
6775
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
6776
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
6777
|
+
}
|
|
6778
|
+
return v1;
|
|
6779
|
+
}
|
|
6445
6780
|
/**
|
|
6446
6781
|
* @returns {string | undefined}
|
|
6447
6782
|
*/
|
|
@@ -6462,6 +6797,16 @@ export class TextMaterial {
|
|
|
6462
6797
|
const ret = wasm.__wbg_get_textmaterial_transparent(this.__wbg_ptr);
|
|
6463
6798
|
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
6464
6799
|
}
|
|
6800
|
+
/**
|
|
6801
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
6802
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
6803
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
6804
|
+
* over the horizon, which face away from the camera.
|
|
6805
|
+
* @param {boolean | null} [arg0]
|
|
6806
|
+
*/
|
|
6807
|
+
set backfaceCulling(arg0) {
|
|
6808
|
+
wasm.__wbg_set_textmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
6809
|
+
}
|
|
6465
6810
|
/**
|
|
6466
6811
|
* @param {number | null} [arg0]
|
|
6467
6812
|
*/
|
|
@@ -6526,6 +6871,29 @@ export class TextMaterial {
|
|
|
6526
6871
|
set depthTest(arg0) {
|
|
6527
6872
|
wasm.__wbg_set_textmaterial_depthTest(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
6528
6873
|
}
|
|
6874
|
+
/**
|
|
6875
|
+
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
6876
|
+
* @param {string[] | null} [arg0]
|
|
6877
|
+
*/
|
|
6878
|
+
set effectIds(arg0) {
|
|
6879
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
6880
|
+
var len0 = WASM_VECTOR_LEN;
|
|
6881
|
+
wasm.__wbg_set_textmaterial_effectIds(this.__wbg_ptr, ptr0, len0);
|
|
6882
|
+
}
|
|
6883
|
+
/**
|
|
6884
|
+
* Emissive glow color in 0xRRGGBB format
|
|
6885
|
+
* @param {number | null} [arg0]
|
|
6886
|
+
*/
|
|
6887
|
+
set emissiveColor(arg0) {
|
|
6888
|
+
wasm.__wbg_set_textmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
6889
|
+
}
|
|
6890
|
+
/**
|
|
6891
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
6892
|
+
* @param {number | null} [arg0]
|
|
6893
|
+
*/
|
|
6894
|
+
set emissiveIntensity(arg0) {
|
|
6895
|
+
wasm.__wbg_set_textmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6896
|
+
}
|
|
6529
6897
|
/**
|
|
6530
6898
|
* Specifies either the URL of a single font file or the `family` name of a font family
|
|
6531
6899
|
* previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf,
|
|
@@ -6636,6 +7004,29 @@ export class TextMaterial {
|
|
|
6636
7004
|
set outlineWidth(arg0) {
|
|
6637
7005
|
wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
6638
7006
|
}
|
|
7007
|
+
/**
|
|
7008
|
+
* Whether the label turns to follow the camera. `true` (the default)
|
|
7009
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
7010
|
+
* east-north-up frame, so moving the camera never reorients it: with
|
|
7011
|
+
* `textFacing: "upright"` it becomes a signboard standing on the
|
|
7012
|
+
* surface, with `"flat"` a north-up label painted on it.
|
|
7013
|
+
* @param {boolean | null} [arg0]
|
|
7014
|
+
*/
|
|
7015
|
+
set rotateWithCamera(arg0) {
|
|
7016
|
+
wasm.__wbg_set_textmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
7017
|
+
}
|
|
7018
|
+
/**
|
|
7019
|
+
* Rotation of the label within its own plane, about its anchor point, in
|
|
7020
|
+
* degrees, clockwise seen from the front. Applied on top of whatever
|
|
7021
|
+
* orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
|
|
7022
|
+
* billboard on screen and turns a surface label like a compass bearing.
|
|
7023
|
+
* `center` decides where inside the text the pivot sits. Defaults to
|
|
7024
|
+
* `0.0`.
|
|
7025
|
+
* @param {number | null} [arg0]
|
|
7026
|
+
*/
|
|
7027
|
+
set rotation(arg0) {
|
|
7028
|
+
wasm.__wbg_set_textmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7029
|
+
}
|
|
6639
7030
|
/**
|
|
6640
7031
|
* @param {boolean | null} [arg0]
|
|
6641
7032
|
*/
|
|
@@ -6666,6 +7057,17 @@ export class TextMaterial {
|
|
|
6666
7057
|
var len0 = WASM_VECTOR_LEN;
|
|
6667
7058
|
wasm.__wbg_set_textmaterial_textAlign(this.__wbg_ptr, ptr0, len0);
|
|
6668
7059
|
}
|
|
7060
|
+
/**
|
|
7061
|
+
* Whether the label stands up (`"upright"`, the default) or lies on the
|
|
7062
|
+
* globe surface around its anchor (`"flat"`), following its curvature so
|
|
7063
|
+
* it reads as painted on the surface. Pair with `rotateWithCamera`.
|
|
7064
|
+
* @param {string | null} [arg0]
|
|
7065
|
+
*/
|
|
7066
|
+
set textFacing(arg0) {
|
|
7067
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7068
|
+
var len0 = WASM_VECTOR_LEN;
|
|
7069
|
+
wasm.__wbg_set_textmaterial_textFacing(this.__wbg_ptr, ptr0, len0);
|
|
7070
|
+
}
|
|
6669
7071
|
/**
|
|
6670
7072
|
* @param {string | null} [arg0]
|
|
6671
7073
|
*/
|
|
@@ -7205,6 +7607,13 @@ export class TransferablePolylineBatchedFeature {
|
|
|
7205
7607
|
setPointsSizes(byte_length, f) {
|
|
7206
7608
|
wasm.transferablepolylinebatchedfeature_setPointsSizes(this.__wbg_ptr, byte_length, f);
|
|
7207
7609
|
}
|
|
7610
|
+
/**
|
|
7611
|
+
* @param {number} byte_length
|
|
7612
|
+
* @param {Function} f
|
|
7613
|
+
*/
|
|
7614
|
+
setRingFlags(byte_length, f) {
|
|
7615
|
+
wasm.transferablepolylinebatchedfeature_setRingFlags(this.__wbg_ptr, byte_length, f);
|
|
7616
|
+
}
|
|
7208
7617
|
/**
|
|
7209
7618
|
* @returns {Uint32Array}
|
|
7210
7619
|
*/
|
|
@@ -7233,6 +7642,13 @@ export class TransferablePolylineBatchedFeature {
|
|
|
7233
7642
|
const ret = wasm.transferablepolylinebatchedfeature_transferPointsSizes(this.__wbg_ptr);
|
|
7234
7643
|
return ret;
|
|
7235
7644
|
}
|
|
7645
|
+
/**
|
|
7646
|
+
* @returns {Uint8Array}
|
|
7647
|
+
*/
|
|
7648
|
+
transferRingFlags() {
|
|
7649
|
+
const ret = wasm.transferablepolylinebatchedfeature_transferRingFlags(this.__wbg_ptr);
|
|
7650
|
+
return ret;
|
|
7651
|
+
}
|
|
7236
7652
|
}
|
|
7237
7653
|
if (Symbol.dispose) TransferablePolylineBatchedFeature.prototype[Symbol.dispose] = TransferablePolylineBatchedFeature.prototype.free;
|
|
7238
7654
|
|
|
@@ -7716,6 +8132,58 @@ export function angleToRadian(degree) {
|
|
|
7716
8132
|
return ret;
|
|
7717
8133
|
}
|
|
7718
8134
|
|
|
8135
|
+
/**
|
|
8136
|
+
* Builds the geometry of one standalone polygon.
|
|
8137
|
+
*
|
|
8138
|
+
* `coordinates` holds the outer ring then the holes as `[x, y, z, ...]`, with
|
|
8139
|
+
* vertex counts in `ring_lengths`. `geocentric` reads them as ECEF metres
|
|
8140
|
+
* instead of lng/lat/height. `material` is a `polygon` layer material.
|
|
8141
|
+
*
|
|
8142
|
+
* Throws when `material` does not deserialize. Returns `undefined` when the
|
|
8143
|
+
* outer ring has fewer than three vertices or is collinear.
|
|
8144
|
+
* @param {Float64Array} coordinates
|
|
8145
|
+
* @param {Uint32Array} ring_lengths
|
|
8146
|
+
* @param {boolean} geocentric
|
|
8147
|
+
* @param {any} material
|
|
8148
|
+
* @returns {ConstructedPolygonGeometry | undefined}
|
|
8149
|
+
*/
|
|
8150
|
+
export function buildPolygonGeometry(coordinates, ring_lengths, geocentric, material) {
|
|
8151
|
+
const ptr0 = passArrayF64ToWasm0(coordinates, wasm.__wbindgen_malloc);
|
|
8152
|
+
const len0 = WASM_VECTOR_LEN;
|
|
8153
|
+
const ptr1 = passArray32ToWasm0(ring_lengths, wasm.__wbindgen_malloc);
|
|
8154
|
+
const len1 = WASM_VECTOR_LEN;
|
|
8155
|
+
const ret = wasm.buildPolygonGeometry(ptr0, len0, ptr1, len1, geocentric, material);
|
|
8156
|
+
if (ret[2]) {
|
|
8157
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
8158
|
+
}
|
|
8159
|
+
return ret[0] === 0 ? undefined : ConstructedPolygonGeometry.__wrap(ret[0]);
|
|
8160
|
+
}
|
|
8161
|
+
|
|
8162
|
+
/**
|
|
8163
|
+
* Builds the geometry of one standalone polyline.
|
|
8164
|
+
*
|
|
8165
|
+
* `coordinates` is a flat `[x, y, z, ...]` buffer, read as ECEF metres when
|
|
8166
|
+
* `geocentric`, otherwise lng/lat/height. `ring` joins a repeated first vertex
|
|
8167
|
+
* as a seam instead of two caps. `material` is a `polyline` layer material.
|
|
8168
|
+
*
|
|
8169
|
+
* Throws when `material` does not deserialize. Returns `undefined` when
|
|
8170
|
+
* fewer than two distinct positions remain.
|
|
8171
|
+
* @param {Float64Array} coordinates
|
|
8172
|
+
* @param {boolean} geocentric
|
|
8173
|
+
* @param {boolean} ring
|
|
8174
|
+
* @param {any} material
|
|
8175
|
+
* @returns {ConstructedPolylineGeometry | undefined}
|
|
8176
|
+
*/
|
|
8177
|
+
export function buildPolylineGeometry(coordinates, geocentric, ring, material) {
|
|
8178
|
+
const ptr0 = passArrayF64ToWasm0(coordinates, wasm.__wbindgen_malloc);
|
|
8179
|
+
const len0 = WASM_VECTOR_LEN;
|
|
8180
|
+
const ret = wasm.buildPolylineGeometry(ptr0, len0, geocentric, ring, material);
|
|
8181
|
+
if (ret[2]) {
|
|
8182
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
8183
|
+
}
|
|
8184
|
+
return ret[0] === 0 ? undefined : ConstructedPolylineGeometry.__wrap(ret[0]);
|
|
8185
|
+
}
|
|
8186
|
+
|
|
7719
8187
|
/**
|
|
7720
8188
|
* Run one placement pass. Returns a `hidden` flag (0 or 1) per candidate, in the
|
|
7721
8189
|
* same order as the input slice.
|
|
@@ -7989,6 +8457,42 @@ export function parseFontFamilyFromCss(family, css_text, options) {
|
|
|
7989
8457
|
return takeFromExternrefTable0(ret[0]);
|
|
7990
8458
|
}
|
|
7991
8459
|
|
|
8460
|
+
/**
|
|
8461
|
+
* `[min, max]` height a clamp-to-ground polygon volume over the extent (radians)
|
|
8462
|
+
* must span to enclose ground heights from `min_height` to `max_height`.
|
|
8463
|
+
* @param {number} min_height
|
|
8464
|
+
* @param {number} max_height
|
|
8465
|
+
* @param {number} west
|
|
8466
|
+
* @param {number} south
|
|
8467
|
+
* @param {number} east
|
|
8468
|
+
* @param {number} north
|
|
8469
|
+
* @returns {Float64Array}
|
|
8470
|
+
*/
|
|
8471
|
+
export function polygonGroundVolume(min_height, max_height, west, south, east, north) {
|
|
8472
|
+
const ret = wasm.polygonGroundVolume(min_height, max_height, west, south, east, north);
|
|
8473
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
8474
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
8475
|
+
return v1;
|
|
8476
|
+
}
|
|
8477
|
+
|
|
8478
|
+
/**
|
|
8479
|
+
* `[min, max]` height a clamp-to-ground polyline volume over the extent (radians)
|
|
8480
|
+
* must span to enclose ground heights from `min_height` to `max_height`.
|
|
8481
|
+
* @param {number} min_height
|
|
8482
|
+
* @param {number} max_height
|
|
8483
|
+
* @param {number} west
|
|
8484
|
+
* @param {number} south
|
|
8485
|
+
* @param {number} east
|
|
8486
|
+
* @param {number} north
|
|
8487
|
+
* @returns {Float64Array}
|
|
8488
|
+
*/
|
|
8489
|
+
export function polylineGroundVolume(min_height, max_height, west, south, east, north) {
|
|
8490
|
+
const ret = wasm.polylineGroundVolume(min_height, max_height, west, south, east, north);
|
|
8491
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
8492
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
8493
|
+
return v1;
|
|
8494
|
+
}
|
|
8495
|
+
|
|
7992
8496
|
/**
|
|
7993
8497
|
* Heights of a quantized-mesh tile at each `[lng, lat]` pair (radians),
|
|
7994
8498
|
* interpolated across the decoded mesh's own triangles. Returns `undefined`
|
|
@@ -8043,6 +8547,17 @@ export function sampleRasterDemHeights(rgba, decoder, x, y, z, positions) {
|
|
|
8043
8547
|
return v3;
|
|
8044
8548
|
}
|
|
8045
8549
|
|
|
8550
|
+
/**
|
|
8551
|
+
* @param {Vec3} vec3
|
|
8552
|
+
* @returns {Vec3 | undefined}
|
|
8553
|
+
*/
|
|
8554
|
+
export function scaleToGeodeticSurface(vec3) {
|
|
8555
|
+
_assertClass(vec3, Vec3);
|
|
8556
|
+
var ptr0 = vec3.__destroy_into_raw();
|
|
8557
|
+
const ret = wasm.scaleToGeodeticSurface(ptr0);
|
|
8558
|
+
return ret === 0 ? undefined : Vec3.__wrap(ret);
|
|
8559
|
+
}
|
|
8560
|
+
|
|
8046
8561
|
/**
|
|
8047
8562
|
* @param {Window} window
|
|
8048
8563
|
* @param {Transform} transform
|
|
@@ -8144,10 +8659,14 @@ export function xyzToGeodetic(vec3) {
|
|
|
8144
8659
|
function __wbg_get_imports() {
|
|
8145
8660
|
const import0 = {
|
|
8146
8661
|
__proto__: null,
|
|
8147
|
-
|
|
8662
|
+
__wbg_Error_408e67f47ca7b58b: function(arg0, arg1) {
|
|
8148
8663
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
8149
8664
|
return ret;
|
|
8150
8665
|
},
|
|
8666
|
+
__wbg_Number_3890faa6d3ff057d: function(arg0) {
|
|
8667
|
+
const ret = Number(arg0);
|
|
8668
|
+
return ret;
|
|
8669
|
+
},
|
|
8151
8670
|
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
8152
8671
|
const ret = String(arg1);
|
|
8153
8672
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -8155,68 +8674,68 @@ function __wbg_get_imports() {
|
|
|
8155
8674
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
8156
8675
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8157
8676
|
},
|
|
8158
|
-
|
|
8677
|
+
__wbg___wbindgen_bigint_get_as_i64_c4ecf48528083721: function(arg0, arg1) {
|
|
8159
8678
|
const v = arg1;
|
|
8160
8679
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
8161
8680
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
8162
8681
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
8163
8682
|
},
|
|
8164
|
-
|
|
8683
|
+
__wbg___wbindgen_boolean_get_c9c83ebd41b34df3: function(arg0) {
|
|
8165
8684
|
const v = arg0;
|
|
8166
8685
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
8167
8686
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
8168
8687
|
},
|
|
8169
|
-
|
|
8688
|
+
__wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(arg0, arg1) {
|
|
8170
8689
|
const ret = debugString(arg1);
|
|
8171
8690
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
8172
8691
|
const len1 = WASM_VECTOR_LEN;
|
|
8173
8692
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
8174
8693
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8175
8694
|
},
|
|
8176
|
-
|
|
8695
|
+
__wbg___wbindgen_in_ac983077f137f2e6: function(arg0, arg1) {
|
|
8177
8696
|
const ret = arg0 in arg1;
|
|
8178
8697
|
return ret;
|
|
8179
8698
|
},
|
|
8180
|
-
|
|
8699
|
+
__wbg___wbindgen_is_bigint_8ffbbef442139384: function(arg0) {
|
|
8181
8700
|
const ret = typeof(arg0) === 'bigint';
|
|
8182
8701
|
return ret;
|
|
8183
8702
|
},
|
|
8184
|
-
|
|
8703
|
+
__wbg___wbindgen_is_function_5e4570eb24ffa122: function(arg0) {
|
|
8185
8704
|
const ret = typeof(arg0) === 'function';
|
|
8186
8705
|
return ret;
|
|
8187
8706
|
},
|
|
8188
|
-
|
|
8707
|
+
__wbg___wbindgen_is_null_7d13f41e1a2d5140: function(arg0) {
|
|
8189
8708
|
const ret = arg0 === null;
|
|
8190
8709
|
return ret;
|
|
8191
8710
|
},
|
|
8192
|
-
|
|
8711
|
+
__wbg___wbindgen_is_object_a2790eb24c211ea0: function(arg0) {
|
|
8193
8712
|
const val = arg0;
|
|
8194
8713
|
const ret = typeof(val) === 'object' && val !== null;
|
|
8195
8714
|
return ret;
|
|
8196
8715
|
},
|
|
8197
|
-
|
|
8716
|
+
__wbg___wbindgen_is_undefined_6cff064c44e0d823: function(arg0) {
|
|
8198
8717
|
const ret = arg0 === undefined;
|
|
8199
8718
|
return ret;
|
|
8200
8719
|
},
|
|
8201
|
-
|
|
8720
|
+
__wbg___wbindgen_jsval_eq_0a18949a61670320: function(arg0, arg1) {
|
|
8202
8721
|
const ret = arg0 === arg1;
|
|
8203
8722
|
return ret;
|
|
8204
8723
|
},
|
|
8205
|
-
|
|
8724
|
+
__wbg___wbindgen_jsval_loose_eq_acf2776254a8d832: function(arg0, arg1) {
|
|
8206
8725
|
const ret = arg0 == arg1;
|
|
8207
8726
|
return ret;
|
|
8208
8727
|
},
|
|
8209
|
-
|
|
8728
|
+
__wbg___wbindgen_memory_5dc2a138835b0f8e: function() {
|
|
8210
8729
|
const ret = wasm.memory;
|
|
8211
8730
|
return ret;
|
|
8212
8731
|
},
|
|
8213
|
-
|
|
8732
|
+
__wbg___wbindgen_number_get_136b9679cab35cfb: function(arg0, arg1) {
|
|
8214
8733
|
const obj = arg1;
|
|
8215
8734
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
8216
8735
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
8217
8736
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
8218
8737
|
},
|
|
8219
|
-
|
|
8738
|
+
__wbg___wbindgen_string_get_d154f1e671052120: function(arg0, arg1) {
|
|
8220
8739
|
const obj = arg1;
|
|
8221
8740
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
8222
8741
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -8224,38 +8743,46 @@ function __wbg_get_imports() {
|
|
|
8224
8743
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
8225
8744
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8226
8745
|
},
|
|
8227
|
-
|
|
8746
|
+
__wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
|
|
8228
8747
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
8229
8748
|
},
|
|
8230
|
-
|
|
8749
|
+
__wbg_buffer_8117fe4dab119813: function(arg0) {
|
|
8231
8750
|
const ret = arg0.buffer;
|
|
8232
8751
|
return ret;
|
|
8233
8752
|
},
|
|
8234
|
-
|
|
8753
|
+
__wbg_call_1c5886ab9c57d1c7: function() { return handleError(function (arg0, arg1) {
|
|
8235
8754
|
const ret = arg0.call(arg1);
|
|
8236
8755
|
return ret;
|
|
8237
8756
|
}, arguments); },
|
|
8238
|
-
|
|
8757
|
+
__wbg_call_35dba3c747ad7521: function() { return handleError(function (arg0, arg1, arg2) {
|
|
8239
8758
|
const ret = arg0.call(arg1, arg2);
|
|
8240
8759
|
return ret;
|
|
8241
8760
|
}, arguments); },
|
|
8242
|
-
|
|
8761
|
+
__wbg_done_669171204c3dcae2: function(arg0) {
|
|
8243
8762
|
const ret = arg0.done;
|
|
8244
8763
|
return ret;
|
|
8245
8764
|
},
|
|
8246
|
-
|
|
8765
|
+
__wbg_dracoattributeid_new: function(arg0) {
|
|
8766
|
+
const ret = DracoAttributeId.__wrap(arg0);
|
|
8767
|
+
return ret;
|
|
8768
|
+
},
|
|
8769
|
+
__wbg_dracoattributeid_unwrap: function(arg0) {
|
|
8770
|
+
const ret = DracoAttributeId.__unwrap(arg0);
|
|
8771
|
+
return ret;
|
|
8772
|
+
},
|
|
8773
|
+
__wbg_entries_7774d489e1da5f4f: function(arg0) {
|
|
8247
8774
|
const ret = Object.entries(arg0);
|
|
8248
8775
|
return ret;
|
|
8249
8776
|
},
|
|
8250
|
-
|
|
8777
|
+
__wbg_get_c0c8f8d7da0c03dd: function(arg0, arg1) {
|
|
8251
8778
|
const ret = arg0[arg1 >>> 0];
|
|
8252
8779
|
return ret;
|
|
8253
8780
|
},
|
|
8254
|
-
|
|
8781
|
+
__wbg_get_d173c0308df22d37: function() { return handleError(function (arg0, arg1) {
|
|
8255
8782
|
const ret = Reflect.get(arg0, arg1);
|
|
8256
8783
|
return ret;
|
|
8257
8784
|
}, arguments); },
|
|
8258
|
-
|
|
8785
|
+
__wbg_get_unchecked_e20b893aeafc3fca: function(arg0, arg1) {
|
|
8259
8786
|
const ret = arg0[arg1 >>> 0];
|
|
8260
8787
|
return ret;
|
|
8261
8788
|
},
|
|
@@ -8263,7 +8790,7 @@ function __wbg_get_imports() {
|
|
|
8263
8790
|
const ret = arg0[arg1];
|
|
8264
8791
|
return ret;
|
|
8265
8792
|
},
|
|
8266
|
-
|
|
8793
|
+
__wbg_instanceof_ArrayBuffer_993d02d2d254cad1: function(arg0) {
|
|
8267
8794
|
let result;
|
|
8268
8795
|
try {
|
|
8269
8796
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -8273,7 +8800,7 @@ function __wbg_get_imports() {
|
|
|
8273
8800
|
const ret = result;
|
|
8274
8801
|
return ret;
|
|
8275
8802
|
},
|
|
8276
|
-
|
|
8803
|
+
__wbg_instanceof_Map_9a4d6ead180ae3a9: function(arg0) {
|
|
8277
8804
|
let result;
|
|
8278
8805
|
try {
|
|
8279
8806
|
result = arg0 instanceof Map;
|
|
@@ -8283,7 +8810,7 @@ function __wbg_get_imports() {
|
|
|
8283
8810
|
const ret = result;
|
|
8284
8811
|
return ret;
|
|
8285
8812
|
},
|
|
8286
|
-
|
|
8813
|
+
__wbg_instanceof_Uint8Array_f935dbb0aa7cdeed: function(arg0) {
|
|
8287
8814
|
let result;
|
|
8288
8815
|
try {
|
|
8289
8816
|
result = arg0 instanceof Uint8Array;
|
|
@@ -8293,35 +8820,35 @@ function __wbg_get_imports() {
|
|
|
8293
8820
|
const ret = result;
|
|
8294
8821
|
return ret;
|
|
8295
8822
|
},
|
|
8296
|
-
|
|
8823
|
+
__wbg_isArray_6339f732981044bf: function(arg0) {
|
|
8297
8824
|
const ret = Array.isArray(arg0);
|
|
8298
8825
|
return ret;
|
|
8299
8826
|
},
|
|
8300
|
-
|
|
8827
|
+
__wbg_isSafeInteger_f3d6cd19ccfe4512: function(arg0) {
|
|
8301
8828
|
const ret = Number.isSafeInteger(arg0);
|
|
8302
8829
|
return ret;
|
|
8303
8830
|
},
|
|
8304
|
-
|
|
8831
|
+
__wbg_iterator_5cebbb86e33c6dd6: function() {
|
|
8305
8832
|
const ret = Symbol.iterator;
|
|
8306
8833
|
return ret;
|
|
8307
8834
|
},
|
|
8308
|
-
|
|
8835
|
+
__wbg_length_1009454859bb3e03: function(arg0) {
|
|
8309
8836
|
const ret = arg0.length;
|
|
8310
8837
|
return ret;
|
|
8311
8838
|
},
|
|
8312
|
-
|
|
8839
|
+
__wbg_length_36bd29c6848c2144: function(arg0) {
|
|
8313
8840
|
const ret = arg0.length;
|
|
8314
8841
|
return ret;
|
|
8315
8842
|
},
|
|
8316
|
-
|
|
8843
|
+
__wbg_length_46f80504ebb6ebb4: function(arg0) {
|
|
8317
8844
|
const ret = arg0.length;
|
|
8318
8845
|
return ret;
|
|
8319
8846
|
},
|
|
8320
|
-
|
|
8847
|
+
__wbg_length_7528cf2a241bef97: function(arg0) {
|
|
8321
8848
|
const ret = arg0.length;
|
|
8322
8849
|
return ret;
|
|
8323
8850
|
},
|
|
8324
|
-
|
|
8851
|
+
__wbg_length_ecfa2c63d3d0d82c: function(arg0) {
|
|
8325
8852
|
const ret = arg0.length;
|
|
8326
8853
|
return ret;
|
|
8327
8854
|
},
|
|
@@ -8329,80 +8856,80 @@ function __wbg_get_imports() {
|
|
|
8329
8856
|
const ret = LLE.__wrap(arg0);
|
|
8330
8857
|
return ret;
|
|
8331
8858
|
},
|
|
8332
|
-
|
|
8859
|
+
__wbg_log_12e4fe682663fedd: function(arg0, arg1) {
|
|
8333
8860
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
8334
8861
|
},
|
|
8335
|
-
|
|
8862
|
+
__wbg_new_078f4f4b1eaabdec: function(arg0) {
|
|
8863
|
+
const ret = new Float32Array(arg0);
|
|
8864
|
+
return ret;
|
|
8865
|
+
},
|
|
8866
|
+
__wbg_new_116be93542d39019: function() {
|
|
8336
8867
|
const ret = new Array();
|
|
8337
8868
|
return ret;
|
|
8338
8869
|
},
|
|
8339
|
-
|
|
8870
|
+
__wbg_new_2aa179ec5b1fefa8: function(arg0) {
|
|
8340
8871
|
const ret = new Float64Array(arg0);
|
|
8341
8872
|
return ret;
|
|
8342
8873
|
},
|
|
8343
|
-
|
|
8344
|
-
const ret = new
|
|
8874
|
+
__wbg_new_68c044c0b3877148: function(arg0) {
|
|
8875
|
+
const ret = new Uint32Array(arg0);
|
|
8345
8876
|
return ret;
|
|
8346
8877
|
},
|
|
8347
|
-
|
|
8878
|
+
__wbg_new_77cc4f4f472aeb81: function(arg0) {
|
|
8348
8879
|
const ret = new Uint8Array(arg0);
|
|
8349
8880
|
return ret;
|
|
8350
8881
|
},
|
|
8351
|
-
|
|
8882
|
+
__wbg_new_ebe3e0f6837f0879: function() {
|
|
8352
8883
|
const ret = new Object();
|
|
8353
8884
|
return ret;
|
|
8354
8885
|
},
|
|
8355
|
-
|
|
8356
|
-
const ret = new Uint32Array(arg0);
|
|
8357
|
-
return ret;
|
|
8358
|
-
},
|
|
8359
|
-
__wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
|
|
8360
|
-
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
8886
|
+
__wbg_new_with_byte_offset_and_length_042855770b1f0cf5: function(arg0, arg1, arg2) {
|
|
8887
|
+
const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
8361
8888
|
return ret;
|
|
8362
8889
|
},
|
|
8363
|
-
|
|
8890
|
+
__wbg_new_with_byte_offset_and_length_8a19fd6506a908ea: function(arg0, arg1, arg2) {
|
|
8364
8891
|
const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
8365
8892
|
return ret;
|
|
8366
8893
|
},
|
|
8367
|
-
|
|
8368
|
-
const ret = new
|
|
8369
|
-
return ret;
|
|
8370
|
-
},
|
|
8371
|
-
__wbg_next_6dbf2c0ac8cde20f: function(arg0) {
|
|
8372
|
-
const ret = arg0.next;
|
|
8894
|
+
__wbg_new_with_byte_offset_and_length_ff6e927f8d72f0c3: function(arg0, arg1, arg2) {
|
|
8895
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
8373
8896
|
return ret;
|
|
8374
8897
|
},
|
|
8375
|
-
|
|
8898
|
+
__wbg_next_42cf16ee0dafc9e2: function() { return handleError(function (arg0) {
|
|
8376
8899
|
const ret = arg0.next();
|
|
8377
8900
|
return ret;
|
|
8378
8901
|
}, arguments); },
|
|
8379
|
-
|
|
8902
|
+
__wbg_next_8f26b64fa5e9f64b: function(arg0) {
|
|
8903
|
+
const ret = arg0.next;
|
|
8904
|
+
return ret;
|
|
8905
|
+
},
|
|
8906
|
+
__wbg_prototypesetcall_de8e0d9553586985: function(arg0, arg1, arg2) {
|
|
8380
8907
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
8381
8908
|
},
|
|
8382
|
-
|
|
8909
|
+
__wbg_push_adb0107829f02d75: function(arg0, arg1) {
|
|
8383
8910
|
const ret = arg0.push(arg1);
|
|
8384
8911
|
return ret;
|
|
8385
8912
|
},
|
|
8386
|
-
|
|
8387
|
-
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
8388
|
-
},
|
|
8389
|
-
__wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
|
|
8913
|
+
__wbg_set_22c3e3730946c809: function(arg0, arg1, arg2) {
|
|
8390
8914
|
arg0.set(getArrayF64FromWasm0(arg1, arg2));
|
|
8391
8915
|
},
|
|
8392
|
-
|
|
8393
|
-
arg0.set(
|
|
8916
|
+
__wbg_set_577f5f7485b6744e: function(arg0, arg1, arg2) {
|
|
8917
|
+
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
8394
8918
|
},
|
|
8395
8919
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
8396
8920
|
arg0[arg1] = arg2;
|
|
8397
8921
|
},
|
|
8398
|
-
|
|
8922
|
+
__wbg_set_8155bb79a948541b: function() { return handleError(function (arg0, arg1, arg2) {
|
|
8399
8923
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
8400
8924
|
return ret;
|
|
8401
8925
|
}, arguments); },
|
|
8402
|
-
|
|
8926
|
+
__wbg_set_a80955eb93b145c6: function(arg0, arg1, arg2) {
|
|
8403
8927
|
arg0[arg1 >>> 0] = arg2;
|
|
8404
8928
|
},
|
|
8405
|
-
|
|
8929
|
+
__wbg_set_b9b5b5cb7b495037: function(arg0, arg1, arg2) {
|
|
8930
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
8931
|
+
},
|
|
8932
|
+
__wbg_set_e575799cdfbae72f: function(arg0, arg1, arg2) {
|
|
8406
8933
|
arg0.set(getArrayU32FromWasm0(arg1, arg2));
|
|
8407
8934
|
},
|
|
8408
8935
|
__wbg_texturefragment_new: function(arg0) {
|
|
@@ -8413,7 +8940,7 @@ function __wbg_get_imports() {
|
|
|
8413
8940
|
const ret = TileUvTransform.__wrap(arg0);
|
|
8414
8941
|
return ret;
|
|
8415
8942
|
},
|
|
8416
|
-
|
|
8943
|
+
__wbg_value_1e2369fab29b420e: function(arg0) {
|
|
8417
8944
|
const ret = arg0.value;
|
|
8418
8945
|
return ret;
|
|
8419
8946
|
},
|
|
@@ -8498,6 +9025,9 @@ const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegist
|
|
|
8498
9025
|
const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8499
9026
|
? { register: () => {}, unregister: () => {} }
|
|
8500
9027
|
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
|
|
9028
|
+
const DracoAttributeIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
9029
|
+
? { register: () => {}, unregister: () => {} }
|
|
9030
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dracoattributeid_free(ptr, 1));
|
|
8501
9031
|
const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8502
9032
|
? { register: () => {}, unregister: () => {} }
|
|
8503
9033
|
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
|