@navaramap/engine-worker 0.0.0 → 0.0.1
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 +102 -92
- package/navara_wasm_worker.js +23 -22
- package/navara_wasm_worker_bg.wasm +0 -0
- package/package.json +2 -2
package/navara_wasm_worker.d.ts
CHANGED
|
@@ -592,6 +592,14 @@ export class Globe {
|
|
|
592
592
|
* Whether to hide underground geometry. Disabling this value might cause unexpected behavior when using effect.
|
|
593
593
|
*/
|
|
594
594
|
hideUnderground: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* Whether the globe tiles with the Geographic scheme (quantized-mesh
|
|
597
|
+
* terrain) rather than the default WebMercator. Engine-set output — the
|
|
598
|
+
* web renderer selects its raster drape pipeline (baked vs direct) from
|
|
599
|
+
* it at tile-mesh creation; ignored on input (the scheme is dictated by
|
|
600
|
+
* the terrain source, not configurable).
|
|
601
|
+
*/
|
|
602
|
+
isGeographicTiling: boolean;
|
|
595
603
|
/**
|
|
596
604
|
* Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
|
|
597
605
|
*/
|
|
@@ -1977,6 +1985,7 @@ export interface InitOutput {
|
|
|
1977
1985
|
readonly __wbg_get_globe_color: (a: number) => number;
|
|
1978
1986
|
readonly __wbg_get_globe_elevationColormap: (a: number) => [number, number];
|
|
1979
1987
|
readonly __wbg_get_globe_hideUnderground: (a: number) => number;
|
|
1988
|
+
readonly __wbg_get_globe_isGeographicTiling: (a: number) => number;
|
|
1980
1989
|
readonly __wbg_get_globe_opacity: (a: number) => number;
|
|
1981
1990
|
readonly __wbg_get_globe_segments: (a: number) => number;
|
|
1982
1991
|
readonly __wbg_get_globe_transparent: (a: number) => number;
|
|
@@ -2197,6 +2206,7 @@ export interface InitOutput {
|
|
|
2197
2206
|
readonly __wbg_set_globe_color: (a: number, b: number) => void;
|
|
2198
2207
|
readonly __wbg_set_globe_elevationColormap: (a: number, b: number, c: number) => void;
|
|
2199
2208
|
readonly __wbg_set_globe_hideUnderground: (a: number, b: number) => void;
|
|
2209
|
+
readonly __wbg_set_globe_isGeographicTiling: (a: number, b: number) => void;
|
|
2200
2210
|
readonly __wbg_set_globe_opacity: (a: number, b: number) => void;
|
|
2201
2211
|
readonly __wbg_set_globe_segments: (a: number, b: number) => void;
|
|
2202
2212
|
readonly __wbg_set_globe_transparent: (a: number, b: number) => void;
|
|
@@ -2656,54 +2666,70 @@ export interface InitOutput {
|
|
|
2656
2666
|
readonly __wbg_set_elevationheatmapmaterial_maxHeight: (a: number, b: number, c: number) => void;
|
|
2657
2667
|
readonly __wbg_get_terrainmaterial_skirtExaggeration: (a: number) => number;
|
|
2658
2668
|
readonly __wbg_set_terrainmaterial_skirtExaggeration: (a: number, b: number) => void;
|
|
2659
|
-
readonly
|
|
2660
|
-
readonly
|
|
2661
|
-
readonly
|
|
2662
|
-
readonly __wbg_get_elevationdecoder_r_scaler: (a: number) => number;
|
|
2669
|
+
readonly __wbg_set_polylineinternalmaterial_minMaxHeights: (a: number, b: number, c: number) => void;
|
|
2670
|
+
readonly __wbg_get_polylinematerial_color: (a: number) => number;
|
|
2671
|
+
readonly __wbg_get_ray_direction: (a: number) => number;
|
|
2663
2672
|
readonly __wbg_get_tilexyz_x: (a: number) => number;
|
|
2664
|
-
readonly
|
|
2665
|
-
readonly __wbg_get_cameraorientation_heading: (a: number) => number;
|
|
2673
|
+
readonly __wbg_get_vec2_x: (a: number) => number;
|
|
2666
2674
|
readonly __wbg_get_vec3_x: (a: number) => number;
|
|
2667
|
-
readonly
|
|
2668
|
-
readonly
|
|
2669
|
-
readonly __wbg_get_nearfar_near: (a: number) => number;
|
|
2675
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationMinHeight: (a: number) => number;
|
|
2676
|
+
readonly __wbg_get_cameraorientation_heading: (a: number) => number;
|
|
2670
2677
|
readonly __wbg_get_pointmaterial_transparent: (a: number) => number;
|
|
2671
2678
|
readonly __wbg_get_pointmaterial_offsetDepth: (a: number) => number;
|
|
2672
2679
|
readonly __wbg_get_transform_tx: (a: number) => number;
|
|
2673
|
-
readonly __wbg_get_ray_direction: (a: number) => number;
|
|
2674
2680
|
readonly __wbg_get_lle_lat: (a: number) => number;
|
|
2675
|
-
readonly
|
|
2676
|
-
readonly
|
|
2677
|
-
readonly
|
|
2678
|
-
readonly
|
|
2681
|
+
readonly __wbg_get_camerafrustum_near: (a: number) => number;
|
|
2682
|
+
readonly __wbg_get_nearfar_near: (a: number) => number;
|
|
2683
|
+
readonly __wbg_get_encodedvec3_low: (a: number) => number;
|
|
2684
|
+
readonly __wbg_get_window_width: (a: number) => number;
|
|
2685
|
+
readonly __wbg_get_elevationdecoder_r_scaler: (a: number) => number;
|
|
2686
|
+
readonly __wbg_set_textmaterial_borderWidth: (a: number, b: number) => void;
|
|
2687
|
+
readonly __wbg_set_textmaterial_outlineOpacity: (a: number, b: number) => void;
|
|
2688
|
+
readonly __wbg_set_textmaterial_height: (a: number, b: number) => void;
|
|
2689
|
+
readonly __wbg_set_textmaterial_maxWidth: (a: number, b: number) => void;
|
|
2690
|
+
readonly __wbg_set_textmaterial_outlineWidth: (a: number, b: number) => void;
|
|
2691
|
+
readonly __wbg_set_textmaterial_lineHeight: (a: number, b: number) => void;
|
|
2692
|
+
readonly __wbg_set_textmaterial_opacity: (a: number, b: number) => void;
|
|
2693
|
+
readonly __wbg_set_textmaterial_size: (a: number, b: number) => void;
|
|
2694
|
+
readonly __wbg_set_pointmaterial_opacity: (a: number, b: number) => void;
|
|
2695
|
+
readonly __wbg_set_pointmaterial_height: (a: number, b: number) => void;
|
|
2696
|
+
readonly __wbg_set_pointmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
2697
|
+
readonly __wbg_set_textmaterial_color: (a: number, b: number) => void;
|
|
2698
|
+
readonly __wbg_get_rastermaterial_color: (a: number) => number;
|
|
2699
|
+
readonly __wbg_set_rastermaterial_opacity: (a: number, b: number) => void;
|
|
2700
|
+
readonly __wbg_set_polylinematerial_width: (a: number, b: number) => void;
|
|
2701
|
+
readonly __wbg_set_polylinematerial_maxWidth: (a: number, b: number) => void;
|
|
2702
|
+
readonly __wbg_set_polylinematerial_height: (a: number, b: number) => void;
|
|
2703
|
+
readonly __wbg_set_polylinematerial_emissiveIntensity: (a: number, b: number) => void;
|
|
2704
|
+
readonly __wbg_set_pointmaterial_size: (a: number, b: number) => void;
|
|
2705
|
+
readonly __wbg_set_modelmaterial_reflectivity: (a: number, b: number) => void;
|
|
2706
|
+
readonly __wbg_set_modelmaterial_roughness: (a: number, b: number) => void;
|
|
2707
|
+
readonly __wbg_set_modelmaterial_waterSpeed: (a: number, b: number) => void;
|
|
2708
|
+
readonly __wbg_set_textmaterial_outlineColor: (a: number, b: number) => void;
|
|
2709
|
+
readonly __wbg_set_pointmaterial_color: (a: number, b: number) => void;
|
|
2710
|
+
readonly __wbg_set_modelmaterial_waterScaleNormal: (a: number, b: number) => void;
|
|
2711
|
+
readonly __wbg_polylineinternalmaterial_free: (a: number, b: number) => void;
|
|
2712
|
+
readonly __wbg_set_ray_direction: (a: number, b: number) => void;
|
|
2713
|
+
readonly __wbg_set_tilexyz_y: (a: number, b: number) => void;
|
|
2714
|
+
readonly __wbg_set_tilexyz_x: (a: number, b: number) => void;
|
|
2679
2715
|
readonly __wbg_set_vec2_y: (a: number, b: number) => void;
|
|
2680
2716
|
readonly __wbg_set_vec2_x: (a: number, b: number) => void;
|
|
2681
|
-
readonly
|
|
2682
|
-
readonly
|
|
2683
|
-
readonly
|
|
2684
|
-
readonly
|
|
2685
|
-
readonly __wbg_set_camerafrustum_aspect_ratio: (a: number, b: number) => void;
|
|
2686
|
-
readonly __wbg_set_camerafrustum_fov: (a: number, b: number) => void;
|
|
2687
|
-
readonly __wbg_set_camerafrustum_far: (a: number, b: number) => void;
|
|
2688
|
-
readonly __wbg_set_camerafrustum_near: (a: number, b: number) => void;
|
|
2689
|
-
readonly __wbg_set_returnedconstructedterrainmesh_min_height: (a: number, b: number) => void;
|
|
2690
|
-
readonly __wbg_set_returnedconstructedterrainmesh_max_height: (a: number, b: number) => void;
|
|
2691
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationRScaler: (a: number, b: number) => void;
|
|
2717
|
+
readonly __wbg_set_vec3_z: (a: number, b: number) => void;
|
|
2718
|
+
readonly __wbg_set_vec3_y: (a: number, b: number) => void;
|
|
2719
|
+
readonly __wbg_set_vec3_x: (a: number, b: number) => void;
|
|
2720
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationGScaler: (a: number, b: number) => void;
|
|
2692
2721
|
readonly __wbg_set_rastertileinternalmaterial_elevationMinHeight: (a: number, b: number) => void;
|
|
2722
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationRScaler: (a: number, b: number) => void;
|
|
2693
2723
|
readonly __wbg_set_rastertileinternalmaterial_elevationMaxHeight: (a: number, b: number) => void;
|
|
2694
|
-
readonly
|
|
2695
|
-
readonly
|
|
2696
|
-
readonly
|
|
2697
|
-
readonly
|
|
2698
|
-
readonly
|
|
2699
|
-
readonly
|
|
2700
|
-
readonly
|
|
2701
|
-
readonly
|
|
2702
|
-
readonly
|
|
2703
|
-
readonly __wbg_set_elevationdecoder_g_scaler: (a: number, b: number) => void;
|
|
2704
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationMinOffset: (a: number, b: number) => void;
|
|
2705
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationMaxOffset: (a: number, b: number) => void;
|
|
2706
|
-
readonly __wbg_set_elevationdecoder_b_scaler: (a: number, b: number) => void;
|
|
2724
|
+
readonly __wbg_set_plane_distance: (a: number, b: number) => void;
|
|
2725
|
+
readonly __wbg_set_cameraorientation_roll: (a: number, b: number) => void;
|
|
2726
|
+
readonly __wbg_set_cameraorientation_pitch: (a: number, b: number) => void;
|
|
2727
|
+
readonly __wbg_set_cameraorientation_heading: (a: number, b: number) => void;
|
|
2728
|
+
readonly __wbg_set_modelmaterial_shininess: (a: number, b: number) => void;
|
|
2729
|
+
readonly __wbg_set_modelmaterial_specularStrength: (a: number, b: number) => void;
|
|
2730
|
+
readonly __wbg_set_elevationheatmapmaterial_logBoundary: (a: number, b: number, c: number) => void;
|
|
2731
|
+
readonly __wbg_set_cameracontrolupdateevent_spinDuration: (a: number, b: number) => void;
|
|
2732
|
+
readonly __wbg_set_elevationheatmapmaterial_minHeight: (a: number, b: number, c: number) => void;
|
|
2707
2733
|
readonly __wbg_set_transform_tz: (a: number, b: number) => void;
|
|
2708
2734
|
readonly __wbg_set_transform_ty: (a: number, b: number) => void;
|
|
2709
2735
|
readonly __wbg_set_transform_tx: (a: number, b: number) => void;
|
|
@@ -2714,81 +2740,65 @@ export interface InitOutput {
|
|
|
2714
2740
|
readonly __wbg_set_transform_qy: (a: number, b: number) => void;
|
|
2715
2741
|
readonly __wbg_set_transform_qx: (a: number, b: number) => void;
|
|
2716
2742
|
readonly __wbg_set_transform_qw: (a: number, b: number) => void;
|
|
2717
|
-
readonly
|
|
2718
|
-
readonly
|
|
2719
|
-
readonly
|
|
2720
|
-
readonly
|
|
2721
|
-
readonly
|
|
2722
|
-
readonly
|
|
2723
|
-
readonly
|
|
2724
|
-
readonly __wbg_set_textmaterial_outlineColor: (a: number, b: number) => void;
|
|
2725
|
-
readonly __wbg_set_textmaterial_opacity: (a: number, b: number) => void;
|
|
2726
|
-
readonly __wbg_set_textmaterial_maxWidth: (a: number, b: number) => void;
|
|
2727
|
-
readonly __wbg_set_textmaterial_lineHeight: (a: number, b: number) => void;
|
|
2728
|
-
readonly __wbg_set_textmaterial_height: (a: number, b: number) => void;
|
|
2729
|
-
readonly __wbg_set_textmaterial_color: (a: number, b: number) => void;
|
|
2730
|
-
readonly __wbg_set_textmaterial_borderWidth: (a: number, b: number) => void;
|
|
2731
|
-
readonly __wbg_set_elevationheatmapmaterial_minHeight: (a: number, b: number, c: number) => void;
|
|
2732
|
-
readonly __wbg_set_elevationheatmapmaterial_logBoundary: (a: number, b: number, c: number) => void;
|
|
2733
|
-
readonly __wbg_set_rastermaterial_opacity: (a: number, b: number) => void;
|
|
2734
|
-
readonly __wbg_set_tilexyz_x: (a: number, b: number) => void;
|
|
2735
|
-
readonly __wbg_set_tilexyz_y: (a: number, b: number) => void;
|
|
2736
|
-
readonly __wbg_set_ray_direction: (a: number, b: number) => void;
|
|
2737
|
-
readonly __wbg_set_encodedvec3_low: (a: number, b: number) => void;
|
|
2738
|
-
readonly __wbg_set_cameraorientation_roll: (a: number, b: number) => void;
|
|
2739
|
-
readonly __wbg_set_cameraorientation_pitch: (a: number, b: number) => void;
|
|
2740
|
-
readonly __wbg_set_cameraorientation_heading: (a: number, b: number) => void;
|
|
2743
|
+
readonly __wbg_set_lle_lng: (a: number, b: number) => void;
|
|
2744
|
+
readonly __wbg_set_lle_lat: (a: number, b: number) => void;
|
|
2745
|
+
readonly __wbg_set_lle_height: (a: number, b: number) => void;
|
|
2746
|
+
readonly __wbg_set_camerafrustum_aspect_ratio: (a: number, b: number) => void;
|
|
2747
|
+
readonly __wbg_set_camerafrustum_fov: (a: number, b: number) => void;
|
|
2748
|
+
readonly __wbg_set_camerafrustum_far: (a: number, b: number) => void;
|
|
2749
|
+
readonly __wbg_set_camerafrustum_near: (a: number, b: number) => void;
|
|
2741
2750
|
readonly __wbg_set_nearfar_near: (a: number, b: number) => void;
|
|
2742
2751
|
readonly __wbg_set_nearfar_far: (a: number, b: number) => void;
|
|
2743
|
-
readonly
|
|
2744
|
-
readonly
|
|
2745
|
-
readonly
|
|
2746
|
-
readonly
|
|
2747
|
-
readonly
|
|
2748
|
-
readonly
|
|
2749
|
-
readonly
|
|
2750
|
-
readonly
|
|
2751
|
-
readonly
|
|
2752
|
-
readonly
|
|
2753
|
-
readonly
|
|
2754
|
-
readonly
|
|
2755
|
-
readonly
|
|
2756
|
-
readonly
|
|
2752
|
+
readonly __wbg_set_globe_maxSse: (a: number, b: number) => void;
|
|
2753
|
+
readonly __wbg_set_window_width: (a: number, b: number) => void;
|
|
2754
|
+
readonly __wbg_set_window_pixelRatio: (a: number, b: number) => void;
|
|
2755
|
+
readonly __wbg_set_window_height: (a: number, b: number) => void;
|
|
2756
|
+
readonly __wbg_set_elevationdecoder_r_scaler: (a: number, b: number) => void;
|
|
2757
|
+
readonly __wbg_set_elevationdecoder_offset: (a: number, b: number) => void;
|
|
2758
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationBoundary: (a: number, b: number) => void;
|
|
2759
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationBScaler: (a: number, b: number) => void;
|
|
2760
|
+
readonly __wbg_set_elevationdecoder_g_scaler: (a: number, b: number) => void;
|
|
2761
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMinOffset: (a: number, b: number) => void;
|
|
2762
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMaxOffset: (a: number, b: number) => void;
|
|
2763
|
+
readonly __wbg_set_elevationdecoder_b_scaler: (a: number, b: number) => void;
|
|
2764
|
+
readonly __wbg_set_returnedconstructedterrainmesh_min_height: (a: number, b: number) => void;
|
|
2765
|
+
readonly __wbg_set_returnedconstructedterrainmesh_max_height: (a: number, b: number) => void;
|
|
2766
|
+
readonly __wbg_set_uintattribute_size: (a: number, b: number) => void;
|
|
2757
2767
|
readonly __wbg_terrainmaterial_free: (a: number, b: number) => void;
|
|
2758
|
-
readonly
|
|
2768
|
+
readonly __wbg_set_textmaterial_center: (a: number, b: number) => void;
|
|
2769
|
+
readonly __wbg_set_rastermaterial_color: (a: number, b: number) => void;
|
|
2759
2770
|
readonly __wbg_set_polylinematerial_color: (a: number, b: number) => void;
|
|
2760
|
-
readonly
|
|
2761
|
-
readonly __wbg_set_pointmaterial_offsetDepth: (a: number, b: number) => void;
|
|
2762
|
-
readonly __wbg_set_globe_maxSse: (a: number, b: number) => void;
|
|
2771
|
+
readonly __wbg_set_pointmaterial_center: (a: number, b: number) => void;
|
|
2763
2772
|
readonly __wbg_set_ray_origin: (a: number, b: number) => void;
|
|
2764
|
-
readonly __wbg_set_returnedconstructedterrainmesh_rtc_translation: (a: number, b: number) => void;
|
|
2765
|
-
readonly __wbg_set_rastermaterial_color: (a: number, b: number) => void;
|
|
2766
|
-
readonly __wbg_set_plane_normal: (a: number, b: number) => void;
|
|
2767
2773
|
readonly __wbg_set_modelinternalmaterial_pointCloudGeodeticNormal: (a: number, b: number) => void;
|
|
2774
|
+
readonly __wbg_set_plane_normal: (a: number, b: number) => void;
|
|
2775
|
+
readonly __wbg_set_pointmaterial_transparent: (a: number, b: number) => void;
|
|
2776
|
+
readonly __wbg_set_pointmaterial_offsetDepth: (a: number, b: number) => void;
|
|
2768
2777
|
readonly __wbg_set_encodedvec3_high: (a: number, b: number) => void;
|
|
2769
|
-
readonly
|
|
2770
|
-
readonly __wbg_window_free: (a: number, b: number) => void;
|
|
2771
|
-
readonly __wbg_camerafrustum_free: (a: number, b: number) => void;
|
|
2772
|
-
readonly __wbg_encodedvec3_free: (a: number, b: number) => void;
|
|
2778
|
+
readonly __wbg_set_returnedconstructedterrainmesh_rtc_translation: (a: number, b: number) => void;
|
|
2773
2779
|
readonly __wbg_tileuvtransform_free: (a: number, b: number) => void;
|
|
2774
|
-
readonly __wbg_vec3_free: (a: number, b: number) => void;
|
|
2775
2780
|
readonly __wbg_plane_free: (a: number, b: number) => void;
|
|
2776
|
-
readonly
|
|
2777
|
-
readonly
|
|
2781
|
+
readonly __wbg_lle_free: (a: number, b: number) => void;
|
|
2782
|
+
readonly __wbg_camerafrustum_free: (a: number, b: number) => void;
|
|
2783
|
+
readonly __wbg_encodedvec3_free: (a: number, b: number) => void;
|
|
2784
|
+
readonly __wbg_window_free: (a: number, b: number) => void;
|
|
2778
2785
|
readonly ray_new: (a: number, b: number) => number;
|
|
2779
2786
|
readonly window_new: (a: number, b: number, c: number) => number;
|
|
2780
2787
|
readonly encodedvec3_new: (a: number, b: number) => number;
|
|
2788
|
+
readonly vec3_new: (a: number, b: number, c: number) => number;
|
|
2789
|
+
readonly camerafrustum_new: (a: number, b: number, c: number, d: number) => number;
|
|
2781
2790
|
readonly __wbg_modelinternalmaterial_free: (a: number, b: number) => void;
|
|
2791
|
+
readonly __wbg_vec3_free: (a: number, b: number) => void;
|
|
2792
|
+
readonly __wbg_set_encodedvec3_low: (a: number, b: number) => void;
|
|
2782
2793
|
readonly __wbg_compiledfilter_free: (a: number, b: number) => void;
|
|
2783
|
-
readonly __wbg_lle_free: (a: number, b: number) => void;
|
|
2784
2794
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
2785
2795
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
2786
2796
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
2787
2797
|
readonly __externref_table_alloc: () => number;
|
|
2788
2798
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
2789
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
2790
2799
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
2791
2800
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
2801
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
2792
2802
|
readonly __wbindgen_start: () => void;
|
|
2793
2803
|
}
|
|
2794
2804
|
|
package/navara_wasm_worker.js
CHANGED
|
@@ -2278,6 +2278,18 @@ export class Globe {
|
|
|
2278
2278
|
const ret = wasm.__wbg_get_globe_hideUnderground(this.__wbg_ptr);
|
|
2279
2279
|
return ret !== 0;
|
|
2280
2280
|
}
|
|
2281
|
+
/**
|
|
2282
|
+
* Whether the globe tiles with the Geographic scheme (quantized-mesh
|
|
2283
|
+
* terrain) rather than the default WebMercator. Engine-set output — the
|
|
2284
|
+
* web renderer selects its raster drape pipeline (baked vs direct) from
|
|
2285
|
+
* it at tile-mesh creation; ignored on input (the scheme is dictated by
|
|
2286
|
+
* the terrain source, not configurable).
|
|
2287
|
+
* @returns {boolean}
|
|
2288
|
+
*/
|
|
2289
|
+
get isGeographicTiling() {
|
|
2290
|
+
const ret = wasm.__wbg_get_globe_isGeographicTiling(this.__wbg_ptr);
|
|
2291
|
+
return ret !== 0;
|
|
2292
|
+
}
|
|
2281
2293
|
/**
|
|
2282
2294
|
* Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
|
|
2283
2295
|
* @returns {number}
|
|
@@ -2370,6 +2382,17 @@ export class Globe {
|
|
|
2370
2382
|
set hideUnderground(arg0) {
|
|
2371
2383
|
wasm.__wbg_set_globe_hideUnderground(this.__wbg_ptr, arg0);
|
|
2372
2384
|
}
|
|
2385
|
+
/**
|
|
2386
|
+
* Whether the globe tiles with the Geographic scheme (quantized-mesh
|
|
2387
|
+
* terrain) rather than the default WebMercator. Engine-set output — the
|
|
2388
|
+
* web renderer selects its raster drape pipeline (baked vs direct) from
|
|
2389
|
+
* it at tile-mesh creation; ignored on input (the scheme is dictated by
|
|
2390
|
+
* the terrain source, not configurable).
|
|
2391
|
+
* @param {boolean} arg0
|
|
2392
|
+
*/
|
|
2393
|
+
set isGeographicTiling(arg0) {
|
|
2394
|
+
wasm.__wbg_set_globe_isGeographicTiling(this.__wbg_ptr, arg0);
|
|
2395
|
+
}
|
|
2373
2396
|
/**
|
|
2374
2397
|
* Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
|
|
2375
2398
|
* @param {number} arg0
|
|
@@ -7755,17 +7778,6 @@ function __wbg_get_imports() {
|
|
|
7755
7778
|
const ret = Object.entries(arg0);
|
|
7756
7779
|
return ret;
|
|
7757
7780
|
},
|
|
7758
|
-
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
7759
|
-
let deferred0_0;
|
|
7760
|
-
let deferred0_1;
|
|
7761
|
-
try {
|
|
7762
|
-
deferred0_0 = arg0;
|
|
7763
|
-
deferred0_1 = arg1;
|
|
7764
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
7765
|
-
} finally {
|
|
7766
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
7767
|
-
}
|
|
7768
|
-
},
|
|
7769
7781
|
__wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
|
|
7770
7782
|
const ret = Reflect.get(arg0, arg1);
|
|
7771
7783
|
return ret;
|
|
@@ -7855,10 +7867,6 @@ function __wbg_get_imports() {
|
|
|
7855
7867
|
const ret = new Float64Array(arg0);
|
|
7856
7868
|
return ret;
|
|
7857
7869
|
},
|
|
7858
|
-
__wbg_new_227d7c05414eb861: function() {
|
|
7859
|
-
const ret = new Error();
|
|
7860
|
-
return ret;
|
|
7861
|
-
},
|
|
7862
7870
|
__wbg_new_682678e2f47e32bc: function() {
|
|
7863
7871
|
const ret = new Array();
|
|
7864
7872
|
return ret;
|
|
@@ -7924,13 +7932,6 @@ function __wbg_get_imports() {
|
|
|
7924
7932
|
__wbg_set_c625d5a9e6b7554b: function(arg0, arg1, arg2) {
|
|
7925
7933
|
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
7926
7934
|
},
|
|
7927
|
-
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
7928
|
-
const ret = arg1.stack;
|
|
7929
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7930
|
-
const len1 = WASM_VECTOR_LEN;
|
|
7931
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7932
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7933
|
-
},
|
|
7934
7935
|
__wbg_texturefragment_new: function(arg0) {
|
|
7935
7936
|
const ret = TextureFragment.__wrap(arg0);
|
|
7936
7937
|
return ret;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navaramap/engine-worker",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.1",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/
|
|
8
|
+
"url": "git+https://github.com/reearth/navara.git",
|
|
9
9
|
"directory": "web/wasm/navara_engine_worker"
|
|
10
10
|
},
|
|
11
11
|
"publishConfig": {
|