@openglobus/og 0.22.0 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md CHANGED
@@ -1,7 +1,7 @@
1
- Copyright (C) 2013 Michael Gevlich
1
+ Copyright (c) 2013-2025 Michael Gevlich
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
5
5
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
6
 
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -189,5 +189,6 @@ declare class Ellipsoid {
189
189
  */
190
190
  static getIntermediatePointOnGreatCircle(lonLat1: LonLat, lonLat2: LonLat, fraction: number): LonLat;
191
191
  static getRhumbBearing(lonLat1: LonLat, lonLat2: LonLat): number;
192
+ getLonLatVisibilitySimple(eye: Vec3, lonLat: LonLat, forward?: Vec3): boolean;
192
193
  }
193
194
  export { Ellipsoid };
@@ -292,6 +292,7 @@ declare class Renderer {
292
292
  * @public
293
293
  */
294
294
  draw(): void;
295
+ getImageDataURL(type?: string, quality?: number): string;
295
296
  protected _screenFrameMSAA(): void;
296
297
  protected _screenFrameNoMSAA(): void;
297
298
  /**
@@ -2,9 +2,12 @@ import { Extent } from "../Extent";
2
2
  import { Node } from "../quadTree/Node";
3
3
  import { Planet } from "../scene/Planet";
4
4
  import { SegmentLonLat } from "./SegmentLonLat";
5
+ import { WebGLTextureExt } from "../webgl/Handler";
6
+ export declare const POLE_PIECE_SIZE: number;
5
7
  export declare class SegmentLonLatEqui extends SegmentLonLat {
6
8
  constructor(node: Node, planet: Planet, tileZoom: number, extent: Extent);
7
9
  protected _getMaxZoom(): number;
8
10
  protected _assignTileYIndexes(extent: Extent): void;
9
11
  protected _assignTileXIndexes(extent: Extent): void;
12
+ getDefaultTexture(): WebGLTextureExt | null;
10
13
  }
@@ -28,6 +28,7 @@ export interface IHandlerParameters {
28
28
  alpha?: boolean;
29
29
  antialias?: boolean;
30
30
  premultipliedAlpha?: boolean;
31
+ preserveDrawingBuffer?: boolean;
31
32
  };
32
33
  extensions?: string[];
33
34
  autoActivate?: boolean;
@@ -120,6 +121,7 @@ declare class Handler {
120
121
  alpha?: boolean;
121
122
  antialias?: boolean;
122
123
  premultipliedAlpha?: boolean;
124
+ preserveDrawingBuffer?: boolean;
123
125
  };
124
126
  extensions: string[];
125
127
  };