@navaramap/engine-api 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_api.d.ts +102 -92
- package/navara_wasm_api.js +23 -22
- package/navara_wasm_api_bg.wasm +0 -0
- package/package.json +2 -2
package/navara_wasm_api.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
|
*/
|
|
@@ -1981,6 +1989,7 @@ export interface InitOutput {
|
|
|
1981
1989
|
readonly __wbg_get_globe_color: (a: number) => number;
|
|
1982
1990
|
readonly __wbg_get_globe_elevationColormap: (a: number) => [number, number];
|
|
1983
1991
|
readonly __wbg_get_globe_hideUnderground: (a: number) => number;
|
|
1992
|
+
readonly __wbg_get_globe_isGeographicTiling: (a: number) => number;
|
|
1984
1993
|
readonly __wbg_get_globe_opacity: (a: number) => number;
|
|
1985
1994
|
readonly __wbg_get_globe_segments: (a: number) => number;
|
|
1986
1995
|
readonly __wbg_get_globe_transparent: (a: number) => number;
|
|
@@ -2201,6 +2210,7 @@ export interface InitOutput {
|
|
|
2201
2210
|
readonly __wbg_set_globe_color: (a: number, b: number) => void;
|
|
2202
2211
|
readonly __wbg_set_globe_elevationColormap: (a: number, b: number, c: number) => void;
|
|
2203
2212
|
readonly __wbg_set_globe_hideUnderground: (a: number, b: number) => void;
|
|
2213
|
+
readonly __wbg_set_globe_isGeographicTiling: (a: number, b: number) => void;
|
|
2204
2214
|
readonly __wbg_set_globe_opacity: (a: number, b: number) => void;
|
|
2205
2215
|
readonly __wbg_set_globe_segments: (a: number, b: number) => void;
|
|
2206
2216
|
readonly __wbg_set_globe_transparent: (a: number, b: number) => void;
|
|
@@ -2660,54 +2670,70 @@ export interface InitOutput {
|
|
|
2660
2670
|
readonly __wbg_set_elevationheatmapmaterial_maxHeight: (a: number, b: number, c: number) => void;
|
|
2661
2671
|
readonly __wbg_get_terrainmaterial_skirtExaggeration: (a: number) => number;
|
|
2662
2672
|
readonly __wbg_set_terrainmaterial_skirtExaggeration: (a: number, b: number) => void;
|
|
2663
|
-
readonly
|
|
2664
|
-
readonly
|
|
2665
|
-
readonly
|
|
2666
|
-
readonly __wbg_get_elevationdecoder_r_scaler: (a: number) => number;
|
|
2673
|
+
readonly __wbg_set_polylineinternalmaterial_minMaxHeights: (a: number, b: number, c: number) => void;
|
|
2674
|
+
readonly __wbg_get_polylinematerial_color: (a: number) => number;
|
|
2675
|
+
readonly __wbg_get_ray_direction: (a: number) => number;
|
|
2667
2676
|
readonly __wbg_get_tilexyz_x: (a: number) => number;
|
|
2668
|
-
readonly
|
|
2669
|
-
readonly __wbg_get_cameraorientation_heading: (a: number) => number;
|
|
2677
|
+
readonly __wbg_get_vec2_x: (a: number) => number;
|
|
2670
2678
|
readonly __wbg_get_vec3_x: (a: number) => number;
|
|
2671
|
-
readonly
|
|
2672
|
-
readonly
|
|
2673
|
-
readonly __wbg_get_nearfar_near: (a: number) => number;
|
|
2679
|
+
readonly __wbg_get_rastertileinternalmaterial_elevationMinHeight: (a: number) => number;
|
|
2680
|
+
readonly __wbg_get_cameraorientation_heading: (a: number) => number;
|
|
2674
2681
|
readonly __wbg_get_pointmaterial_transparent: (a: number) => number;
|
|
2675
2682
|
readonly __wbg_get_pointmaterial_offsetDepth: (a: number) => number;
|
|
2676
2683
|
readonly __wbg_get_transform_tx: (a: number) => number;
|
|
2677
|
-
readonly __wbg_get_ray_direction: (a: number) => number;
|
|
2678
2684
|
readonly __wbg_get_lle_lat: (a: number) => number;
|
|
2679
|
-
readonly
|
|
2680
|
-
readonly
|
|
2681
|
-
readonly
|
|
2682
|
-
readonly
|
|
2685
|
+
readonly __wbg_get_camerafrustum_near: (a: number) => number;
|
|
2686
|
+
readonly __wbg_get_nearfar_near: (a: number) => number;
|
|
2687
|
+
readonly __wbg_get_encodedvec3_low: (a: number) => number;
|
|
2688
|
+
readonly __wbg_get_window_width: (a: number) => number;
|
|
2689
|
+
readonly __wbg_get_elevationdecoder_r_scaler: (a: number) => number;
|
|
2690
|
+
readonly __wbg_set_textmaterial_borderWidth: (a: number, b: number) => void;
|
|
2691
|
+
readonly __wbg_set_textmaterial_outlineOpacity: (a: number, b: number) => void;
|
|
2692
|
+
readonly __wbg_set_textmaterial_height: (a: number, b: number) => void;
|
|
2693
|
+
readonly __wbg_set_textmaterial_maxWidth: (a: number, b: number) => void;
|
|
2694
|
+
readonly __wbg_set_textmaterial_outlineWidth: (a: number, b: number) => void;
|
|
2695
|
+
readonly __wbg_set_textmaterial_lineHeight: (a: number, b: number) => void;
|
|
2696
|
+
readonly __wbg_set_textmaterial_opacity: (a: number, b: number) => void;
|
|
2697
|
+
readonly __wbg_set_textmaterial_size: (a: number, b: number) => void;
|
|
2698
|
+
readonly __wbg_set_pointmaterial_opacity: (a: number, b: number) => void;
|
|
2699
|
+
readonly __wbg_set_pointmaterial_height: (a: number, b: number) => void;
|
|
2700
|
+
readonly __wbg_set_pointmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
2701
|
+
readonly __wbg_set_textmaterial_color: (a: number, b: number) => void;
|
|
2702
|
+
readonly __wbg_get_rastermaterial_color: (a: number) => number;
|
|
2703
|
+
readonly __wbg_set_rastermaterial_opacity: (a: number, b: number) => void;
|
|
2704
|
+
readonly __wbg_set_polylinematerial_width: (a: number, b: number) => void;
|
|
2705
|
+
readonly __wbg_set_polylinematerial_maxWidth: (a: number, b: number) => void;
|
|
2706
|
+
readonly __wbg_set_polylinematerial_height: (a: number, b: number) => void;
|
|
2707
|
+
readonly __wbg_set_polylinematerial_emissiveIntensity: (a: number, b: number) => void;
|
|
2708
|
+
readonly __wbg_set_pointmaterial_size: (a: number, b: number) => void;
|
|
2709
|
+
readonly __wbg_set_modelmaterial_reflectivity: (a: number, b: number) => void;
|
|
2710
|
+
readonly __wbg_set_modelmaterial_roughness: (a: number, b: number) => void;
|
|
2711
|
+
readonly __wbg_set_modelmaterial_waterSpeed: (a: number, b: number) => void;
|
|
2712
|
+
readonly __wbg_set_textmaterial_outlineColor: (a: number, b: number) => void;
|
|
2713
|
+
readonly __wbg_set_pointmaterial_color: (a: number, b: number) => void;
|
|
2714
|
+
readonly __wbg_set_modelmaterial_waterScaleNormal: (a: number, b: number) => void;
|
|
2715
|
+
readonly __wbg_polylineinternalmaterial_free: (a: number, b: number) => void;
|
|
2716
|
+
readonly __wbg_set_ray_direction: (a: number, b: number) => void;
|
|
2717
|
+
readonly __wbg_set_tilexyz_y: (a: number, b: number) => void;
|
|
2718
|
+
readonly __wbg_set_tilexyz_x: (a: number, b: number) => void;
|
|
2683
2719
|
readonly __wbg_set_vec2_y: (a: number, b: number) => void;
|
|
2684
2720
|
readonly __wbg_set_vec2_x: (a: number, b: number) => void;
|
|
2685
|
-
readonly
|
|
2686
|
-
readonly
|
|
2687
|
-
readonly
|
|
2688
|
-
readonly
|
|
2689
|
-
readonly __wbg_set_camerafrustum_aspect_ratio: (a: number, b: number) => void;
|
|
2690
|
-
readonly __wbg_set_camerafrustum_fov: (a: number, b: number) => void;
|
|
2691
|
-
readonly __wbg_set_camerafrustum_far: (a: number, b: number) => void;
|
|
2692
|
-
readonly __wbg_set_camerafrustum_near: (a: number, b: number) => void;
|
|
2693
|
-
readonly __wbg_set_returnedconstructedterrainmesh_min_height: (a: number, b: number) => void;
|
|
2694
|
-
readonly __wbg_set_returnedconstructedterrainmesh_max_height: (a: number, b: number) => void;
|
|
2695
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationRScaler: (a: number, b: number) => void;
|
|
2721
|
+
readonly __wbg_set_vec3_z: (a: number, b: number) => void;
|
|
2722
|
+
readonly __wbg_set_vec3_y: (a: number, b: number) => void;
|
|
2723
|
+
readonly __wbg_set_vec3_x: (a: number, b: number) => void;
|
|
2724
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationGScaler: (a: number, b: number) => void;
|
|
2696
2725
|
readonly __wbg_set_rastertileinternalmaterial_elevationMinHeight: (a: number, b: number) => void;
|
|
2726
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationRScaler: (a: number, b: number) => void;
|
|
2697
2727
|
readonly __wbg_set_rastertileinternalmaterial_elevationMaxHeight: (a: number, b: number) => void;
|
|
2698
|
-
readonly
|
|
2699
|
-
readonly
|
|
2700
|
-
readonly
|
|
2701
|
-
readonly
|
|
2702
|
-
readonly
|
|
2703
|
-
readonly
|
|
2704
|
-
readonly
|
|
2705
|
-
readonly
|
|
2706
|
-
readonly
|
|
2707
|
-
readonly __wbg_set_elevationdecoder_g_scaler: (a: number, b: number) => void;
|
|
2708
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationMinOffset: (a: number, b: number) => void;
|
|
2709
|
-
readonly __wbg_set_rastertileinternalmaterial_elevationMaxOffset: (a: number, b: number) => void;
|
|
2710
|
-
readonly __wbg_set_elevationdecoder_b_scaler: (a: number, b: number) => void;
|
|
2728
|
+
readonly __wbg_set_plane_distance: (a: number, b: number) => void;
|
|
2729
|
+
readonly __wbg_set_cameraorientation_roll: (a: number, b: number) => void;
|
|
2730
|
+
readonly __wbg_set_cameraorientation_pitch: (a: number, b: number) => void;
|
|
2731
|
+
readonly __wbg_set_cameraorientation_heading: (a: number, b: number) => void;
|
|
2732
|
+
readonly __wbg_set_modelmaterial_shininess: (a: number, b: number) => void;
|
|
2733
|
+
readonly __wbg_set_modelmaterial_specularStrength: (a: number, b: number) => void;
|
|
2734
|
+
readonly __wbg_set_elevationheatmapmaterial_logBoundary: (a: number, b: number, c: number) => void;
|
|
2735
|
+
readonly __wbg_set_cameracontrolupdateevent_spinDuration: (a: number, b: number) => void;
|
|
2736
|
+
readonly __wbg_set_elevationheatmapmaterial_minHeight: (a: number, b: number, c: number) => void;
|
|
2711
2737
|
readonly __wbg_set_transform_tz: (a: number, b: number) => void;
|
|
2712
2738
|
readonly __wbg_set_transform_ty: (a: number, b: number) => void;
|
|
2713
2739
|
readonly __wbg_set_transform_tx: (a: number, b: number) => void;
|
|
@@ -2718,80 +2744,64 @@ export interface InitOutput {
|
|
|
2718
2744
|
readonly __wbg_set_transform_qy: (a: number, b: number) => void;
|
|
2719
2745
|
readonly __wbg_set_transform_qx: (a: number, b: number) => void;
|
|
2720
2746
|
readonly __wbg_set_transform_qw: (a: number, b: number) => void;
|
|
2721
|
-
readonly
|
|
2722
|
-
readonly
|
|
2723
|
-
readonly
|
|
2724
|
-
readonly
|
|
2725
|
-
readonly
|
|
2726
|
-
readonly
|
|
2727
|
-
readonly
|
|
2728
|
-
readonly __wbg_set_textmaterial_outlineColor: (a: number, b: number) => void;
|
|
2729
|
-
readonly __wbg_set_textmaterial_opacity: (a: number, b: number) => void;
|
|
2730
|
-
readonly __wbg_set_textmaterial_maxWidth: (a: number, b: number) => void;
|
|
2731
|
-
readonly __wbg_set_textmaterial_lineHeight: (a: number, b: number) => void;
|
|
2732
|
-
readonly __wbg_set_textmaterial_height: (a: number, b: number) => void;
|
|
2733
|
-
readonly __wbg_set_textmaterial_color: (a: number, b: number) => void;
|
|
2734
|
-
readonly __wbg_set_textmaterial_borderWidth: (a: number, b: number) => void;
|
|
2735
|
-
readonly __wbg_set_elevationheatmapmaterial_minHeight: (a: number, b: number, c: number) => void;
|
|
2736
|
-
readonly __wbg_set_elevationheatmapmaterial_logBoundary: (a: number, b: number, c: number) => void;
|
|
2737
|
-
readonly __wbg_set_rastermaterial_opacity: (a: number, b: number) => void;
|
|
2738
|
-
readonly __wbg_set_tilexyz_x: (a: number, b: number) => void;
|
|
2739
|
-
readonly __wbg_set_tilexyz_y: (a: number, b: number) => void;
|
|
2740
|
-
readonly __wbg_set_ray_direction: (a: number, b: number) => void;
|
|
2741
|
-
readonly __wbg_set_encodedvec3_low: (a: number, b: number) => void;
|
|
2742
|
-
readonly __wbg_set_cameraorientation_roll: (a: number, b: number) => void;
|
|
2743
|
-
readonly __wbg_set_cameraorientation_pitch: (a: number, b: number) => void;
|
|
2744
|
-
readonly __wbg_set_cameraorientation_heading: (a: number, b: number) => void;
|
|
2747
|
+
readonly __wbg_set_lle_lng: (a: number, b: number) => void;
|
|
2748
|
+
readonly __wbg_set_lle_lat: (a: number, b: number) => void;
|
|
2749
|
+
readonly __wbg_set_lle_height: (a: number, b: number) => void;
|
|
2750
|
+
readonly __wbg_set_camerafrustum_aspect_ratio: (a: number, b: number) => void;
|
|
2751
|
+
readonly __wbg_set_camerafrustum_fov: (a: number, b: number) => void;
|
|
2752
|
+
readonly __wbg_set_camerafrustum_far: (a: number, b: number) => void;
|
|
2753
|
+
readonly __wbg_set_camerafrustum_near: (a: number, b: number) => void;
|
|
2745
2754
|
readonly __wbg_set_nearfar_near: (a: number, b: number) => void;
|
|
2746
2755
|
readonly __wbg_set_nearfar_far: (a: number, b: number) => void;
|
|
2747
|
-
readonly
|
|
2748
|
-
readonly
|
|
2749
|
-
readonly
|
|
2750
|
-
readonly
|
|
2751
|
-
readonly
|
|
2752
|
-
readonly
|
|
2753
|
-
readonly
|
|
2754
|
-
readonly
|
|
2755
|
-
readonly
|
|
2756
|
-
readonly
|
|
2757
|
-
readonly
|
|
2758
|
-
readonly
|
|
2759
|
-
readonly
|
|
2760
|
-
readonly
|
|
2756
|
+
readonly __wbg_set_globe_maxSse: (a: number, b: number) => void;
|
|
2757
|
+
readonly __wbg_set_window_width: (a: number, b: number) => void;
|
|
2758
|
+
readonly __wbg_set_window_pixelRatio: (a: number, b: number) => void;
|
|
2759
|
+
readonly __wbg_set_window_height: (a: number, b: number) => void;
|
|
2760
|
+
readonly __wbg_set_elevationdecoder_r_scaler: (a: number, b: number) => void;
|
|
2761
|
+
readonly __wbg_set_elevationdecoder_offset: (a: number, b: number) => void;
|
|
2762
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationBoundary: (a: number, b: number) => void;
|
|
2763
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationBScaler: (a: number, b: number) => void;
|
|
2764
|
+
readonly __wbg_set_elevationdecoder_g_scaler: (a: number, b: number) => void;
|
|
2765
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMinOffset: (a: number, b: number) => void;
|
|
2766
|
+
readonly __wbg_set_rastertileinternalmaterial_elevationMaxOffset: (a: number, b: number) => void;
|
|
2767
|
+
readonly __wbg_set_elevationdecoder_b_scaler: (a: number, b: number) => void;
|
|
2768
|
+
readonly __wbg_set_returnedconstructedterrainmesh_min_height: (a: number, b: number) => void;
|
|
2769
|
+
readonly __wbg_set_returnedconstructedterrainmesh_max_height: (a: number, b: number) => void;
|
|
2770
|
+
readonly __wbg_set_uintattribute_size: (a: number, b: number) => void;
|
|
2761
2771
|
readonly __wbg_terrainmaterial_free: (a: number, b: number) => void;
|
|
2762
|
-
readonly
|
|
2772
|
+
readonly __wbg_set_textmaterial_center: (a: number, b: number) => void;
|
|
2773
|
+
readonly __wbg_set_rastermaterial_color: (a: number, b: number) => void;
|
|
2763
2774
|
readonly __wbg_set_polylinematerial_color: (a: number, b: number) => void;
|
|
2764
|
-
readonly
|
|
2765
|
-
readonly __wbg_set_pointmaterial_offsetDepth: (a: number, b: number) => void;
|
|
2766
|
-
readonly __wbg_set_globe_maxSse: (a: number, b: number) => void;
|
|
2775
|
+
readonly __wbg_set_pointmaterial_center: (a: number, b: number) => void;
|
|
2767
2776
|
readonly __wbg_set_ray_origin: (a: number, b: number) => void;
|
|
2768
|
-
readonly __wbg_set_returnedconstructedterrainmesh_rtc_translation: (a: number, b: number) => void;
|
|
2769
|
-
readonly __wbg_set_rastermaterial_color: (a: number, b: number) => void;
|
|
2770
|
-
readonly __wbg_set_plane_normal: (a: number, b: number) => void;
|
|
2771
2777
|
readonly __wbg_set_modelinternalmaterial_pointCloudGeodeticNormal: (a: number, b: number) => void;
|
|
2778
|
+
readonly __wbg_set_plane_normal: (a: number, b: number) => void;
|
|
2779
|
+
readonly __wbg_set_pointmaterial_transparent: (a: number, b: number) => void;
|
|
2780
|
+
readonly __wbg_set_pointmaterial_offsetDepth: (a: number, b: number) => void;
|
|
2772
2781
|
readonly __wbg_set_encodedvec3_high: (a: number, b: number) => void;
|
|
2773
|
-
readonly
|
|
2774
|
-
readonly __wbg_window_free: (a: number, b: number) => void;
|
|
2775
|
-
readonly __wbg_camerafrustum_free: (a: number, b: number) => void;
|
|
2776
|
-
readonly __wbg_encodedvec3_free: (a: number, b: number) => void;
|
|
2782
|
+
readonly __wbg_set_returnedconstructedterrainmesh_rtc_translation: (a: number, b: number) => void;
|
|
2777
2783
|
readonly __wbg_tileuvtransform_free: (a: number, b: number) => void;
|
|
2778
|
-
readonly __wbg_vec3_free: (a: number, b: number) => void;
|
|
2779
2784
|
readonly __wbg_plane_free: (a: number, b: number) => void;
|
|
2780
|
-
readonly
|
|
2781
|
-
readonly
|
|
2785
|
+
readonly __wbg_lle_free: (a: number, b: number) => void;
|
|
2786
|
+
readonly __wbg_camerafrustum_free: (a: number, b: number) => void;
|
|
2787
|
+
readonly __wbg_encodedvec3_free: (a: number, b: number) => void;
|
|
2788
|
+
readonly __wbg_window_free: (a: number, b: number) => void;
|
|
2782
2789
|
readonly ray_new: (a: number, b: number) => number;
|
|
2783
2790
|
readonly window_new: (a: number, b: number, c: number) => number;
|
|
2784
2791
|
readonly encodedvec3_new: (a: number, b: number) => number;
|
|
2792
|
+
readonly vec3_new: (a: number, b: number, c: number) => number;
|
|
2793
|
+
readonly camerafrustum_new: (a: number, b: number, c: number, d: number) => number;
|
|
2785
2794
|
readonly __wbg_modelinternalmaterial_free: (a: number, b: number) => void;
|
|
2795
|
+
readonly __wbg_vec3_free: (a: number, b: number) => void;
|
|
2796
|
+
readonly __wbg_set_encodedvec3_low: (a: number, b: number) => void;
|
|
2786
2797
|
readonly __wbg_compiledfilter_free: (a: number, b: number) => void;
|
|
2787
|
-
readonly __wbg_lle_free: (a: number, b: number) => void;
|
|
2788
2798
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
2789
2799
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
2790
2800
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
2791
2801
|
readonly __externref_table_alloc: () => number;
|
|
2792
2802
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
2793
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
2794
2803
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
2804
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
2795
2805
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
2796
2806
|
readonly __wbindgen_start: () => void;
|
|
2797
2807
|
}
|
package/navara_wasm_api.js
CHANGED
|
@@ -2264,6 +2264,18 @@ export class Globe {
|
|
|
2264
2264
|
const ret = wasm.__wbg_get_globe_hideUnderground(this.__wbg_ptr);
|
|
2265
2265
|
return ret !== 0;
|
|
2266
2266
|
}
|
|
2267
|
+
/**
|
|
2268
|
+
* Whether the globe tiles with the Geographic scheme (quantized-mesh
|
|
2269
|
+
* terrain) rather than the default WebMercator. Engine-set output — the
|
|
2270
|
+
* web renderer selects its raster drape pipeline (baked vs direct) from
|
|
2271
|
+
* it at tile-mesh creation; ignored on input (the scheme is dictated by
|
|
2272
|
+
* the terrain source, not configurable).
|
|
2273
|
+
* @returns {boolean}
|
|
2274
|
+
*/
|
|
2275
|
+
get isGeographicTiling() {
|
|
2276
|
+
const ret = wasm.__wbg_get_globe_isGeographicTiling(this.__wbg_ptr);
|
|
2277
|
+
return ret !== 0;
|
|
2278
|
+
}
|
|
2267
2279
|
/**
|
|
2268
2280
|
* Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
|
|
2269
2281
|
* @returns {number}
|
|
@@ -2356,6 +2368,17 @@ export class Globe {
|
|
|
2356
2368
|
set hideUnderground(arg0) {
|
|
2357
2369
|
wasm.__wbg_set_globe_hideUnderground(this.__wbg_ptr, arg0);
|
|
2358
2370
|
}
|
|
2371
|
+
/**
|
|
2372
|
+
* Whether the globe tiles with the Geographic scheme (quantized-mesh
|
|
2373
|
+
* terrain) rather than the default WebMercator. Engine-set output — the
|
|
2374
|
+
* web renderer selects its raster drape pipeline (baked vs direct) from
|
|
2375
|
+
* it at tile-mesh creation; ignored on input (the scheme is dictated by
|
|
2376
|
+
* the terrain source, not configurable).
|
|
2377
|
+
* @param {boolean} arg0
|
|
2378
|
+
*/
|
|
2379
|
+
set isGeographicTiling(arg0) {
|
|
2380
|
+
wasm.__wbg_set_globe_isGeographicTiling(this.__wbg_ptr, arg0);
|
|
2381
|
+
}
|
|
2359
2382
|
/**
|
|
2360
2383
|
* Screen-space error threshold for level of detail (LOD) calculations. Initialization only.
|
|
2361
2384
|
* @param {number} arg0
|
|
@@ -7652,17 +7675,6 @@ function __wbg_get_imports() {
|
|
|
7652
7675
|
const ret = Object.entries(arg0);
|
|
7653
7676
|
return ret;
|
|
7654
7677
|
},
|
|
7655
|
-
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
7656
|
-
let deferred0_0;
|
|
7657
|
-
let deferred0_1;
|
|
7658
|
-
try {
|
|
7659
|
-
deferred0_0 = arg0;
|
|
7660
|
-
deferred0_1 = arg1;
|
|
7661
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
7662
|
-
} finally {
|
|
7663
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
7664
|
-
}
|
|
7665
|
-
},
|
|
7666
7678
|
__wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
|
|
7667
7679
|
const ret = Reflect.get(arg0, arg1);
|
|
7668
7680
|
return ret;
|
|
@@ -7752,10 +7764,6 @@ function __wbg_get_imports() {
|
|
|
7752
7764
|
const ret = new Float64Array(arg0);
|
|
7753
7765
|
return ret;
|
|
7754
7766
|
},
|
|
7755
|
-
__wbg_new_227d7c05414eb861: function() {
|
|
7756
|
-
const ret = new Error();
|
|
7757
|
-
return ret;
|
|
7758
|
-
},
|
|
7759
7767
|
__wbg_new_682678e2f47e32bc: function() {
|
|
7760
7768
|
const ret = new Array();
|
|
7761
7769
|
return ret;
|
|
@@ -7815,13 +7823,6 @@ function __wbg_get_imports() {
|
|
|
7815
7823
|
__wbg_set_c625d5a9e6b7554b: function(arg0, arg1, arg2) {
|
|
7816
7824
|
arg0.set(getArrayF32FromWasm0(arg1, arg2));
|
|
7817
7825
|
},
|
|
7818
|
-
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
7819
|
-
const ret = arg1.stack;
|
|
7820
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7821
|
-
const len1 = WASM_VECTOR_LEN;
|
|
7822
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
7823
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
7824
|
-
},
|
|
7825
7826
|
__wbg_texturefragment_new: function(arg0) {
|
|
7826
7827
|
const ret = TextureFragment.__wrap(arg0);
|
|
7827
7828
|
return ret;
|
package/navara_wasm_api_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navaramap/engine-api",
|
|
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_api"
|
|
10
10
|
},
|
|
11
11
|
"publishConfig": {
|