@navaramap/engine-worker 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/navara_wasm_worker.d.ts +100 -13
- package/navara_wasm_worker.js +144 -0
- package/navara_wasm_worker_bg.wasm +0 -0
- package/package.json +1 -1
package/navara_wasm_worker.d.ts
CHANGED
|
@@ -459,6 +459,10 @@ export class ConstructedPolygonOutlineGeometry {
|
|
|
459
459
|
batch_index(): Float32Array | undefined;
|
|
460
460
|
batch_index_size(): number | undefined;
|
|
461
461
|
position(): Float32Array;
|
|
462
|
+
position_3d_high(): Float32Array | undefined;
|
|
463
|
+
position_3d_high_size(): number | undefined;
|
|
464
|
+
position_3d_low(): Float32Array | undefined;
|
|
465
|
+
position_3d_low_size(): number | undefined;
|
|
462
466
|
position_size(): number;
|
|
463
467
|
scale_normal_and_cap(): Float32Array;
|
|
464
468
|
scale_normal_and_cap_size(): number;
|
|
@@ -542,6 +546,13 @@ export class EllipsoidGeodesic {
|
|
|
542
546
|
interpolateDistance(distance: number): LLE;
|
|
543
547
|
interpolateGeodeticPoints(granularity?: number | null): LLE[];
|
|
544
548
|
constructor(start: LLE, end: LLE);
|
|
549
|
+
/**
|
|
550
|
+
* Whether Vincenty's inverse iteration converged. `false` for
|
|
551
|
+
* near-antipodal endpoints, where `distance` is only a rough estimate
|
|
552
|
+
* and interpolation snaps to the endpoints instead of following the
|
|
553
|
+
* (unreliable) capped solution.
|
|
554
|
+
*/
|
|
555
|
+
converged: boolean;
|
|
545
556
|
distance: number;
|
|
546
557
|
end_heading: number;
|
|
547
558
|
end: LLE;
|
|
@@ -747,6 +758,18 @@ export class ModelMaterial {
|
|
|
747
758
|
set height(value: number | null | undefined);
|
|
748
759
|
get ior(): number | undefined;
|
|
749
760
|
set ior(value: number | null | undefined);
|
|
761
|
+
/**
|
|
762
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
763
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
764
|
+
* the shadow G-buffer keep being written.
|
|
765
|
+
*/
|
|
766
|
+
get lit(): boolean | undefined;
|
|
767
|
+
/**
|
|
768
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
769
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
770
|
+
* the shadow G-buffer keep being written.
|
|
771
|
+
*/
|
|
772
|
+
set lit(value: boolean | null | undefined);
|
|
750
773
|
get maxSse(): number | undefined;
|
|
751
774
|
set maxSse(value: number | null | undefined);
|
|
752
775
|
get metalness(): number | undefined;
|
|
@@ -1062,6 +1085,18 @@ export class PolygonMaterial {
|
|
|
1062
1085
|
set height(value: number | null | undefined);
|
|
1063
1086
|
get ior(): number | undefined;
|
|
1064
1087
|
set ior(value: number | null | undefined);
|
|
1088
|
+
/**
|
|
1089
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1090
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1091
|
+
* the shadow G-buffer keep being written.
|
|
1092
|
+
*/
|
|
1093
|
+
get lit(): boolean | undefined;
|
|
1094
|
+
/**
|
|
1095
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1096
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1097
|
+
* the shadow G-buffer keep being written.
|
|
1098
|
+
*/
|
|
1099
|
+
set lit(value: boolean | null | undefined);
|
|
1065
1100
|
/**
|
|
1066
1101
|
* Need to enable `transparent`.
|
|
1067
1102
|
*/
|
|
@@ -1328,6 +1363,18 @@ export class PolylineMaterial {
|
|
|
1328
1363
|
set emissiveIntensity(value: number | null | undefined);
|
|
1329
1364
|
get height(): number | undefined;
|
|
1330
1365
|
set height(value: number | null | undefined);
|
|
1366
|
+
/**
|
|
1367
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1368
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1369
|
+
* the shadow G-buffer keep being written.
|
|
1370
|
+
*/
|
|
1371
|
+
get lit(): boolean | undefined;
|
|
1372
|
+
/**
|
|
1373
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1374
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1375
|
+
* the shadow G-buffer keep being written.
|
|
1376
|
+
*/
|
|
1377
|
+
set lit(value: boolean | null | undefined);
|
|
1331
1378
|
/**
|
|
1332
1379
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
1333
1380
|
* Smaller values are cheaper to render as they reduce fragment shader overdraw.
|
|
@@ -1428,6 +1475,18 @@ export class RasterTileInternalMaterial {
|
|
|
1428
1475
|
isElevationHeatmaps: Uint8Array;
|
|
1429
1476
|
isHillshades: Uint8Array;
|
|
1430
1477
|
layerReproject: Uint8Array;
|
|
1478
|
+
/**
|
|
1479
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1480
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1481
|
+
* the shadow G-buffer keep being written.
|
|
1482
|
+
*/
|
|
1483
|
+
get lit(): boolean | undefined;
|
|
1484
|
+
/**
|
|
1485
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1486
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1487
|
+
* the shadow G-buffer keep being written.
|
|
1488
|
+
*/
|
|
1489
|
+
set lit(value: boolean | null | undefined);
|
|
1431
1490
|
logBoundary: number;
|
|
1432
1491
|
logarithmic: boolean;
|
|
1433
1492
|
opacities: Float32Array;
|
|
@@ -1483,6 +1542,18 @@ export class TerrainMaterial {
|
|
|
1483
1542
|
[Symbol.dispose](): void;
|
|
1484
1543
|
get castShadow(): boolean | undefined;
|
|
1485
1544
|
set castShadow(value: boolean | null | undefined);
|
|
1545
|
+
/**
|
|
1546
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1547
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1548
|
+
* the shadow G-buffer keep being written.
|
|
1549
|
+
*/
|
|
1550
|
+
get lit(): boolean | undefined;
|
|
1551
|
+
/**
|
|
1552
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1553
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1554
|
+
* the shadow G-buffer keep being written.
|
|
1555
|
+
*/
|
|
1556
|
+
set lit(value: boolean | null | undefined);
|
|
1486
1557
|
get receiveShadow(): boolean | undefined;
|
|
1487
1558
|
set receiveShadow(value: boolean | null | undefined);
|
|
1488
1559
|
get showBoundingBox(): boolean | undefined;
|
|
@@ -2037,11 +2108,10 @@ export interface InitOutput {
|
|
|
2037
2108
|
readonly __wbg_get_elevationdecoder_max_offset: (a: number) => number;
|
|
2038
2109
|
readonly __wbg_get_elevationdecoder_min_offset: (a: number) => number;
|
|
2039
2110
|
readonly __wbg_get_elevationheatmapmaterial_logarithmic: (a: number) => number;
|
|
2040
|
-
readonly
|
|
2111
|
+
readonly __wbg_get_ellipsoidgeodesic_converged: (a: number) => number;
|
|
2041
2112
|
readonly __wbg_get_ellipsoidgeodesic_end: (a: number) => number;
|
|
2042
2113
|
readonly __wbg_get_ellipsoidgeodesic_end_heading: (a: number) => number;
|
|
2043
2114
|
readonly __wbg_get_ellipsoidgeodesic_start: (a: number) => number;
|
|
2044
|
-
readonly __wbg_get_ellipsoidgeodesic_start_heading: (a: number) => number;
|
|
2045
2115
|
readonly __wbg_get_extentradianf32_east: (a: number) => number;
|
|
2046
2116
|
readonly __wbg_get_extentradianf32_north: (a: number) => number;
|
|
2047
2117
|
readonly __wbg_get_extentradianf32_south: (a: number) => number;
|
|
@@ -2059,7 +2129,6 @@ export interface InitOutput {
|
|
|
2059
2129
|
readonly __wbg_get_hillshadematerial_exaggeration: (a: number) => number;
|
|
2060
2130
|
readonly __wbg_get_modelinternalmaterial_dracoCompressed: (a: number) => number;
|
|
2061
2131
|
readonly __wbg_get_modelinternalmaterial_pointCloud: (a: number) => number;
|
|
2062
|
-
readonly __wbg_get_modelinternalmaterial_pointCloudGeodeticNormal: (a: number) => number;
|
|
2063
2132
|
readonly __wbg_get_modelmaterial___internal__: (a: number) => number;
|
|
2064
2133
|
readonly __wbg_get_modelmaterial_animationActiveClip: (a: number) => [number, number];
|
|
2065
2134
|
readonly __wbg_get_modelmaterial_animationSpeed: (a: number) => number;
|
|
@@ -2073,6 +2142,7 @@ export interface InitOutput {
|
|
|
2073
2142
|
readonly __wbg_get_modelmaterial_emissiveIntensity: (a: number) => number;
|
|
2074
2143
|
readonly __wbg_get_modelmaterial_height: (a: number) => number;
|
|
2075
2144
|
readonly __wbg_get_modelmaterial_ior: (a: number) => number;
|
|
2145
|
+
readonly __wbg_get_modelmaterial_lit: (a: number) => number;
|
|
2076
2146
|
readonly __wbg_get_modelmaterial_maxSse: (a: number) => number;
|
|
2077
2147
|
readonly __wbg_get_modelmaterial_metalness: (a: number) => number;
|
|
2078
2148
|
readonly __wbg_get_modelmaterial_normals: (a: number) => number;
|
|
@@ -2109,6 +2179,7 @@ export interface InitOutput {
|
|
|
2109
2179
|
readonly __wbg_get_polygonmaterial_extrudedHeight: (a: number) => number;
|
|
2110
2180
|
readonly __wbg_get_polygonmaterial_height: (a: number) => number;
|
|
2111
2181
|
readonly __wbg_get_polygonmaterial_ior: (a: number) => number;
|
|
2182
|
+
readonly __wbg_get_polygonmaterial_lit: (a: number) => number;
|
|
2112
2183
|
readonly __wbg_get_polygonmaterial_opacity: (a: number) => number;
|
|
2113
2184
|
readonly __wbg_get_polygonmaterial_outline: (a: number) => number;
|
|
2114
2185
|
readonly __wbg_get_polygonmaterial_outlineColor: (a: number) => number;
|
|
@@ -2135,6 +2206,7 @@ export interface InitOutput {
|
|
|
2135
2206
|
readonly __wbg_get_polylinematerial_depthWrite: (a: number) => number;
|
|
2136
2207
|
readonly __wbg_get_polylinematerial_effectIds: (a: number) => [number, number];
|
|
2137
2208
|
readonly __wbg_get_polylinematerial_emissiveColor: (a: number) => number;
|
|
2209
|
+
readonly __wbg_get_polylinematerial_lit: (a: number) => number;
|
|
2138
2210
|
readonly __wbg_get_polylinematerial_opacity: (a: number) => number;
|
|
2139
2211
|
readonly __wbg_get_polylinematerial_receiveShadow: (a: number) => number;
|
|
2140
2212
|
readonly __wbg_get_polylinematerial_show: (a: number) => number;
|
|
@@ -2144,7 +2216,6 @@ export interface InitOutput {
|
|
|
2144
2216
|
readonly __wbg_get_rastermaterial_showBoundingBox: (a: number) => number;
|
|
2145
2217
|
readonly __wbg_get_rastertileinternalmaterial_castShadow: (a: number) => number;
|
|
2146
2218
|
readonly __wbg_get_rastertileinternalmaterial_colors: (a: number) => [number, number];
|
|
2147
|
-
readonly __wbg_get_rastertileinternalmaterial_elevationEpsilon: (a: number) => number;
|
|
2148
2219
|
readonly __wbg_get_rastertileinternalmaterial_elevationOffset: (a: number) => number;
|
|
2149
2220
|
readonly __wbg_get_rastertileinternalmaterial_hillshadeBScaler: (a: number) => number;
|
|
2150
2221
|
readonly __wbg_get_rastertileinternalmaterial_hillshadeBoundary: (a: number) => number;
|
|
@@ -2158,6 +2229,7 @@ export interface InitOutput {
|
|
|
2158
2229
|
readonly __wbg_get_rastertileinternalmaterial_isElevationHeatmaps: (a: number) => [number, number];
|
|
2159
2230
|
readonly __wbg_get_rastertileinternalmaterial_isHillshades: (a: number) => [number, number];
|
|
2160
2231
|
readonly __wbg_get_rastertileinternalmaterial_layerReproject: (a: number) => [number, number];
|
|
2232
|
+
readonly __wbg_get_rastertileinternalmaterial_lit: (a: number) => number;
|
|
2161
2233
|
readonly __wbg_get_rastertileinternalmaterial_logBoundary: (a: number) => number;
|
|
2162
2234
|
readonly __wbg_get_rastertileinternalmaterial_logarithmic: (a: number) => number;
|
|
2163
2235
|
readonly __wbg_get_rastertileinternalmaterial_opacities: (a: number) => [number, number];
|
|
@@ -2167,6 +2239,7 @@ export interface InitOutput {
|
|
|
2167
2239
|
readonly __wbg_get_rastertileinternalmaterial_terrainLatRange: (a: number) => [number, number];
|
|
2168
2240
|
readonly __wbg_get_returnedconstructedterrainmesh_rtc_translation: (a: number) => number;
|
|
2169
2241
|
readonly __wbg_get_terrainmaterial_castShadow: (a: number) => number;
|
|
2242
|
+
readonly __wbg_get_terrainmaterial_lit: (a: number) => number;
|
|
2170
2243
|
readonly __wbg_get_terrainmaterial_receiveShadow: (a: number) => number;
|
|
2171
2244
|
readonly __wbg_get_terrainmaterial_show: (a: number) => number;
|
|
2172
2245
|
readonly __wbg_get_terrainmaterial_showBoundingBox: (a: number) => number;
|
|
@@ -2262,11 +2335,8 @@ export interface InitOutput {
|
|
|
2262
2335
|
readonly __wbg_set_elevationdecoder_max_offset: (a: number, b: number) => void;
|
|
2263
2336
|
readonly __wbg_set_elevationdecoder_min_offset: (a: number, b: number) => void;
|
|
2264
2337
|
readonly __wbg_set_elevationheatmapmaterial_logarithmic: (a: number, b: number) => void;
|
|
2265
|
-
readonly
|
|
2266
|
-
readonly __wbg_set_ellipsoidgeodesic_end: (a: number, b: number) => void;
|
|
2338
|
+
readonly __wbg_set_ellipsoidgeodesic_converged: (a: number, b: number) => void;
|
|
2267
2339
|
readonly __wbg_set_ellipsoidgeodesic_end_heading: (a: number, b: number) => void;
|
|
2268
|
-
readonly __wbg_set_ellipsoidgeodesic_start: (a: number, b: number) => void;
|
|
2269
|
-
readonly __wbg_set_ellipsoidgeodesic_start_heading: (a: number, b: number) => void;
|
|
2270
2340
|
readonly __wbg_set_extentradianf32_east: (a: number, b: number) => void;
|
|
2271
2341
|
readonly __wbg_set_extentradianf32_north: (a: number, b: number) => void;
|
|
2272
2342
|
readonly __wbg_set_extentradianf32_south: (a: number, b: number) => void;
|
|
@@ -2297,6 +2367,7 @@ export interface InitOutput {
|
|
|
2297
2367
|
readonly __wbg_set_modelmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
2298
2368
|
readonly __wbg_set_modelmaterial_height: (a: number, b: number) => void;
|
|
2299
2369
|
readonly __wbg_set_modelmaterial_ior: (a: number, b: number) => void;
|
|
2370
|
+
readonly __wbg_set_modelmaterial_lit: (a: number, b: number) => void;
|
|
2300
2371
|
readonly __wbg_set_modelmaterial_maxSse: (a: number, b: number) => void;
|
|
2301
2372
|
readonly __wbg_set_modelmaterial_metalness: (a: number, b: number) => void;
|
|
2302
2373
|
readonly __wbg_set_modelmaterial_normals: (a: number, b: number) => void;
|
|
@@ -2333,6 +2404,7 @@ export interface InitOutput {
|
|
|
2333
2404
|
readonly __wbg_set_polygonmaterial_extrudedHeight: (a: number, b: number) => void;
|
|
2334
2405
|
readonly __wbg_set_polygonmaterial_height: (a: number, b: number) => void;
|
|
2335
2406
|
readonly __wbg_set_polygonmaterial_ior: (a: number, b: number) => void;
|
|
2407
|
+
readonly __wbg_set_polygonmaterial_lit: (a: number, b: number) => void;
|
|
2336
2408
|
readonly __wbg_set_polygonmaterial_opacity: (a: number, b: number) => void;
|
|
2337
2409
|
readonly __wbg_set_polygonmaterial_outline: (a: number, b: number) => void;
|
|
2338
2410
|
readonly __wbg_set_polygonmaterial_outlineColor: (a: number, b: number) => void;
|
|
@@ -2359,6 +2431,7 @@ export interface InitOutput {
|
|
|
2359
2431
|
readonly __wbg_set_polylinematerial_depthWrite: (a: number, b: number) => void;
|
|
2360
2432
|
readonly __wbg_set_polylinematerial_effectIds: (a: number, b: number, c: number) => void;
|
|
2361
2433
|
readonly __wbg_set_polylinematerial_emissiveColor: (a: number, b: number) => void;
|
|
2434
|
+
readonly __wbg_set_polylinematerial_lit: (a: number, b: number) => void;
|
|
2362
2435
|
readonly __wbg_set_polylinematerial_opacity: (a: number, b: number) => void;
|
|
2363
2436
|
readonly __wbg_set_polylinematerial_receiveShadow: (a: number, b: number) => void;
|
|
2364
2437
|
readonly __wbg_set_polylinematerial_show: (a: number, b: number) => void;
|
|
@@ -2368,7 +2441,6 @@ export interface InitOutput {
|
|
|
2368
2441
|
readonly __wbg_set_rastermaterial_showBoundingBox: (a: number, b: number) => void;
|
|
2369
2442
|
readonly __wbg_set_rastertileinternalmaterial_castShadow: (a: number, b: number) => void;
|
|
2370
2443
|
readonly __wbg_set_rastertileinternalmaterial_colors: (a: number, b: number, c: number) => void;
|
|
2371
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationEpsilon: (a: number, b: number) => void;
|
|
2372
2444
|
readonly __wbg_set_rastertileinternalmaterial_elevationOffset: (a: number, b: number) => void;
|
|
2373
2445
|
readonly __wbg_set_rastertileinternalmaterial_hillshadeBScaler: (a: number, b: number) => void;
|
|
2374
2446
|
readonly __wbg_set_rastertileinternalmaterial_hillshadeBoundary: (a: number, b: number) => void;
|
|
@@ -2382,6 +2454,7 @@ export interface InitOutput {
|
|
|
2382
2454
|
readonly __wbg_set_rastertileinternalmaterial_isElevationHeatmaps: (a: number, b: number, c: number) => void;
|
|
2383
2455
|
readonly __wbg_set_rastertileinternalmaterial_isHillshades: (a: number, b: number, c: number) => void;
|
|
2384
2456
|
readonly __wbg_set_rastertileinternalmaterial_layerReproject: (a: number, b: number, c: number) => void;
|
|
2457
|
+
readonly __wbg_set_rastertileinternalmaterial_lit: (a: number, b: number) => void;
|
|
2385
2458
|
readonly __wbg_set_rastertileinternalmaterial_logBoundary: (a: number, b: number) => void;
|
|
2386
2459
|
readonly __wbg_set_rastertileinternalmaterial_logarithmic: (a: number, b: number) => void;
|
|
2387
2460
|
readonly __wbg_set_rastertileinternalmaterial_opacities: (a: number, b: number, c: number) => void;
|
|
@@ -2390,6 +2463,7 @@ export interface InitOutput {
|
|
|
2390
2463
|
readonly __wbg_set_rastertileinternalmaterial_shows: (a: number, b: number, c: number) => void;
|
|
2391
2464
|
readonly __wbg_set_rastertileinternalmaterial_terrainLatRange: (a: number, b: number, c: number) => void;
|
|
2392
2465
|
readonly __wbg_set_terrainmaterial_castShadow: (a: number, b: number) => void;
|
|
2466
|
+
readonly __wbg_set_terrainmaterial_lit: (a: number, b: number) => void;
|
|
2393
2467
|
readonly __wbg_set_terrainmaterial_receiveShadow: (a: number, b: number) => void;
|
|
2394
2468
|
readonly __wbg_set_terrainmaterial_show: (a: number, b: number) => void;
|
|
2395
2469
|
readonly __wbg_set_terrainmaterial_showBoundingBox: (a: number, b: number) => void;
|
|
@@ -2460,6 +2534,10 @@ export interface InitOutput {
|
|
|
2460
2534
|
readonly constructedpolygonoutlinegeometry_batch_index: (a: number) => any;
|
|
2461
2535
|
readonly constructedpolygonoutlinegeometry_batch_index_size: (a: number) => number;
|
|
2462
2536
|
readonly constructedpolygonoutlinegeometry_position: (a: number) => any;
|
|
2537
|
+
readonly constructedpolygonoutlinegeometry_position_3d_high: (a: number) => any;
|
|
2538
|
+
readonly constructedpolygonoutlinegeometry_position_3d_high_size: (a: number) => number;
|
|
2539
|
+
readonly constructedpolygonoutlinegeometry_position_3d_low: (a: number) => any;
|
|
2540
|
+
readonly constructedpolygonoutlinegeometry_position_3d_low_size: (a: number) => number;
|
|
2463
2541
|
readonly constructedpolygonoutlinegeometry_position_size: (a: number) => number;
|
|
2464
2542
|
readonly constructedpolygonoutlinegeometry_scale_normal_and_cap: (a: number) => any;
|
|
2465
2543
|
readonly constructedpolygonoutlinegeometry_scale_normal_and_cap_size: (a: number) => number;
|
|
@@ -2704,6 +2782,9 @@ export interface InitOutput {
|
|
|
2704
2782
|
readonly __wbg_get_textmaterial_outlineColor: (a: number) => number;
|
|
2705
2783
|
readonly __wbg_get_textmaterial_color: (a: number) => number;
|
|
2706
2784
|
readonly __wbg_get_pointmaterial_color: (a: number) => number;
|
|
2785
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationMinOffset: (a: number) => number;
|
|
2786
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationEpsilon: (a: number) => number;
|
|
2787
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationMaxOffset: (a: number) => number;
|
|
2707
2788
|
readonly __wbg_get_tilexyz_x: (a: number) => number;
|
|
2708
2789
|
readonly __wbg_get_vec2_y: (a: number) => number;
|
|
2709
2790
|
readonly __wbg_get_vec3_z: (a: number) => number;
|
|
@@ -2738,8 +2819,8 @@ export interface InitOutput {
|
|
|
2738
2819
|
readonly __wbg_get_rastertileinternalmaterial_elevationBoundary: (a: number) => number;
|
|
2739
2820
|
readonly __wbg_get_rastertileinternalmaterial_elevationBScaler: (a: number) => number;
|
|
2740
2821
|
readonly __wbg_get_elevationdecoder_g_scaler: (a: number) => number;
|
|
2741
|
-
readonly
|
|
2742
|
-
readonly
|
|
2822
|
+
readonly __wbg_get_ellipsoidgeodesic_start_heading: (a: number) => number;
|
|
2823
|
+
readonly __wbg_get_ellipsoidgeodesic_distance: (a: number) => number;
|
|
2743
2824
|
readonly __wbg_get_elevationdecoder_b_scaler: (a: number) => number;
|
|
2744
2825
|
readonly __wbg_get_returnedconstructedterrainmesh_min_height: (a: number) => number;
|
|
2745
2826
|
readonly __wbg_get_returnedconstructedterrainmesh_max_height: (a: number) => number;
|
|
@@ -2753,6 +2834,9 @@ export interface InitOutput {
|
|
|
2753
2834
|
readonly __wbg_set_pointmaterial_center: (a: number, b: number) => void;
|
|
2754
2835
|
readonly __wbg_set_terrainmaterial_skirtExaggeration: (a: number, b: number) => void;
|
|
2755
2836
|
readonly __wbg_set_polylineinternalmaterial_minMaxHeights: (a: number, b: number, c: number) => void;
|
|
2837
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMinOffset: (a: number, b: number) => void;
|
|
2838
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationEpsilon: (a: number, b: number) => void;
|
|
2839
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMaxOffset: (a: number, b: number) => void;
|
|
2756
2840
|
readonly __wbg_set_ray_origin: (a: number, b: number) => void;
|
|
2757
2841
|
readonly __wbg_set_ray_direction: (a: number, b: number) => void;
|
|
2758
2842
|
readonly __wbg_set_modelinternalmaterial_pointCloudGeodeticNormal: (a: number, b: number) => void;
|
|
@@ -2794,8 +2878,8 @@ export interface InitOutput {
|
|
|
2794
2878
|
readonly __wbg_set_rastertileinternalmaterial_elevationBoundary: (a: number, b: number) => void;
|
|
2795
2879
|
readonly __wbg_set_rastertileinternalmaterial_elevationBScaler: (a: number, b: number) => void;
|
|
2796
2880
|
readonly __wbg_set_elevationdecoder_g_scaler: (a: number, b: number) => void;
|
|
2797
|
-
readonly
|
|
2798
|
-
readonly
|
|
2881
|
+
readonly __wbg_set_ellipsoidgeodesic_start_heading: (a: number, b: number) => void;
|
|
2882
|
+
readonly __wbg_set_ellipsoidgeodesic_distance: (a: number, b: number) => void;
|
|
2799
2883
|
readonly __wbg_set_elevationdecoder_b_scaler: (a: number, b: number) => void;
|
|
2800
2884
|
readonly __wbg_set_returnedconstructedterrainmesh_min_height: (a: number, b: number) => void;
|
|
2801
2885
|
readonly __wbg_set_returnedconstructedterrainmesh_max_height: (a: number, b: number) => void;
|
|
@@ -2834,6 +2918,7 @@ export interface InitOutput {
|
|
|
2834
2918
|
readonly __wbg_get_pointmaterial_center: (a: number) => number;
|
|
2835
2919
|
readonly __wbg_get_modelmaterial_waterScaleNormal: (a: number) => number;
|
|
2836
2920
|
readonly __wbg_get_polylineinternalmaterial_minMaxHeights: (a: number) => [number, number];
|
|
2921
|
+
readonly __wbg_get_modelinternalmaterial_pointCloudGeodeticNormal: (a: number) => number;
|
|
2837
2922
|
readonly __wbg_get_ray_origin: (a: number) => number;
|
|
2838
2923
|
readonly __wbg_get_tilexyz_y: (a: number) => number;
|
|
2839
2924
|
readonly __wbg_get_vec2_x: (a: number) => number;
|
|
@@ -2864,6 +2949,8 @@ export interface InitOutput {
|
|
|
2864
2949
|
readonly __wbg_modelinternalmaterial_free: (a: number, b: number) => void;
|
|
2865
2950
|
readonly __wbg_polylineinternalmaterial_free: (a: number, b: number) => void;
|
|
2866
2951
|
readonly __wbg_vec3_free: (a: number, b: number) => void;
|
|
2952
|
+
readonly __wbg_set_ellipsoidgeodesic_end: (a: number, b: number) => void;
|
|
2953
|
+
readonly __wbg_set_ellipsoidgeodesic_start: (a: number, b: number) => void;
|
|
2867
2954
|
readonly __wbg_compiledfilter_free: (a: number, b: number) => void;
|
|
2868
2955
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
2869
2956
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
package/navara_wasm_worker.js
CHANGED
|
@@ -1368,6 +1368,34 @@ export class ConstructedPolygonOutlineGeometry {
|
|
|
1368
1368
|
const ret = wasm.constructedpolygonoutlinegeometry_position(this.__wbg_ptr);
|
|
1369
1369
|
return ret;
|
|
1370
1370
|
}
|
|
1371
|
+
/**
|
|
1372
|
+
* @returns {Float32Array | undefined}
|
|
1373
|
+
*/
|
|
1374
|
+
position_3d_high() {
|
|
1375
|
+
const ret = wasm.constructedpolygonoutlinegeometry_position_3d_high(this.__wbg_ptr);
|
|
1376
|
+
return ret;
|
|
1377
|
+
}
|
|
1378
|
+
/**
|
|
1379
|
+
* @returns {number | undefined}
|
|
1380
|
+
*/
|
|
1381
|
+
position_3d_high_size() {
|
|
1382
|
+
const ret = wasm.constructedpolygonoutlinegeometry_position_3d_high_size(this.__wbg_ptr);
|
|
1383
|
+
return ret === 0xFFFFFF ? undefined : ret;
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* @returns {Float32Array | undefined}
|
|
1387
|
+
*/
|
|
1388
|
+
position_3d_low() {
|
|
1389
|
+
const ret = wasm.constructedpolygonoutlinegeometry_position_3d_low(this.__wbg_ptr);
|
|
1390
|
+
return ret;
|
|
1391
|
+
}
|
|
1392
|
+
/**
|
|
1393
|
+
* @returns {number | undefined}
|
|
1394
|
+
*/
|
|
1395
|
+
position_3d_low_size() {
|
|
1396
|
+
const ret = wasm.constructedpolygonoutlinegeometry_position_3d_low_size(this.__wbg_ptr);
|
|
1397
|
+
return ret === 0xFFFFFF ? undefined : ret;
|
|
1398
|
+
}
|
|
1371
1399
|
/**
|
|
1372
1400
|
* @returns {number}
|
|
1373
1401
|
*/
|
|
@@ -1903,6 +1931,17 @@ export class EllipsoidGeodesic {
|
|
|
1903
1931
|
EllipsoidGeodesicFinalization.register(this, this.__wbg_ptr, this);
|
|
1904
1932
|
return this;
|
|
1905
1933
|
}
|
|
1934
|
+
/**
|
|
1935
|
+
* Whether Vincenty's inverse iteration converged. `false` for
|
|
1936
|
+
* near-antipodal endpoints, where `distance` is only a rough estimate
|
|
1937
|
+
* and interpolation snaps to the endpoints instead of following the
|
|
1938
|
+
* (unreliable) capped solution.
|
|
1939
|
+
* @returns {boolean}
|
|
1940
|
+
*/
|
|
1941
|
+
get converged() {
|
|
1942
|
+
const ret = wasm.__wbg_get_ellipsoidgeodesic_converged(this.__wbg_ptr);
|
|
1943
|
+
return ret !== 0;
|
|
1944
|
+
}
|
|
1906
1945
|
/**
|
|
1907
1946
|
* @returns {number}
|
|
1908
1947
|
*/
|
|
@@ -1938,6 +1977,16 @@ export class EllipsoidGeodesic {
|
|
|
1938
1977
|
const ret = wasm.__wbg_get_ellipsoidgeodesic_start(this.__wbg_ptr);
|
|
1939
1978
|
return LLE.__wrap(ret);
|
|
1940
1979
|
}
|
|
1980
|
+
/**
|
|
1981
|
+
* Whether Vincenty's inverse iteration converged. `false` for
|
|
1982
|
+
* near-antipodal endpoints, where `distance` is only a rough estimate
|
|
1983
|
+
* and interpolation snaps to the endpoints instead of following the
|
|
1984
|
+
* (unreliable) capped solution.
|
|
1985
|
+
* @param {boolean} arg0
|
|
1986
|
+
*/
|
|
1987
|
+
set converged(arg0) {
|
|
1988
|
+
wasm.__wbg_set_ellipsoidgeodesic_converged(this.__wbg_ptr, arg0);
|
|
1989
|
+
}
|
|
1941
1990
|
/**
|
|
1942
1991
|
* @param {number} arg0
|
|
1943
1992
|
*/
|
|
@@ -2751,6 +2800,16 @@ export class ModelMaterial {
|
|
|
2751
2800
|
const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
|
|
2752
2801
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2753
2802
|
}
|
|
2803
|
+
/**
|
|
2804
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
2805
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
2806
|
+
* the shadow G-buffer keep being written.
|
|
2807
|
+
* @returns {boolean | undefined}
|
|
2808
|
+
*/
|
|
2809
|
+
get lit() {
|
|
2810
|
+
const ret = wasm.__wbg_get_modelmaterial_lit(this.__wbg_ptr);
|
|
2811
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
2812
|
+
}
|
|
2754
2813
|
/**
|
|
2755
2814
|
* @returns {number | undefined}
|
|
2756
2815
|
*/
|
|
@@ -3000,6 +3059,15 @@ export class ModelMaterial {
|
|
|
3000
3059
|
set ior(arg0) {
|
|
3001
3060
|
wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3002
3061
|
}
|
|
3062
|
+
/**
|
|
3063
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
3064
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
3065
|
+
* the shadow G-buffer keep being written.
|
|
3066
|
+
* @param {boolean | null} [arg0]
|
|
3067
|
+
*/
|
|
3068
|
+
set lit(arg0) {
|
|
3069
|
+
wasm.__wbg_set_modelmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
3070
|
+
}
|
|
3003
3071
|
/**
|
|
3004
3072
|
* @param {number | null} [arg0]
|
|
3005
3073
|
*/
|
|
@@ -3869,6 +3937,16 @@ export class PolygonMaterial {
|
|
|
3869
3937
|
const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
|
|
3870
3938
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3871
3939
|
}
|
|
3940
|
+
/**
|
|
3941
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
3942
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
3943
|
+
* the shadow G-buffer keep being written.
|
|
3944
|
+
* @returns {boolean | undefined}
|
|
3945
|
+
*/
|
|
3946
|
+
get lit() {
|
|
3947
|
+
const ret = wasm.__wbg_get_polygonmaterial_lit(this.__wbg_ptr);
|
|
3948
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3949
|
+
}
|
|
3872
3950
|
/**
|
|
3873
3951
|
* Need to enable `transparent`.
|
|
3874
3952
|
* @returns {number | undefined}
|
|
@@ -4131,6 +4209,15 @@ export class PolygonMaterial {
|
|
|
4131
4209
|
set ior(arg0) {
|
|
4132
4210
|
wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4133
4211
|
}
|
|
4212
|
+
/**
|
|
4213
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
4214
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
4215
|
+
* the shadow G-buffer keep being written.
|
|
4216
|
+
* @param {boolean | null} [arg0]
|
|
4217
|
+
*/
|
|
4218
|
+
set lit(arg0) {
|
|
4219
|
+
wasm.__wbg_set_polygonmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
4220
|
+
}
|
|
4134
4221
|
/**
|
|
4135
4222
|
* Need to enable `transparent`.
|
|
4136
4223
|
* @param {number | null} [arg0]
|
|
@@ -4822,6 +4909,16 @@ export class PolylineMaterial {
|
|
|
4822
4909
|
const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
|
|
4823
4910
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4824
4911
|
}
|
|
4912
|
+
/**
|
|
4913
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
4914
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
4915
|
+
* the shadow G-buffer keep being written.
|
|
4916
|
+
* @returns {boolean | undefined}
|
|
4917
|
+
*/
|
|
4918
|
+
get lit() {
|
|
4919
|
+
const ret = wasm.__wbg_get_polylinematerial_lit(this.__wbg_ptr);
|
|
4920
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
4921
|
+
}
|
|
4825
4922
|
/**
|
|
4826
4923
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
4827
4924
|
* Smaller values are cheaper to render as they reduce fragment shader overdraw.
|
|
@@ -4968,6 +5065,15 @@ export class PolylineMaterial {
|
|
|
4968
5065
|
set height(arg0) {
|
|
4969
5066
|
wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4970
5067
|
}
|
|
5068
|
+
/**
|
|
5069
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
5070
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
5071
|
+
* the shadow G-buffer keep being written.
|
|
5072
|
+
* @param {boolean | null} [arg0]
|
|
5073
|
+
*/
|
|
5074
|
+
set lit(arg0) {
|
|
5075
|
+
wasm.__wbg_set_polylinematerial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
5076
|
+
}
|
|
4971
5077
|
/**
|
|
4972
5078
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
4973
5079
|
* Smaller values are cheaper to render as they reduce fragment shader overdraw.
|
|
@@ -5280,6 +5386,16 @@ export class RasterTileInternalMaterial {
|
|
|
5280
5386
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
5281
5387
|
return v1;
|
|
5282
5388
|
}
|
|
5389
|
+
/**
|
|
5390
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
5391
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
5392
|
+
* the shadow G-buffer keep being written.
|
|
5393
|
+
* @returns {boolean | undefined}
|
|
5394
|
+
*/
|
|
5395
|
+
get lit() {
|
|
5396
|
+
const ret = wasm.__wbg_get_rastertileinternalmaterial_lit(this.__wbg_ptr);
|
|
5397
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
5398
|
+
}
|
|
5283
5399
|
/**
|
|
5284
5400
|
* @returns {number}
|
|
5285
5401
|
*/
|
|
@@ -5508,6 +5624,15 @@ export class RasterTileInternalMaterial {
|
|
|
5508
5624
|
const len0 = WASM_VECTOR_LEN;
|
|
5509
5625
|
wasm.__wbg_set_rastertileinternalmaterial_layerReproject(this.__wbg_ptr, ptr0, len0);
|
|
5510
5626
|
}
|
|
5627
|
+
/**
|
|
5628
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
5629
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
5630
|
+
* the shadow G-buffer keep being written.
|
|
5631
|
+
* @param {boolean | null} [arg0]
|
|
5632
|
+
*/
|
|
5633
|
+
set lit(arg0) {
|
|
5634
|
+
wasm.__wbg_set_rastertileinternalmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
5635
|
+
}
|
|
5511
5636
|
/**
|
|
5512
5637
|
* @param {number} arg0
|
|
5513
5638
|
*/
|
|
@@ -5826,6 +5951,16 @@ export class TerrainMaterial {
|
|
|
5826
5951
|
const ret = wasm.__wbg_get_terrainmaterial_castShadow(this.__wbg_ptr);
|
|
5827
5952
|
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
5828
5953
|
}
|
|
5954
|
+
/**
|
|
5955
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
5956
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
5957
|
+
* the shadow G-buffer keep being written.
|
|
5958
|
+
* @returns {boolean | undefined}
|
|
5959
|
+
*/
|
|
5960
|
+
get lit() {
|
|
5961
|
+
const ret = wasm.__wbg_get_terrainmaterial_lit(this.__wbg_ptr);
|
|
5962
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
5963
|
+
}
|
|
5829
5964
|
/**
|
|
5830
5965
|
* @returns {boolean | undefined}
|
|
5831
5966
|
*/
|
|
@@ -5871,6 +6006,15 @@ export class TerrainMaterial {
|
|
|
5871
6006
|
set castShadow(arg0) {
|
|
5872
6007
|
wasm.__wbg_set_terrainmaterial_castShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
5873
6008
|
}
|
|
6009
|
+
/**
|
|
6010
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
6011
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
6012
|
+
* the shadow G-buffer keep being written.
|
|
6013
|
+
* @param {boolean | null} [arg0]
|
|
6014
|
+
*/
|
|
6015
|
+
set lit(arg0) {
|
|
6016
|
+
wasm.__wbg_set_terrainmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
6017
|
+
}
|
|
5874
6018
|
/**
|
|
5875
6019
|
* @param {boolean | null} [arg0]
|
|
5876
6020
|
*/
|
|
Binary file
|