@openglobus/og 0.26.1 → 0.26.3
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/lib/camera/Camera.d.ts +1 -1
- package/lib/camera/PlanetCamera.d.ts +32 -8
- package/lib/control/MouseNavigation.d.ts +3 -0
- package/lib/control/TouchNavigation.d.ts +3 -0
- package/lib/control/drawing/DrawingControl.d.ts +7 -1
- package/lib/control/drawing/PolygonDrawingScene.d.ts +11 -24
- package/lib/entity/Entity.d.ts +1 -0
- package/lib/index.d.ts +3 -1
- package/lib/og.es.js +1 -1
- package/lib/og.es.js.map +1 -1
- package/lib/scene/Planet.d.ts +14 -10
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/easing.d.ts +34 -0
- package/package.json +1 -1
package/lib/scene/Planet.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ import type { WebGLBufferExt, WebGLTextureExt, IDefaultTextureParams } from "../
|
|
|
31
31
|
import { Program } from "../webgl/Program";
|
|
32
32
|
import { Segment } from "../segment/Segment";
|
|
33
33
|
import type { AtmosphereParameters } from "../shaders/atmos/atmos";
|
|
34
|
+
import { EasingFunction } from "../utils/easing";
|
|
34
35
|
export interface IPlanetParams {
|
|
35
36
|
name?: string;
|
|
36
37
|
ellipsoid?: Ellipsoid;
|
|
@@ -598,10 +599,13 @@ export declare class Planet extends RenderNode {
|
|
|
598
599
|
* @param {Number} [height] - Height on the end of the flight route.
|
|
599
600
|
* @param {Vec3} [up] - Camera UP vector on the end of a flying.
|
|
600
601
|
* @param {Number} [ampl] - Altitude amplitude factor.
|
|
602
|
+
* @param {Number} [duration] - Animation duration
|
|
603
|
+
* @param {EasingFunction} [ease] - Animation easing
|
|
601
604
|
* @param {Function} [startCallback] - Callback that calls before the flying begins.
|
|
602
605
|
* @param {Function} [completeCallback] - Callback that calls after flying when flying is finished.
|
|
606
|
+
* @param {Function} [frameCallback] - Each frame callback
|
|
603
607
|
*/
|
|
604
|
-
flyExtent(extent: Extent, height?: number, up?: Vec3, ampl?: number, completeCallback?: Function, startCallback?: Function): void;
|
|
608
|
+
flyExtent(extent: Extent, height?: number, up?: Vec3, ampl?: number, duration?: number, ease?: EasingFunction, completeCallback?: Function, startCallback?: Function, frameCallback?: Function): void;
|
|
605
609
|
/**
|
|
606
610
|
* Fly camera to the point.
|
|
607
611
|
* @public
|
|
@@ -609,11 +613,13 @@ export declare class Planet extends RenderNode {
|
|
|
609
613
|
* @param {Vec3} [look] - Camera "look at" point.
|
|
610
614
|
* @param {Vec3} [up] - Camera UP vector on the end of a flying.
|
|
611
615
|
* @param {Number} [ampl] - Altitude amplitude factor.
|
|
616
|
+
* @param {Number} [duration] - Animation duration
|
|
617
|
+
* @param {EasingFunction} [ease] - Animation easing
|
|
612
618
|
* @param {Function} [completeCallback] - Call the function in the end of flight
|
|
613
619
|
* @param {Function} [startCallback] - Call the function in the beginning
|
|
614
620
|
* @param {Function} [frameCallback] - Each frame callback
|
|
615
621
|
*/
|
|
616
|
-
flyCartesian(cartesian: Vec3, look?: Vec3 | null, up?: Vec3 | null, ampl?: number, completeCallback?: Function | null, startCallback?: Function | null, frameCallback?: Function | null): void;
|
|
622
|
+
flyCartesian(cartesian: Vec3, look?: Vec3 | null, up?: Vec3 | null, ampl?: number, duration?: number, ease?: EasingFunction, completeCallback?: Function | null, startCallback?: Function | null, frameCallback?: Function | null): void;
|
|
617
623
|
/**
|
|
618
624
|
* Fly camera to the geodetic position.
|
|
619
625
|
* @public
|
|
@@ -621,11 +627,13 @@ export declare class Planet extends RenderNode {
|
|
|
621
627
|
* @param {Vec3 | LonLat} [look] - Camera viewpoint in the end of the flight.
|
|
622
628
|
* @param {Vec3} [up] - Camera UP vector on the end of a flying.
|
|
623
629
|
* @param {Number} [ampl] - Altitude amplitude factor.
|
|
624
|
-
* @param [
|
|
625
|
-
* @param [
|
|
626
|
-
* @param [
|
|
630
|
+
* @param {Number} [duration] - Animation duration
|
|
631
|
+
* @param {EasingFunction} [ease] - Animation easing
|
|
632
|
+
* @param {Function} [completeCallback] - Call the function in the end of flight
|
|
633
|
+
* @param {Function} [startCallback] - Call the function in the beginning
|
|
634
|
+
* @param {Function} [frameCallback] - Each frame callback
|
|
627
635
|
*/
|
|
628
|
-
flyLonLat(lonlat: LonLat, look?: Vec3 | LonLat, up?: Vec3, ampl?: number, completeCallback?: Function, startCallback?: Function, frameCallback?: Function): void;
|
|
636
|
+
flyLonLat(lonlat: LonLat, look?: Vec3 | LonLat, up?: Vec3, ampl?: number, duration?: number, ease?: EasingFunction, completeCallback?: Function, startCallback?: Function, frameCallback?: Function): void;
|
|
629
637
|
/**
|
|
630
638
|
* Stop current flight.
|
|
631
639
|
* @public
|
|
@@ -636,9 +644,5 @@ export declare class Planet extends RenderNode {
|
|
|
636
644
|
getHeightDefault(lonLat: LonLat): Promise<number>;
|
|
637
645
|
getHeightAboveELL(lonLat: LonLat): Promise<number>;
|
|
638
646
|
onremove(): void;
|
|
639
|
-
/**
|
|
640
|
-
* @todo: refactor with events or something better
|
|
641
|
-
*/
|
|
642
|
-
stopDragging(): void;
|
|
643
647
|
}
|
|
644
648
|
export {};
|
package/lib/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/Clock.ts","../src/Deferred.ts","../src/Events.ts","../src/Extent.ts","../src/Globe.ts","../src/ImageCanvas.ts","../src/Lock.ts","../src/LonLat.ts","../src/Object3d.ts","../src/Popup.ts","../src/QueueArray.ts","../src/Rectangle.ts","../src/Stack.ts","../src/cons.ts","../src/index.ts","../src/math.ts","../src/mercator.ts","../src/astro/astro.ts","../src/astro/earth.ts","../src/astro/jd.ts","../src/astro/orbit.ts","../src/astro/rotation.ts","../src/bv/Box.ts","../src/bv/Sphere.ts","../src/bv/index.ts","../src/camera/Camera.ts","../src/camera/Frustum.ts","../src/camera/PlanetCamera.ts","../src/camera/index.ts","../src/control/CameraFrameComposer.ts","../src/control/CameraFrameHandler.ts","../src/control/CameraLock.ts","../src/control/CompassButton.ts","../src/control/Control.ts","../src/control/DebugInfo.ts","../src/control/DrawingSwitcher.ts","../src/control/EarthCoordinates.ts","../src/control/FramebufferPreview.ts","../src/control/GeoImageDragControl.ts","../src/control/KeyboardNavigation.ts","../src/control/LayerAnimation.ts","../src/control/LayerSwitcher.ts","../src/control/Lighting.ts","../src/control/MouseNavigation.ts","../src/control/MouseWheelZoomControl.ts","../src/control/OldMouseNavigation.ts","../src/control/RulerSwitcher.ts","../src/control/ScaleControl.ts","../src/control/SegmentBoundVisualization.ts","../src/control/ShowFps.ts","../src/control/SimpleNavigation.ts","../src/control/SimpleSkyBackground.ts","../src/control/Sun.ts","../src/control/ToggleWireframe.ts","../src/control/TouchNavigation.ts","../src/control/ZoomControl.ts","../src/control/index.ts","../src/control/atmosphere/Atmosphere.ts","../src/control/atmosphere/AtmosphereConfig.ts","../src/control/cameraDepthHandler/CameraDepthHandler.ts","../src/control/cameraDepthHandler/camera_depth.ts","../src/control/drawing/DrawingControl.ts","../src/control/drawing/LineStringDrawingScene.ts","../src/control/drawing/PolygonDrawingScene.ts","../src/control/elevationProfile/ElevationProfile.ts","../src/control/elevationProfile/ElevationProfileButtonsView.ts","../src/control/elevationProfile/ElevationProfileControl.ts","../src/control/elevationProfile/ElevationProfileLegend.ts","../src/control/elevationProfile/ElevationProfileScene.ts","../src/control/elevationProfile/ElevationProfileView.ts","../src/control/elevationProfile/PointListDialog.ts","../src/control/geoObjectEditor/ArrowEntity.ts","../src/control/geoObjectEditor/AxisTrackEntity.ts","../src/control/geoObjectEditor/GeoObjectEditor.ts","../src/control/geoObjectEditor/GeoObjectEditorDialog.ts","../src/control/geoObjectEditor/GeoObjectEditorScene.ts","../src/control/geoObjectEditor/MoveAxisEntity.ts","../src/control/geoObjectEditor/MovePlaneEntity.ts","../src/control/geoObjectEditor/RotateEntity.ts","../src/control/geoObjectEditor/colors.ts","../src/control/heightRuler/HeightRuler.ts","../src/control/heightRuler/HeightRulerScene.ts","../src/control/heightRuler/HeightRulerSwitcher.ts","../src/control/object3dManager/Object3dCollection.ts","../src/control/object3dManager/Object3dCollectionView.ts","../src/control/object3dManager/Object3dItemView.ts","../src/control/object3dManager/Object3dManager.ts","../src/control/object3dManager/Object3dManagerDialog.ts","../src/control/ruler/Ruler.ts","../src/control/ruler/RulerScene.ts","../src/control/selection/Selection.ts","../src/control/selection/SelectionScene.ts","../src/control/timeline/TimelineControl.ts","../src/control/timeline/TimelineModel.ts","../src/control/timeline/TimelineView.ts","../src/control/timeline/timelineUtils.ts","../src/control/visibleExtent/Segment.js","../src/control/visibleExtent/VisibleExtent.js","../src/control/visibleExtent/drawnode.ts","../src/ellipsoid/Ellipsoid.ts","../src/ellipsoid/index.ts","../src/ellipsoid/mars.ts","../src/ellipsoid/moon.ts","../src/ellipsoid/wgs84.ts","../src/entity/BaseBillboard.ts","../src/entity/BaseBillboardHandler.ts","../src/entity/Billboard.ts","../src/entity/BillboardHandler.ts","../src/entity/Entity.ts","../src/entity/EntityCollection.ts","../src/entity/GeoObject.ts","../src/entity/GeoObjectHandler.ts","../src/entity/Geometry.ts","../src/entity/GeometryHandler.ts","../src/entity/InstanceData.ts","../src/entity/Label.ts","../src/entity/LabelHandler.ts","../src/entity/LabelWorker.ts","../src/entity/LabelWorker.worker.js","../src/entity/PointCloud.ts","../src/entity/PointCloudHandler.ts","../src/entity/Polyline.ts","../src/entity/PolylineHandler.ts","../src/entity/Ray.ts","../src/entity/RayHandler.ts","../src/entity/Strip.ts","../src/entity/StripHandler.ts","../src/entity/index.ts","../src/input/KeyboardHandler.ts","../src/input/MouseHandler.ts","../src/input/TouchHandler.ts","../src/input/input.ts","../src/layer/BaseGeoImage.ts","../src/layer/Bing.ts","../src/layer/CanvasTiles.ts","../src/layer/GeoImage.ts","../src/layer/GeoTexture2d.ts","../src/layer/GeoVideo.ts","../src/layer/KML.ts","../src/layer/Layer.ts","../src/layer/Material.ts","../src/layer/OpenStreetMap.ts","../src/layer/Vector.ts","../src/layer/WMS.ts","../src/layer/XYZ.ts","../src/layer/index.ts","../src/light/LightSource.ts","../src/math/Line2.ts","../src/math/Line3.ts","../src/math/Mat3.ts","../src/math/Mat4.ts","../src/math/Plane.ts","../src/math/Quat.ts","../src/math/Ray.ts","../src/math/Vec2.ts","../src/math/Vec3.ts","../src/math/Vec4.ts","../src/math/coder.ts","../src/math/index.ts","../src/proj/EPSG3857.ts","../src/proj/EPSG4326.ts","../src/proj/Proj.ts","../src/proj/equi.ts","../src/quadTree/EntityCollectionNode.ts","../src/quadTree/EntityCollectionsTreeStrategy.ts","../src/quadTree/Node.ts","../src/quadTree/QuadTreeStrategy.ts","../src/quadTree/index.ts","../src/quadTree/quadTree.ts","../src/quadTree/EPSG4326/EPSG4326QuadTreeStrategy.ts","../src/quadTree/earth/EarthEntityCollectionNodeLonLat.ts","../src/quadTree/earth/EarthEntityCollectionsTreeStrategy.ts","../src/quadTree/earth/EarthQuadTreeStrategy.ts","../src/quadTree/equi/EquiEntityCollectionNodeLonLat.ts","../src/quadTree/equi/EquiEntityCollectionsTreeStrategy.ts","../src/quadTree/equi/EquiQuadTreeStrategy.ts","../src/quadTree/wgs84/Wgs84QuadTreeStrategy.ts","../src/renderer/Renderer.ts","../src/renderer/RendererEvents.ts","../src/scene/Axes.ts","../src/scene/BaseNode.ts","../src/scene/Planet.ts","../src/scene/RenderNode.ts","../src/scene/SkyBox.ts","../src/scene/index.ts","../src/segment/Segment.ts","../src/segment/SegmentLonLat.ts","../src/segment/SegmentLonLatEqui.ts","../src/segment/Slice.ts","../src/segment/segmentHelper.ts","../src/shaders/depth.ts","../src/shaders/pointCloud.ts","../src/shaders/screenFrame.ts","../src/shaders/skybox.ts","../src/shaders/atmos/atmos.ts","../src/shaders/billboard/billboard.ts","../src/shaders/drawnode/drawnode.ts","../src/shaders/geo_object/geo_object.ts","../src/shaders/label/label.ts","../src/shaders/polyline/polyline.ts","../src/shaders/ray/ray.ts","../src/shaders/tone_mapping/toneMapping.ts","../src/terrain/BilTerrain.ts","../src/terrain/EmptyTerrain.ts","../src/terrain/Geoid.ts","../src/terrain/GlobusRgbTerrain.ts","../src/terrain/GlobusTerrain.ts","../src/terrain/RgbTerrain.ts","../src/terrain/index.ts","../src/ui/Button.ts","../src/ui/ButtonGroup.ts","../src/ui/Checkbox.ts","../src/ui/Color.ts","../src/ui/Dialog.ts","../src/ui/Input.ts","../src/ui/Slider.ts","../src/ui/ToggleButton.ts","../src/ui/View.ts","../src/ui/icons.ts","../src/utils/BaseWorker.ts","../src/utils/FontAtlas.ts","../src/utils/GeoImageCreator.ts","../src/utils/ImagesCacheManager.ts","../src/utils/Loader.ts","../src/utils/NormalMapCreator.ts","../src/utils/PlainSegmentWorker.ts","../src/utils/PlainSegmentWorker.worker.js","../src/utils/TerrainWorker.ts","../src/utils/TerrainWorker.worker.js","../src/utils/TextureAtlas.ts","../src/utils/VectorTileCreator.ts","../src/utils/colorTable.ts","../src/utils/earcut.ts","../src/utils/objParser.ts","../src/utils/shared.ts","../src/utils/units.ts","../src/utils/gltf/glbParser.ts","../src/utils/gltf/gltfParser.ts","../src/utils/gltf/types.ts","../src/webgl/BaseFramebuffer.ts","../src/webgl/Framebuffer.ts","../src/webgl/Handler.ts","../src/webgl/Multisample.ts","../src/webgl/Program.ts","../src/webgl/ProgramController.ts","../src/webgl/index.ts","../src/webgl/types.ts","../src/webgl/variableHandlers.ts"],"version":"5.8.3"}
|
|
1
|
+
{"root":["../src/Clock.ts","../src/Deferred.ts","../src/Events.ts","../src/Extent.ts","../src/Globe.ts","../src/ImageCanvas.ts","../src/Lock.ts","../src/LonLat.ts","../src/Object3d.ts","../src/Popup.ts","../src/QueueArray.ts","../src/Rectangle.ts","../src/Stack.ts","../src/cons.ts","../src/index.ts","../src/math.ts","../src/mercator.ts","../src/astro/astro.ts","../src/astro/earth.ts","../src/astro/jd.ts","../src/astro/orbit.ts","../src/astro/rotation.ts","../src/bv/Box.ts","../src/bv/Sphere.ts","../src/bv/index.ts","../src/camera/Camera.ts","../src/camera/Frustum.ts","../src/camera/PlanetCamera.ts","../src/camera/index.ts","../src/control/CameraFrameComposer.ts","../src/control/CameraFrameHandler.ts","../src/control/CameraLock.ts","../src/control/CompassButton.ts","../src/control/Control.ts","../src/control/DebugInfo.ts","../src/control/DrawingSwitcher.ts","../src/control/EarthCoordinates.ts","../src/control/FramebufferPreview.ts","../src/control/GeoImageDragControl.ts","../src/control/KeyboardNavigation.ts","../src/control/LayerAnimation.ts","../src/control/LayerSwitcher.ts","../src/control/Lighting.ts","../src/control/MouseNavigation.ts","../src/control/MouseWheelZoomControl.ts","../src/control/OldMouseNavigation.ts","../src/control/RulerSwitcher.ts","../src/control/ScaleControl.ts","../src/control/SegmentBoundVisualization.ts","../src/control/ShowFps.ts","../src/control/SimpleNavigation.ts","../src/control/SimpleSkyBackground.ts","../src/control/Sun.ts","../src/control/ToggleWireframe.ts","../src/control/TouchNavigation.ts","../src/control/ZoomControl.ts","../src/control/index.ts","../src/control/atmosphere/Atmosphere.ts","../src/control/atmosphere/AtmosphereConfig.ts","../src/control/cameraDepthHandler/CameraDepthHandler.ts","../src/control/cameraDepthHandler/camera_depth.ts","../src/control/drawing/DrawingControl.ts","../src/control/drawing/LineStringDrawingScene.ts","../src/control/drawing/PolygonDrawingScene.ts","../src/control/elevationProfile/ElevationProfile.ts","../src/control/elevationProfile/ElevationProfileButtonsView.ts","../src/control/elevationProfile/ElevationProfileControl.ts","../src/control/elevationProfile/ElevationProfileLegend.ts","../src/control/elevationProfile/ElevationProfileScene.ts","../src/control/elevationProfile/ElevationProfileView.ts","../src/control/elevationProfile/PointListDialog.ts","../src/control/geoObjectEditor/ArrowEntity.ts","../src/control/geoObjectEditor/AxisTrackEntity.ts","../src/control/geoObjectEditor/GeoObjectEditor.ts","../src/control/geoObjectEditor/GeoObjectEditorDialog.ts","../src/control/geoObjectEditor/GeoObjectEditorScene.ts","../src/control/geoObjectEditor/MoveAxisEntity.ts","../src/control/geoObjectEditor/MovePlaneEntity.ts","../src/control/geoObjectEditor/RotateEntity.ts","../src/control/geoObjectEditor/colors.ts","../src/control/heightRuler/HeightRuler.ts","../src/control/heightRuler/HeightRulerScene.ts","../src/control/heightRuler/HeightRulerSwitcher.ts","../src/control/object3dManager/Object3dCollection.ts","../src/control/object3dManager/Object3dCollectionView.ts","../src/control/object3dManager/Object3dItemView.ts","../src/control/object3dManager/Object3dManager.ts","../src/control/object3dManager/Object3dManagerDialog.ts","../src/control/ruler/Ruler.ts","../src/control/ruler/RulerScene.ts","../src/control/selection/Selection.ts","../src/control/selection/SelectionScene.ts","../src/control/timeline/TimelineControl.ts","../src/control/timeline/TimelineModel.ts","../src/control/timeline/TimelineView.ts","../src/control/timeline/timelineUtils.ts","../src/control/visibleExtent/Segment.js","../src/control/visibleExtent/VisibleExtent.js","../src/control/visibleExtent/drawnode.ts","../src/ellipsoid/Ellipsoid.ts","../src/ellipsoid/index.ts","../src/ellipsoid/mars.ts","../src/ellipsoid/moon.ts","../src/ellipsoid/wgs84.ts","../src/entity/BaseBillboard.ts","../src/entity/BaseBillboardHandler.ts","../src/entity/Billboard.ts","../src/entity/BillboardHandler.ts","../src/entity/Entity.ts","../src/entity/EntityCollection.ts","../src/entity/GeoObject.ts","../src/entity/GeoObjectHandler.ts","../src/entity/Geometry.ts","../src/entity/GeometryHandler.ts","../src/entity/InstanceData.ts","../src/entity/Label.ts","../src/entity/LabelHandler.ts","../src/entity/LabelWorker.ts","../src/entity/LabelWorker.worker.js","../src/entity/PointCloud.ts","../src/entity/PointCloudHandler.ts","../src/entity/Polyline.ts","../src/entity/PolylineHandler.ts","../src/entity/Ray.ts","../src/entity/RayHandler.ts","../src/entity/Strip.ts","../src/entity/StripHandler.ts","../src/entity/index.ts","../src/input/KeyboardHandler.ts","../src/input/MouseHandler.ts","../src/input/TouchHandler.ts","../src/input/input.ts","../src/layer/BaseGeoImage.ts","../src/layer/Bing.ts","../src/layer/CanvasTiles.ts","../src/layer/GeoImage.ts","../src/layer/GeoTexture2d.ts","../src/layer/GeoVideo.ts","../src/layer/KML.ts","../src/layer/Layer.ts","../src/layer/Material.ts","../src/layer/OpenStreetMap.ts","../src/layer/Vector.ts","../src/layer/WMS.ts","../src/layer/XYZ.ts","../src/layer/index.ts","../src/light/LightSource.ts","../src/math/Line2.ts","../src/math/Line3.ts","../src/math/Mat3.ts","../src/math/Mat4.ts","../src/math/Plane.ts","../src/math/Quat.ts","../src/math/Ray.ts","../src/math/Vec2.ts","../src/math/Vec3.ts","../src/math/Vec4.ts","../src/math/coder.ts","../src/math/index.ts","../src/proj/EPSG3857.ts","../src/proj/EPSG4326.ts","../src/proj/Proj.ts","../src/proj/equi.ts","../src/quadTree/EntityCollectionNode.ts","../src/quadTree/EntityCollectionsTreeStrategy.ts","../src/quadTree/Node.ts","../src/quadTree/QuadTreeStrategy.ts","../src/quadTree/index.ts","../src/quadTree/quadTree.ts","../src/quadTree/EPSG4326/EPSG4326QuadTreeStrategy.ts","../src/quadTree/earth/EarthEntityCollectionNodeLonLat.ts","../src/quadTree/earth/EarthEntityCollectionsTreeStrategy.ts","../src/quadTree/earth/EarthQuadTreeStrategy.ts","../src/quadTree/equi/EquiEntityCollectionNodeLonLat.ts","../src/quadTree/equi/EquiEntityCollectionsTreeStrategy.ts","../src/quadTree/equi/EquiQuadTreeStrategy.ts","../src/quadTree/wgs84/Wgs84QuadTreeStrategy.ts","../src/renderer/Renderer.ts","../src/renderer/RendererEvents.ts","../src/scene/Axes.ts","../src/scene/BaseNode.ts","../src/scene/Planet.ts","../src/scene/RenderNode.ts","../src/scene/SkyBox.ts","../src/scene/index.ts","../src/segment/Segment.ts","../src/segment/SegmentLonLat.ts","../src/segment/SegmentLonLatEqui.ts","../src/segment/Slice.ts","../src/segment/segmentHelper.ts","../src/shaders/depth.ts","../src/shaders/pointCloud.ts","../src/shaders/screenFrame.ts","../src/shaders/skybox.ts","../src/shaders/atmos/atmos.ts","../src/shaders/billboard/billboard.ts","../src/shaders/drawnode/drawnode.ts","../src/shaders/geo_object/geo_object.ts","../src/shaders/label/label.ts","../src/shaders/polyline/polyline.ts","../src/shaders/ray/ray.ts","../src/shaders/tone_mapping/toneMapping.ts","../src/terrain/BilTerrain.ts","../src/terrain/EmptyTerrain.ts","../src/terrain/Geoid.ts","../src/terrain/GlobusRgbTerrain.ts","../src/terrain/GlobusTerrain.ts","../src/terrain/RgbTerrain.ts","../src/terrain/index.ts","../src/ui/Button.ts","../src/ui/ButtonGroup.ts","../src/ui/Checkbox.ts","../src/ui/Color.ts","../src/ui/Dialog.ts","../src/ui/Input.ts","../src/ui/Slider.ts","../src/ui/ToggleButton.ts","../src/ui/View.ts","../src/ui/icons.ts","../src/utils/BaseWorker.ts","../src/utils/FontAtlas.ts","../src/utils/GeoImageCreator.ts","../src/utils/ImagesCacheManager.ts","../src/utils/Loader.ts","../src/utils/NormalMapCreator.ts","../src/utils/PlainSegmentWorker.ts","../src/utils/PlainSegmentWorker.worker.js","../src/utils/TerrainWorker.ts","../src/utils/TerrainWorker.worker.js","../src/utils/TextureAtlas.ts","../src/utils/VectorTileCreator.ts","../src/utils/colorTable.ts","../src/utils/earcut.ts","../src/utils/easing.ts","../src/utils/objParser.ts","../src/utils/shared.ts","../src/utils/units.ts","../src/utils/gltf/glbParser.ts","../src/utils/gltf/gltfParser.ts","../src/utils/gltf/types.ts","../src/webgl/BaseFramebuffer.ts","../src/webgl/Framebuffer.ts","../src/webgl/Handler.ts","../src/webgl/Multisample.ts","../src/webgl/Program.ts","../src/webgl/ProgramController.ts","../src/webgl/index.ts","../src/webgl/types.ts","../src/webgl/variableHandlers.ts"],"version":"5.8.3"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type EasingFunction = (t: number) => number;
|
|
2
|
+
export declare class Easing {
|
|
3
|
+
static Linear: EasingFunction;
|
|
4
|
+
static QuadIn: EasingFunction;
|
|
5
|
+
static QuadOut: EasingFunction;
|
|
6
|
+
static QuadInOut: EasingFunction;
|
|
7
|
+
static CubicIn: EasingFunction;
|
|
8
|
+
static CubicOut: EasingFunction;
|
|
9
|
+
static CubicInOut: EasingFunction;
|
|
10
|
+
static QuartIn: EasingFunction;
|
|
11
|
+
static QuartOut: EasingFunction;
|
|
12
|
+
static QuartInOut: EasingFunction;
|
|
13
|
+
static QuintIn: EasingFunction;
|
|
14
|
+
static QuintOut: EasingFunction;
|
|
15
|
+
static QuintInOut: EasingFunction;
|
|
16
|
+
static SineIn: EasingFunction;
|
|
17
|
+
static SineOut: EasingFunction;
|
|
18
|
+
static SineInOut: EasingFunction;
|
|
19
|
+
static ExpoIn: EasingFunction;
|
|
20
|
+
static ExpoOut: EasingFunction;
|
|
21
|
+
static ExpoInOut: EasingFunction;
|
|
22
|
+
static CircIn: EasingFunction;
|
|
23
|
+
static CircOut: EasingFunction;
|
|
24
|
+
static CircInOut: EasingFunction;
|
|
25
|
+
static BackIn: EasingFunction;
|
|
26
|
+
static BackOut: EasingFunction;
|
|
27
|
+
static BackInOut: EasingFunction;
|
|
28
|
+
static ElasticIn: EasingFunction;
|
|
29
|
+
static ElasticOut: EasingFunction;
|
|
30
|
+
static ElasticInOut: EasingFunction;
|
|
31
|
+
static BounceOut: EasingFunction;
|
|
32
|
+
static BounceIn: EasingFunction;
|
|
33
|
+
static BounceInOut: EasingFunction;
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openglobus/og",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.3",
|
|
4
4
|
"description": "[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely free.",
|
|
5
5
|
"main": "lib/og.es.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|