@navaramap/engine-font-worker 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_font_worker.d.ts +263 -27
- package/navara_wasm_font_worker.js +496 -81
- package/navara_wasm_font_worker_bg.wasm +0 -0
- package/package.json +2 -2
|
@@ -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
|
*/
|
|
@@ -1732,6 +1817,72 @@ export class ConstructedPolylineGeometry {
|
|
|
1732
1817
|
}
|
|
1733
1818
|
if (Symbol.dispose) ConstructedPolylineGeometry.prototype[Symbol.dispose] = ConstructedPolylineGeometry.prototype.free;
|
|
1734
1819
|
|
|
1820
|
+
/**
|
|
1821
|
+
* Maps a 3D Tiles feature table semantic (`POSITION`, `RGB`, ...) to its
|
|
1822
|
+
* Draco unique attribute id.
|
|
1823
|
+
*/
|
|
1824
|
+
export class DracoAttributeId {
|
|
1825
|
+
static __wrap(ptr) {
|
|
1826
|
+
const obj = Object.create(DracoAttributeId.prototype);
|
|
1827
|
+
obj.__wbg_ptr = ptr;
|
|
1828
|
+
DracoAttributeIdFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1829
|
+
return obj;
|
|
1830
|
+
}
|
|
1831
|
+
static __unwrap(jsValue) {
|
|
1832
|
+
if (!(jsValue instanceof DracoAttributeId)) {
|
|
1833
|
+
return 0;
|
|
1834
|
+
}
|
|
1835
|
+
return jsValue.__destroy_into_raw();
|
|
1836
|
+
}
|
|
1837
|
+
__destroy_into_raw() {
|
|
1838
|
+
const ptr = this.__wbg_ptr;
|
|
1839
|
+
this.__wbg_ptr = 0;
|
|
1840
|
+
DracoAttributeIdFinalization.unregister(this);
|
|
1841
|
+
return ptr;
|
|
1842
|
+
}
|
|
1843
|
+
free() {
|
|
1844
|
+
const ptr = this.__destroy_into_raw();
|
|
1845
|
+
wasm.__wbg_dracoattributeid_free(ptr, 0);
|
|
1846
|
+
}
|
|
1847
|
+
/**
|
|
1848
|
+
* @returns {string}
|
|
1849
|
+
*/
|
|
1850
|
+
get semantic() {
|
|
1851
|
+
let deferred1_0;
|
|
1852
|
+
let deferred1_1;
|
|
1853
|
+
try {
|
|
1854
|
+
const ret = wasm.__wbg_get_dracoattributeid_semantic(this.__wbg_ptr);
|
|
1855
|
+
deferred1_0 = ret[0];
|
|
1856
|
+
deferred1_1 = ret[1];
|
|
1857
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
1858
|
+
} finally {
|
|
1859
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* @returns {number}
|
|
1864
|
+
*/
|
|
1865
|
+
get uniqueId() {
|
|
1866
|
+
const ret = wasm.__wbg_get_dracoattributeid_uniqueId(this.__wbg_ptr);
|
|
1867
|
+
return ret >>> 0;
|
|
1868
|
+
}
|
|
1869
|
+
/**
|
|
1870
|
+
* @param {string} arg0
|
|
1871
|
+
*/
|
|
1872
|
+
set semantic(arg0) {
|
|
1873
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1874
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1875
|
+
wasm.__wbg_set_dracoattributeid_semantic(this.__wbg_ptr, ptr0, len0);
|
|
1876
|
+
}
|
|
1877
|
+
/**
|
|
1878
|
+
* @param {number} arg0
|
|
1879
|
+
*/
|
|
1880
|
+
set uniqueId(arg0) {
|
|
1881
|
+
wasm.__wbg_set_dracoattributeid_uniqueId(this.__wbg_ptr, arg0);
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
if (Symbol.dispose) DracoAttributeId.prototype[Symbol.dispose] = DracoAttributeId.prototype.free;
|
|
1885
|
+
|
|
1735
1886
|
export class ElevationDecoder {
|
|
1736
1887
|
static __wrap(ptr) {
|
|
1737
1888
|
const obj = Object.create(ElevationDecoder.prototype);
|
|
@@ -3042,11 +3193,16 @@ export class ModelInternalMaterial {
|
|
|
3042
3193
|
wasm.__wbg_modelinternalmaterial_free(ptr, 0);
|
|
3043
3194
|
}
|
|
3044
3195
|
/**
|
|
3045
|
-
* @returns {
|
|
3196
|
+
* @returns {DracoAttributeId[] | undefined}
|
|
3046
3197
|
*/
|
|
3047
|
-
get
|
|
3048
|
-
const ret = wasm.
|
|
3049
|
-
|
|
3198
|
+
get dracoAttributes() {
|
|
3199
|
+
const ret = wasm.__wbg_get_modelinternalmaterial_dracoAttributes(this.__wbg_ptr);
|
|
3200
|
+
let v1;
|
|
3201
|
+
if (ret[0] !== 0) {
|
|
3202
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
3203
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
3204
|
+
}
|
|
3205
|
+
return v1;
|
|
3050
3206
|
}
|
|
3051
3207
|
/**
|
|
3052
3208
|
* @returns {Vec3}
|
|
@@ -3063,10 +3219,12 @@ export class ModelInternalMaterial {
|
|
|
3063
3219
|
return ret !== 0;
|
|
3064
3220
|
}
|
|
3065
3221
|
/**
|
|
3066
|
-
* @param {
|
|
3222
|
+
* @param {DracoAttributeId[] | null} [arg0]
|
|
3067
3223
|
*/
|
|
3068
|
-
set
|
|
3069
|
-
|
|
3224
|
+
set dracoAttributes(arg0) {
|
|
3225
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
3226
|
+
var len0 = WASM_VECTOR_LEN;
|
|
3227
|
+
wasm.__wbg_set_modelinternalmaterial_dracoAttributes(this.__wbg_ptr, ptr0, len0);
|
|
3070
3228
|
}
|
|
3071
3229
|
/**
|
|
3072
3230
|
* @param {Vec3} arg0
|
|
@@ -3182,7 +3340,7 @@ export class ModelMaterial {
|
|
|
3182
3340
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3183
3341
|
}
|
|
3184
3342
|
/**
|
|
3185
|
-
* Emissive glow intensity (
|
|
3343
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
3186
3344
|
* @returns {number | undefined}
|
|
3187
3345
|
*/
|
|
3188
3346
|
get emissiveIntensity() {
|
|
@@ -3444,7 +3602,7 @@ export class ModelMaterial {
|
|
|
3444
3602
|
wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
3445
3603
|
}
|
|
3446
3604
|
/**
|
|
3447
|
-
* Emissive glow intensity (
|
|
3605
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
3448
3606
|
* @param {number | null} [arg0]
|
|
3449
3607
|
*/
|
|
3450
3608
|
set emissiveIntensity(arg0) {
|
|
@@ -3727,6 +3885,17 @@ export class PointMaterial {
|
|
|
3727
3885
|
const ptr = this.__destroy_into_raw();
|
|
3728
3886
|
wasm.__wbg_pointmaterial_free(ptr, 0);
|
|
3729
3887
|
}
|
|
3888
|
+
/**
|
|
3889
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
3890
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
3891
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
3892
|
+
* over the horizon, which face away from the camera.
|
|
3893
|
+
* @returns {boolean | undefined}
|
|
3894
|
+
*/
|
|
3895
|
+
get backfaceCulling() {
|
|
3896
|
+
const ret = wasm.__wbg_get_pointmaterial_backfaceCulling(this.__wbg_ptr);
|
|
3897
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3898
|
+
}
|
|
3730
3899
|
/**
|
|
3731
3900
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
3732
3901
|
* Default is (0.0, 0.0) which means the center of the sprite.
|
|
@@ -3798,7 +3967,7 @@ export class PointMaterial {
|
|
|
3798
3967
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3799
3968
|
}
|
|
3800
3969
|
/**
|
|
3801
|
-
* Emissive glow intensity (
|
|
3970
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
3802
3971
|
* @returns {number | undefined}
|
|
3803
3972
|
*/
|
|
3804
3973
|
get emissiveIntensity() {
|
|
@@ -3842,6 +4011,41 @@ export class PointMaterial {
|
|
|
3842
4011
|
const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
|
|
3843
4012
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3844
4013
|
}
|
|
4014
|
+
/**
|
|
4015
|
+
* Whether the point stands up (`"upright"`, the default) or lies on the
|
|
4016
|
+
* globe surface around its anchor (`"flat"`). Pair with
|
|
4017
|
+
* `rotateWithCamera`.
|
|
4018
|
+
* @returns {string | undefined}
|
|
4019
|
+
*/
|
|
4020
|
+
get pointFacing() {
|
|
4021
|
+
const ret = wasm.__wbg_get_pointmaterial_pointFacing(this.__wbg_ptr);
|
|
4022
|
+
let v1;
|
|
4023
|
+
if (ret[0] !== 0) {
|
|
4024
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
4025
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
4026
|
+
}
|
|
4027
|
+
return v1;
|
|
4028
|
+
}
|
|
4029
|
+
/**
|
|
4030
|
+
* Whether the point turns to follow the camera. `true` (the default)
|
|
4031
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
4032
|
+
* east-north-up frame, so moving the camera never reorients it.
|
|
4033
|
+
* @returns {boolean | undefined}
|
|
4034
|
+
*/
|
|
4035
|
+
get rotateWithCamera() {
|
|
4036
|
+
const ret = wasm.__wbg_get_pointmaterial_rotateWithCamera(this.__wbg_ptr);
|
|
4037
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
4038
|
+
}
|
|
4039
|
+
/**
|
|
4040
|
+
* Rotation of the point within its own plane, about its anchor point, in
|
|
4041
|
+
* degrees, clockwise seen from the front. `center` decides where inside
|
|
4042
|
+
* the quad the pivot sits. Defaults to `0.0`.
|
|
4043
|
+
* @returns {number | undefined}
|
|
4044
|
+
*/
|
|
4045
|
+
get rotation() {
|
|
4046
|
+
const ret = wasm.__wbg_get_pointmaterial_rotation(this.__wbg_ptr);
|
|
4047
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4048
|
+
}
|
|
3845
4049
|
/**
|
|
3846
4050
|
* @returns {boolean | undefined}
|
|
3847
4051
|
*/
|
|
@@ -3872,6 +4076,16 @@ export class PointMaterial {
|
|
|
3872
4076
|
const ret = wasm.__wbg_get_pointmaterial_transparent(this.__wbg_ptr);
|
|
3873
4077
|
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3874
4078
|
}
|
|
4079
|
+
/**
|
|
4080
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
4081
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
4082
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
4083
|
+
* over the horizon, which face away from the camera.
|
|
4084
|
+
* @param {boolean | null} [arg0]
|
|
4085
|
+
*/
|
|
4086
|
+
set backfaceCulling(arg0) {
|
|
4087
|
+
wasm.__wbg_set_pointmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
4088
|
+
}
|
|
3875
4089
|
/**
|
|
3876
4090
|
* anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
|
|
3877
4091
|
* Default is (0.0, 0.0) which means the center of the sprite.
|
|
@@ -3937,7 +4151,7 @@ export class PointMaterial {
|
|
|
3937
4151
|
wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
3938
4152
|
}
|
|
3939
4153
|
/**
|
|
3940
|
-
* Emissive glow intensity (
|
|
4154
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
3941
4155
|
* @param {number | null} [arg0]
|
|
3942
4156
|
*/
|
|
3943
4157
|
set emissiveIntensity(arg0) {
|
|
@@ -3973,6 +4187,35 @@ export class PointMaterial {
|
|
|
3973
4187
|
set opacity(arg0) {
|
|
3974
4188
|
wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3975
4189
|
}
|
|
4190
|
+
/**
|
|
4191
|
+
* Whether the point stands up (`"upright"`, the default) or lies on the
|
|
4192
|
+
* globe surface around its anchor (`"flat"`). Pair with
|
|
4193
|
+
* `rotateWithCamera`.
|
|
4194
|
+
* @param {string | null} [arg0]
|
|
4195
|
+
*/
|
|
4196
|
+
set pointFacing(arg0) {
|
|
4197
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4198
|
+
var len0 = WASM_VECTOR_LEN;
|
|
4199
|
+
wasm.__wbg_set_pointmaterial_pointFacing(this.__wbg_ptr, ptr0, len0);
|
|
4200
|
+
}
|
|
4201
|
+
/**
|
|
4202
|
+
* Whether the point turns to follow the camera. `true` (the default)
|
|
4203
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
4204
|
+
* east-north-up frame, so moving the camera never reorients it.
|
|
4205
|
+
* @param {boolean | null} [arg0]
|
|
4206
|
+
*/
|
|
4207
|
+
set rotateWithCamera(arg0) {
|
|
4208
|
+
wasm.__wbg_set_pointmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
4209
|
+
}
|
|
4210
|
+
/**
|
|
4211
|
+
* Rotation of the point within its own plane, about its anchor point, in
|
|
4212
|
+
* degrees, clockwise seen from the front. `center` decides where inside
|
|
4213
|
+
* the quad the pivot sits. Defaults to `0.0`.
|
|
4214
|
+
* @param {number | null} [arg0]
|
|
4215
|
+
*/
|
|
4216
|
+
set rotation(arg0) {
|
|
4217
|
+
wasm.__wbg_set_pointmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4218
|
+
}
|
|
3976
4219
|
/**
|
|
3977
4220
|
* @param {boolean | null} [arg0]
|
|
3978
4221
|
*/
|
|
@@ -4338,7 +4581,7 @@ export class PolygonMaterial {
|
|
|
4338
4581
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4339
4582
|
}
|
|
4340
4583
|
/**
|
|
4341
|
-
* Emissive glow intensity (
|
|
4584
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
4342
4585
|
* @returns {number | undefined}
|
|
4343
4586
|
*/
|
|
4344
4587
|
get emissiveIntensity() {
|
|
@@ -4614,7 +4857,7 @@ export class PolygonMaterial {
|
|
|
4614
4857
|
wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
4615
4858
|
}
|
|
4616
4859
|
/**
|
|
4617
|
-
* Emissive glow intensity (
|
|
4860
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
4618
4861
|
* @param {number | null} [arg0]
|
|
4619
4862
|
*/
|
|
4620
4863
|
set emissiveIntensity(arg0) {
|
|
@@ -5324,7 +5567,7 @@ export class PolylineMaterial {
|
|
|
5324
5567
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5325
5568
|
}
|
|
5326
5569
|
/**
|
|
5327
|
-
* Emissive glow intensity (
|
|
5570
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
5328
5571
|
* @returns {number | undefined}
|
|
5329
5572
|
*/
|
|
5330
5573
|
get emissiveIntensity() {
|
|
@@ -5499,7 +5742,7 @@ export class PolylineMaterial {
|
|
|
5499
5742
|
wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
5500
5743
|
}
|
|
5501
5744
|
/**
|
|
5502
|
-
* Emissive glow intensity (
|
|
5745
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
5503
5746
|
* @param {number | null} [arg0]
|
|
5504
5747
|
*/
|
|
5505
5748
|
set emissiveIntensity(arg0) {
|
|
@@ -6684,6 +6927,17 @@ export class TextMaterial {
|
|
|
6684
6927
|
const ptr = this.__destroy_into_raw();
|
|
6685
6928
|
wasm.__wbg_textmaterial_free(ptr, 0);
|
|
6686
6929
|
}
|
|
6930
|
+
/**
|
|
6931
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
6932
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
6933
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
6934
|
+
* over the horizon, which face away from the camera.
|
|
6935
|
+
* @returns {boolean | undefined}
|
|
6936
|
+
*/
|
|
6937
|
+
get backfaceCulling() {
|
|
6938
|
+
const ret = wasm.__wbg_get_textmaterial_backfaceCulling(this.__wbg_ptr);
|
|
6939
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
6940
|
+
}
|
|
6687
6941
|
/**
|
|
6688
6942
|
* @returns {number | undefined}
|
|
6689
6943
|
*/
|
|
@@ -6752,6 +7006,35 @@ export class TextMaterial {
|
|
|
6752
7006
|
const ret = wasm.__wbg_get_textmaterial_depthTest(this.__wbg_ptr);
|
|
6753
7007
|
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
6754
7008
|
}
|
|
7009
|
+
/**
|
|
7010
|
+
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
7011
|
+
* @returns {string[] | undefined}
|
|
7012
|
+
*/
|
|
7013
|
+
get effectIds() {
|
|
7014
|
+
const ret = wasm.__wbg_get_textmaterial_effectIds(this.__wbg_ptr);
|
|
7015
|
+
let v1;
|
|
7016
|
+
if (ret[0] !== 0) {
|
|
7017
|
+
v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
7018
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
7019
|
+
}
|
|
7020
|
+
return v1;
|
|
7021
|
+
}
|
|
7022
|
+
/**
|
|
7023
|
+
* Emissive glow color in 0xRRGGBB format
|
|
7024
|
+
* @returns {number | undefined}
|
|
7025
|
+
*/
|
|
7026
|
+
get emissiveColor() {
|
|
7027
|
+
const ret = wasm.__wbg_get_textmaterial_emissiveColor(this.__wbg_ptr);
|
|
7028
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7029
|
+
}
|
|
7030
|
+
/**
|
|
7031
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
7032
|
+
* @returns {number | undefined}
|
|
7033
|
+
*/
|
|
7034
|
+
get emissiveIntensity() {
|
|
7035
|
+
const ret = wasm.__wbg_get_textmaterial_emissiveIntensity(this.__wbg_ptr);
|
|
7036
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7037
|
+
}
|
|
6755
7038
|
/**
|
|
6756
7039
|
* Specifies either the URL of a single font file or the `family` name of a font family
|
|
6757
7040
|
* previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf,
|
|
@@ -6883,6 +7166,31 @@ export class TextMaterial {
|
|
|
6883
7166
|
const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
|
|
6884
7167
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
6885
7168
|
}
|
|
7169
|
+
/**
|
|
7170
|
+
* Whether the label turns to follow the camera. `true` (the default)
|
|
7171
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
7172
|
+
* east-north-up frame, so moving the camera never reorients it: with
|
|
7173
|
+
* `textFacing: "upright"` it becomes a signboard standing on the
|
|
7174
|
+
* surface, with `"flat"` a north-up label painted on it.
|
|
7175
|
+
* @returns {boolean | undefined}
|
|
7176
|
+
*/
|
|
7177
|
+
get rotateWithCamera() {
|
|
7178
|
+
const ret = wasm.__wbg_get_textmaterial_rotateWithCamera(this.__wbg_ptr);
|
|
7179
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
7180
|
+
}
|
|
7181
|
+
/**
|
|
7182
|
+
* Rotation of the label within its own plane, about its anchor point, in
|
|
7183
|
+
* degrees, clockwise seen from the front. Applied on top of whatever
|
|
7184
|
+
* orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
|
|
7185
|
+
* billboard on screen and turns a surface label like a compass bearing.
|
|
7186
|
+
* `center` decides where inside the text the pivot sits. Defaults to
|
|
7187
|
+
* `0.0`.
|
|
7188
|
+
* @returns {number | undefined}
|
|
7189
|
+
*/
|
|
7190
|
+
get rotation() {
|
|
7191
|
+
const ret = wasm.__wbg_get_textmaterial_rotation(this.__wbg_ptr);
|
|
7192
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
7193
|
+
}
|
|
6886
7194
|
/**
|
|
6887
7195
|
* @returns {boolean | undefined}
|
|
6888
7196
|
*/
|
|
@@ -6920,6 +7228,21 @@ export class TextMaterial {
|
|
|
6920
7228
|
}
|
|
6921
7229
|
return v1;
|
|
6922
7230
|
}
|
|
7231
|
+
/**
|
|
7232
|
+
* Whether the label stands up (`"upright"`, the default) or lies on the
|
|
7233
|
+
* globe surface around its anchor (`"flat"`), following its curvature so
|
|
7234
|
+
* it reads as painted on the surface. Pair with `rotateWithCamera`.
|
|
7235
|
+
* @returns {string | undefined}
|
|
7236
|
+
*/
|
|
7237
|
+
get textFacing() {
|
|
7238
|
+
const ret = wasm.__wbg_get_textmaterial_textFacing(this.__wbg_ptr);
|
|
7239
|
+
let v1;
|
|
7240
|
+
if (ret[0] !== 0) {
|
|
7241
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
7242
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
7243
|
+
}
|
|
7244
|
+
return v1;
|
|
7245
|
+
}
|
|
6923
7246
|
/**
|
|
6924
7247
|
* @returns {string | undefined}
|
|
6925
7248
|
*/
|
|
@@ -6940,6 +7263,16 @@ export class TextMaterial {
|
|
|
6940
7263
|
const ret = wasm.__wbg_get_textmaterial_transparent(this.__wbg_ptr);
|
|
6941
7264
|
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
6942
7265
|
}
|
|
7266
|
+
/**
|
|
7267
|
+
* Whether faces seen from behind are culled. Default is false, so a
|
|
7268
|
+
* quad frozen in its anchor's frame (`rotateWithCamera: false`) stays
|
|
7269
|
+
* visible from behind. Turn it on to hide a flat quad's parts that wrap
|
|
7270
|
+
* over the horizon, which face away from the camera.
|
|
7271
|
+
* @param {boolean | null} [arg0]
|
|
7272
|
+
*/
|
|
7273
|
+
set backfaceCulling(arg0) {
|
|
7274
|
+
wasm.__wbg_set_textmaterial_backfaceCulling(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
7275
|
+
}
|
|
6943
7276
|
/**
|
|
6944
7277
|
* @param {number | null} [arg0]
|
|
6945
7278
|
*/
|
|
@@ -7004,6 +7337,29 @@ export class TextMaterial {
|
|
|
7004
7337
|
set depthTest(arg0) {
|
|
7005
7338
|
wasm.__wbg_set_textmaterial_depthTest(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
7006
7339
|
}
|
|
7340
|
+
/**
|
|
7341
|
+
* IDs of selective effects to apply (e.g., "bloom", "outline")
|
|
7342
|
+
* @param {string[] | null} [arg0]
|
|
7343
|
+
*/
|
|
7344
|
+
set effectIds(arg0) {
|
|
7345
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
7346
|
+
var len0 = WASM_VECTOR_LEN;
|
|
7347
|
+
wasm.__wbg_set_textmaterial_effectIds(this.__wbg_ptr, ptr0, len0);
|
|
7348
|
+
}
|
|
7349
|
+
/**
|
|
7350
|
+
* Emissive glow color in 0xRRGGBB format
|
|
7351
|
+
* @param {number | null} [arg0]
|
|
7352
|
+
*/
|
|
7353
|
+
set emissiveColor(arg0) {
|
|
7354
|
+
wasm.__wbg_set_textmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
|
|
7355
|
+
}
|
|
7356
|
+
/**
|
|
7357
|
+
* Emissive glow intensity (omitted = 0, no emissive output)
|
|
7358
|
+
* @param {number | null} [arg0]
|
|
7359
|
+
*/
|
|
7360
|
+
set emissiveIntensity(arg0) {
|
|
7361
|
+
wasm.__wbg_set_textmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7362
|
+
}
|
|
7007
7363
|
/**
|
|
7008
7364
|
* Specifies either the URL of a single font file or the `family` name of a font family
|
|
7009
7365
|
* previously registered with `view.addFontFamily()`. Supported file formats are ttf, otf,
|
|
@@ -7114,6 +7470,29 @@ export class TextMaterial {
|
|
|
7114
7470
|
set outlineWidth(arg0) {
|
|
7115
7471
|
wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7116
7472
|
}
|
|
7473
|
+
/**
|
|
7474
|
+
* Whether the label turns to follow the camera. `true` (the default)
|
|
7475
|
+
* keeps it facing the viewer. `false` freezes it in the anchor's local
|
|
7476
|
+
* east-north-up frame, so moving the camera never reorients it: with
|
|
7477
|
+
* `textFacing: "upright"` it becomes a signboard standing on the
|
|
7478
|
+
* surface, with `"flat"` a north-up label painted on it.
|
|
7479
|
+
* @param {boolean | null} [arg0]
|
|
7480
|
+
*/
|
|
7481
|
+
set rotateWithCamera(arg0) {
|
|
7482
|
+
wasm.__wbg_set_textmaterial_rotateWithCamera(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
7483
|
+
}
|
|
7484
|
+
/**
|
|
7485
|
+
* Rotation of the label within its own plane, about its anchor point, in
|
|
7486
|
+
* degrees, clockwise seen from the front. Applied on top of whatever
|
|
7487
|
+
* orientation `textFacing` and `rotateWithCamera` resolve to: it spins a
|
|
7488
|
+
* billboard on screen and turns a surface label like a compass bearing.
|
|
7489
|
+
* `center` decides where inside the text the pivot sits. Defaults to
|
|
7490
|
+
* `0.0`.
|
|
7491
|
+
* @param {number | null} [arg0]
|
|
7492
|
+
*/
|
|
7493
|
+
set rotation(arg0) {
|
|
7494
|
+
wasm.__wbg_set_textmaterial_rotation(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
7495
|
+
}
|
|
7117
7496
|
/**
|
|
7118
7497
|
* @param {boolean | null} [arg0]
|
|
7119
7498
|
*/
|
|
@@ -7144,6 +7523,17 @@ export class TextMaterial {
|
|
|
7144
7523
|
var len0 = WASM_VECTOR_LEN;
|
|
7145
7524
|
wasm.__wbg_set_textmaterial_textAlign(this.__wbg_ptr, ptr0, len0);
|
|
7146
7525
|
}
|
|
7526
|
+
/**
|
|
7527
|
+
* Whether the label stands up (`"upright"`, the default) or lies on the
|
|
7528
|
+
* globe surface around its anchor (`"flat"`), following its curvature so
|
|
7529
|
+
* it reads as painted on the surface. Pair with `rotateWithCamera`.
|
|
7530
|
+
* @param {string | null} [arg0]
|
|
7531
|
+
*/
|
|
7532
|
+
set textFacing(arg0) {
|
|
7533
|
+
var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7534
|
+
var len0 = WASM_VECTOR_LEN;
|
|
7535
|
+
wasm.__wbg_set_textmaterial_textFacing(this.__wbg_ptr, ptr0, len0);
|
|
7536
|
+
}
|
|
7147
7537
|
/**
|
|
7148
7538
|
* @param {string | null} [arg0]
|
|
7149
7539
|
*/
|
|
@@ -7683,6 +8073,13 @@ export class TransferablePolylineBatchedFeature {
|
|
|
7683
8073
|
setPointsSizes(byte_length, f) {
|
|
7684
8074
|
wasm.transferablepolylinebatchedfeature_setPointsSizes(this.__wbg_ptr, byte_length, f);
|
|
7685
8075
|
}
|
|
8076
|
+
/**
|
|
8077
|
+
* @param {number} byte_length
|
|
8078
|
+
* @param {Function} f
|
|
8079
|
+
*/
|
|
8080
|
+
setRingFlags(byte_length, f) {
|
|
8081
|
+
wasm.transferablepolylinebatchedfeature_setRingFlags(this.__wbg_ptr, byte_length, f);
|
|
8082
|
+
}
|
|
7686
8083
|
/**
|
|
7687
8084
|
* @returns {Uint32Array}
|
|
7688
8085
|
*/
|
|
@@ -7711,6 +8108,13 @@ export class TransferablePolylineBatchedFeature {
|
|
|
7711
8108
|
const ret = wasm.transferablepolylinebatchedfeature_transferPointsSizes(this.__wbg_ptr);
|
|
7712
8109
|
return ret;
|
|
7713
8110
|
}
|
|
8111
|
+
/**
|
|
8112
|
+
* @returns {Uint8Array}
|
|
8113
|
+
*/
|
|
8114
|
+
transferRingFlags() {
|
|
8115
|
+
const ret = wasm.transferablepolylinebatchedfeature_transferRingFlags(this.__wbg_ptr);
|
|
8116
|
+
return ret;
|
|
8117
|
+
}
|
|
7714
8118
|
}
|
|
7715
8119
|
if (Symbol.dispose) TransferablePolylineBatchedFeature.prototype[Symbol.dispose] = TransferablePolylineBatchedFeature.prototype.free;
|
|
7716
8120
|
|
|
@@ -8458,7 +8862,7 @@ export function start() {
|
|
|
8458
8862
|
function __wbg_get_imports() {
|
|
8459
8863
|
const import0 = {
|
|
8460
8864
|
__proto__: null,
|
|
8461
|
-
|
|
8865
|
+
__wbg_Error_408e67f47ca7b58b: function(arg0, arg1) {
|
|
8462
8866
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
8463
8867
|
return ret;
|
|
8464
8868
|
},
|
|
@@ -8469,60 +8873,60 @@ function __wbg_get_imports() {
|
|
|
8469
8873
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
8470
8874
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8471
8875
|
},
|
|
8472
|
-
|
|
8876
|
+
__wbg___wbindgen_bigint_get_as_i64_c4ecf48528083721: function(arg0, arg1) {
|
|
8473
8877
|
const v = arg1;
|
|
8474
8878
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
8475
8879
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
8476
8880
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
8477
8881
|
},
|
|
8478
|
-
|
|
8882
|
+
__wbg___wbindgen_boolean_get_c9c83ebd41b34df3: function(arg0) {
|
|
8479
8883
|
const v = arg0;
|
|
8480
8884
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
8481
8885
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
8482
8886
|
},
|
|
8483
|
-
|
|
8887
|
+
__wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(arg0, arg1) {
|
|
8484
8888
|
const ret = debugString(arg1);
|
|
8485
8889
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
8486
8890
|
const len1 = WASM_VECTOR_LEN;
|
|
8487
8891
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
8488
8892
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8489
8893
|
},
|
|
8490
|
-
|
|
8894
|
+
__wbg___wbindgen_in_ac983077f137f2e6: function(arg0, arg1) {
|
|
8491
8895
|
const ret = arg0 in arg1;
|
|
8492
8896
|
return ret;
|
|
8493
8897
|
},
|
|
8494
|
-
|
|
8898
|
+
__wbg___wbindgen_is_bigint_8ffbbef442139384: function(arg0) {
|
|
8495
8899
|
const ret = typeof(arg0) === 'bigint';
|
|
8496
8900
|
return ret;
|
|
8497
8901
|
},
|
|
8498
|
-
|
|
8902
|
+
__wbg___wbindgen_is_function_5e4570eb24ffa122: function(arg0) {
|
|
8499
8903
|
const ret = typeof(arg0) === 'function';
|
|
8500
8904
|
return ret;
|
|
8501
8905
|
},
|
|
8502
|
-
|
|
8906
|
+
__wbg___wbindgen_is_object_a2790eb24c211ea0: function(arg0) {
|
|
8503
8907
|
const val = arg0;
|
|
8504
8908
|
const ret = typeof(val) === 'object' && val !== null;
|
|
8505
8909
|
return ret;
|
|
8506
8910
|
},
|
|
8507
|
-
|
|
8911
|
+
__wbg___wbindgen_jsval_eq_0a18949a61670320: function(arg0, arg1) {
|
|
8508
8912
|
const ret = arg0 === arg1;
|
|
8509
8913
|
return ret;
|
|
8510
8914
|
},
|
|
8511
|
-
|
|
8915
|
+
__wbg___wbindgen_jsval_loose_eq_acf2776254a8d832: function(arg0, arg1) {
|
|
8512
8916
|
const ret = arg0 == arg1;
|
|
8513
8917
|
return ret;
|
|
8514
8918
|
},
|
|
8515
|
-
|
|
8919
|
+
__wbg___wbindgen_memory_5dc2a138835b0f8e: function() {
|
|
8516
8920
|
const ret = wasm.memory;
|
|
8517
8921
|
return ret;
|
|
8518
8922
|
},
|
|
8519
|
-
|
|
8923
|
+
__wbg___wbindgen_number_get_136b9679cab35cfb: function(arg0, arg1) {
|
|
8520
8924
|
const obj = arg1;
|
|
8521
8925
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
8522
8926
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
8523
8927
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
8524
8928
|
},
|
|
8525
|
-
|
|
8929
|
+
__wbg___wbindgen_string_get_d154f1e671052120: function(arg0, arg1) {
|
|
8526
8930
|
const obj = arg1;
|
|
8527
8931
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
8528
8932
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -8530,42 +8934,50 @@ function __wbg_get_imports() {
|
|
|
8530
8934
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
8531
8935
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
8532
8936
|
},
|
|
8533
|
-
|
|
8937
|
+
__wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
|
|
8534
8938
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
8535
8939
|
},
|
|
8536
|
-
|
|
8940
|
+
__wbg_buffer_8117fe4dab119813: function(arg0) {
|
|
8537
8941
|
const ret = arg0.buffer;
|
|
8538
8942
|
return ret;
|
|
8539
8943
|
},
|
|
8540
|
-
|
|
8944
|
+
__wbg_call_1c5886ab9c57d1c7: function() { return handleError(function (arg0, arg1) {
|
|
8541
8945
|
const ret = arg0.call(arg1);
|
|
8542
8946
|
return ret;
|
|
8543
8947
|
}, arguments); },
|
|
8544
|
-
|
|
8948
|
+
__wbg_call_35dba3c747ad7521: function() { return handleError(function (arg0, arg1, arg2) {
|
|
8545
8949
|
const ret = arg0.call(arg1, arg2);
|
|
8546
8950
|
return ret;
|
|
8547
8951
|
}, arguments); },
|
|
8548
|
-
|
|
8952
|
+
__wbg_done_669171204c3dcae2: function(arg0) {
|
|
8549
8953
|
const ret = arg0.done;
|
|
8550
8954
|
return ret;
|
|
8551
8955
|
},
|
|
8552
|
-
|
|
8956
|
+
__wbg_dracoattributeid_new: function(arg0) {
|
|
8957
|
+
const ret = DracoAttributeId.__wrap(arg0);
|
|
8958
|
+
return ret;
|
|
8959
|
+
},
|
|
8960
|
+
__wbg_dracoattributeid_unwrap: function(arg0) {
|
|
8961
|
+
const ret = DracoAttributeId.__unwrap(arg0);
|
|
8962
|
+
return ret;
|
|
8963
|
+
},
|
|
8964
|
+
__wbg_entries_7774d489e1da5f4f: function(arg0) {
|
|
8553
8965
|
const ret = Object.entries(arg0);
|
|
8554
8966
|
return ret;
|
|
8555
8967
|
},
|
|
8556
|
-
|
|
8968
|
+
__wbg_get_c0c8f8d7da0c03dd: function(arg0, arg1) {
|
|
8557
8969
|
const ret = arg0[arg1 >>> 0];
|
|
8558
8970
|
return ret;
|
|
8559
8971
|
},
|
|
8560
|
-
|
|
8972
|
+
__wbg_get_d173c0308df22d37: function() { return handleError(function (arg0, arg1) {
|
|
8561
8973
|
const ret = Reflect.get(arg0, arg1);
|
|
8562
8974
|
return ret;
|
|
8563
8975
|
}, arguments); },
|
|
8564
|
-
|
|
8976
|
+
__wbg_get_unchecked_e20b893aeafc3fca: function(arg0, arg1) {
|
|
8565
8977
|
const ret = arg0[arg1 >>> 0];
|
|
8566
8978
|
return ret;
|
|
8567
8979
|
},
|
|
8568
|
-
|
|
8980
|
+
__wbg_instanceof_ArrayBuffer_993d02d2d254cad1: function(arg0) {
|
|
8569
8981
|
let result;
|
|
8570
8982
|
try {
|
|
8571
8983
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -8575,7 +8987,7 @@ function __wbg_get_imports() {
|
|
|
8575
8987
|
const ret = result;
|
|
8576
8988
|
return ret;
|
|
8577
8989
|
},
|
|
8578
|
-
|
|
8990
|
+
__wbg_instanceof_Map_9a4d6ead180ae3a9: function(arg0) {
|
|
8579
8991
|
let result;
|
|
8580
8992
|
try {
|
|
8581
8993
|
result = arg0 instanceof Map;
|
|
@@ -8585,7 +8997,7 @@ function __wbg_get_imports() {
|
|
|
8585
8997
|
const ret = result;
|
|
8586
8998
|
return ret;
|
|
8587
8999
|
},
|
|
8588
|
-
|
|
9000
|
+
__wbg_instanceof_Uint8Array_f935dbb0aa7cdeed: function(arg0) {
|
|
8589
9001
|
let result;
|
|
8590
9002
|
try {
|
|
8591
9003
|
result = arg0 instanceof Uint8Array;
|
|
@@ -8595,35 +9007,35 @@ function __wbg_get_imports() {
|
|
|
8595
9007
|
const ret = result;
|
|
8596
9008
|
return ret;
|
|
8597
9009
|
},
|
|
8598
|
-
|
|
9010
|
+
__wbg_isArray_6339f732981044bf: function(arg0) {
|
|
8599
9011
|
const ret = Array.isArray(arg0);
|
|
8600
9012
|
return ret;
|
|
8601
9013
|
},
|
|
8602
|
-
|
|
9014
|
+
__wbg_isSafeInteger_f3d6cd19ccfe4512: function(arg0) {
|
|
8603
9015
|
const ret = Number.isSafeInteger(arg0);
|
|
8604
9016
|
return ret;
|
|
8605
9017
|
},
|
|
8606
|
-
|
|
9018
|
+
__wbg_iterator_5cebbb86e33c6dd6: function() {
|
|
8607
9019
|
const ret = Symbol.iterator;
|
|
8608
9020
|
return ret;
|
|
8609
9021
|
},
|
|
8610
|
-
|
|
9022
|
+
__wbg_length_1009454859bb3e03: function(arg0) {
|
|
8611
9023
|
const ret = arg0.length;
|
|
8612
9024
|
return ret;
|
|
8613
9025
|
},
|
|
8614
|
-
|
|
9026
|
+
__wbg_length_36bd29c6848c2144: function(arg0) {
|
|
8615
9027
|
const ret = arg0.length;
|
|
8616
9028
|
return ret;
|
|
8617
9029
|
},
|
|
8618
|
-
|
|
9030
|
+
__wbg_length_46f80504ebb6ebb4: function(arg0) {
|
|
8619
9031
|
const ret = arg0.length;
|
|
8620
9032
|
return ret;
|
|
8621
9033
|
},
|
|
8622
|
-
|
|
9034
|
+
__wbg_length_7528cf2a241bef97: function(arg0) {
|
|
8623
9035
|
const ret = arg0.length;
|
|
8624
9036
|
return ret;
|
|
8625
9037
|
},
|
|
8626
|
-
|
|
9038
|
+
__wbg_length_ecfa2c63d3d0d82c: function(arg0) {
|
|
8627
9039
|
const ret = arg0.length;
|
|
8628
9040
|
return ret;
|
|
8629
9041
|
},
|
|
@@ -8631,71 +9043,71 @@ function __wbg_get_imports() {
|
|
|
8631
9043
|
const ret = LLE.__wrap(arg0);
|
|
8632
9044
|
return ret;
|
|
8633
9045
|
},
|
|
8634
|
-
|
|
9046
|
+
__wbg_new_078f4f4b1eaabdec: function(arg0) {
|
|
9047
|
+
const ret = new Float32Array(arg0);
|
|
9048
|
+
return ret;
|
|
9049
|
+
},
|
|
9050
|
+
__wbg_new_116be93542d39019: function() {
|
|
8635
9051
|
const ret = new Array();
|
|
8636
9052
|
return ret;
|
|
8637
9053
|
},
|
|
8638
|
-
|
|
9054
|
+
__wbg_new_2aa179ec5b1fefa8: function(arg0) {
|
|
8639
9055
|
const ret = new Float64Array(arg0);
|
|
8640
9056
|
return ret;
|
|
8641
9057
|
},
|
|
8642
|
-
|
|
8643
|
-
const ret = new
|
|
9058
|
+
__wbg_new_68c044c0b3877148: function(arg0) {
|
|
9059
|
+
const ret = new Uint32Array(arg0);
|
|
8644
9060
|
return ret;
|
|
8645
9061
|
},
|
|
8646
|
-
|
|
9062
|
+
__wbg_new_77cc4f4f472aeb81: function(arg0) {
|
|
8647
9063
|
const ret = new Uint8Array(arg0);
|
|
8648
9064
|
return ret;
|
|
8649
9065
|
},
|
|
8650
|
-
|
|
9066
|
+
__wbg_new_ebe3e0f6837f0879: function() {
|
|
8651
9067
|
const ret = new Object();
|
|
8652
9068
|
return ret;
|
|
8653
9069
|
},
|
|
8654
|
-
|
|
8655
|
-
const ret = new Uint32Array(arg0);
|
|
8656
|
-
return ret;
|
|
8657
|
-
},
|
|
8658
|
-
__wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
|
|
8659
|
-
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
9070
|
+
__wbg_new_with_byte_offset_and_length_042855770b1f0cf5: function(arg0, arg1, arg2) {
|
|
9071
|
+
const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
8660
9072
|
return ret;
|
|
8661
9073
|
},
|
|
8662
|
-
|
|
9074
|
+
__wbg_new_with_byte_offset_and_length_8a19fd6506a908ea: function(arg0, arg1, arg2) {
|
|
8663
9075
|
const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
8664
9076
|
return ret;
|
|
8665
9077
|
},
|
|
8666
|
-
|
|
8667
|
-
const ret = new
|
|
8668
|
-
return ret;
|
|
8669
|
-
},
|
|
8670
|
-
__wbg_next_6dbf2c0ac8cde20f: function(arg0) {
|
|
8671
|
-
const ret = arg0.next;
|
|
9078
|
+
__wbg_new_with_byte_offset_and_length_ff6e927f8d72f0c3: function(arg0, arg1, arg2) {
|
|
9079
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
8672
9080
|
return ret;
|
|
8673
9081
|
},
|
|
8674
|
-
|
|
9082
|
+
__wbg_next_42cf16ee0dafc9e2: function() { return handleError(function (arg0) {
|
|
8675
9083
|
const ret = arg0.next();
|
|
8676
9084
|
return ret;
|
|
8677
9085
|
}, arguments); },
|
|
8678
|
-
|
|
9086
|
+
__wbg_next_8f26b64fa5e9f64b: function(arg0) {
|
|
9087
|
+
const ret = arg0.next;
|
|
9088
|
+
return ret;
|
|
9089
|
+
},
|
|
9090
|
+
__wbg_prototypesetcall_de8e0d9553586985: function(arg0, arg1, arg2) {
|
|
8679
9091
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
8680
9092
|
},
|
|
8681
|
-
|
|
9093
|
+
__wbg_push_adb0107829f02d75: function(arg0, arg1) {
|
|
8682
9094
|
const ret = arg0.push(arg1);
|
|
8683
9095
|
return ret;
|
|
8684
9096
|
},
|
|
8685
|
-
|
|
8686
|
-
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
8687
|
-
},
|
|
8688
|
-
__wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
|
|
9097
|
+
__wbg_set_22c3e3730946c809: function(arg0, arg1, arg2) {
|
|
8689
9098
|
arg0.set(getArrayF64FromWasm0(arg1, arg2));
|
|
8690
9099
|
},
|
|
8691
|
-
|
|
8692
|
-
arg0.set(
|
|
9100
|
+
__wbg_set_577f5f7485b6744e: function(arg0, arg1, arg2) {
|
|
9101
|
+
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
8693
9102
|
},
|
|
8694
|
-
|
|
9103
|
+
__wbg_set_8155bb79a948541b: function() { return handleError(function (arg0, arg1, arg2) {
|
|
8695
9104
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
8696
9105
|
return ret;
|
|
8697
9106
|
}, arguments); },
|
|
8698
|
-
|
|
9107
|
+
__wbg_set_b9b5b5cb7b495037: function(arg0, arg1, arg2) {
|
|
9108
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
9109
|
+
},
|
|
9110
|
+
__wbg_set_e575799cdfbae72f: function(arg0, arg1, arg2) {
|
|
8699
9111
|
arg0.set(getArrayU32FromWasm0(arg1, arg2));
|
|
8700
9112
|
},
|
|
8701
9113
|
__wbg_texturefragment_new: function(arg0) {
|
|
@@ -8706,7 +9118,7 @@ function __wbg_get_imports() {
|
|
|
8706
9118
|
const ret = TileUvTransform.__wrap(arg0);
|
|
8707
9119
|
return ret;
|
|
8708
9120
|
},
|
|
8709
|
-
|
|
9121
|
+
__wbg_value_1e2369fab29b420e: function(arg0) {
|
|
8710
9122
|
const ret = arg0.value;
|
|
8711
9123
|
return ret;
|
|
8712
9124
|
},
|
|
@@ -8807,6 +9219,9 @@ const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegist
|
|
|
8807
9219
|
const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8808
9220
|
? { register: () => {}, unregister: () => {} }
|
|
8809
9221
|
: new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
|
|
9222
|
+
const DracoAttributeIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
9223
|
+
? { register: () => {}, unregister: () => {} }
|
|
9224
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dracoattributeid_free(ptr, 1));
|
|
8810
9225
|
const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
8811
9226
|
? { register: () => {}, unregister: () => {} }
|
|
8812
9227
|
: new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
|