@openglobus/og 0.28.2 → 0.28.4
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/control/atmosphere/Atmosphere.d.ts +8 -7
- package/lib/control/atmosphere/AtmosphereConfig.d.ts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/og.es.js +1 -1
- package/lib/og.es.js.map +1 -1
- package/lib/shaders/atmos/atmos.d.ts +3 -0
- package/lib/ui/Slider.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export interface AtmosphereParameters {
|
|
|
5
5
|
MIE_SCALE: number;
|
|
6
6
|
GROUND_ALBEDO: number;
|
|
7
7
|
BOTTOM_RADIUS: number;
|
|
8
|
+
EQUATORIAL_RADIUS: number;
|
|
8
9
|
rayleighScatteringCoefficient_0: number;
|
|
9
10
|
rayleighScatteringCoefficient_1: number;
|
|
10
11
|
rayleighScatteringCoefficient_2: number;
|
|
@@ -19,5 +20,7 @@ export interface AtmosphereParameters {
|
|
|
19
20
|
ozoneDensityWide: number;
|
|
20
21
|
disableSunDisk?: boolean;
|
|
21
22
|
}
|
|
23
|
+
export declare const DEFAULT_PARAMS: AtmosphereParameters;
|
|
24
|
+
export declare const MARS_PARAMS: AtmosphereParameters;
|
|
22
25
|
export declare function transmittance(atmosParams?: AtmosphereParameters): Program;
|
|
23
26
|
export declare function scattering(atmosParams?: AtmosphereParameters): Program;
|
package/lib/ui/Slider.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openglobus/og",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.4",
|
|
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",
|