@openglobus/og 0.15.5 → 0.16.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/README.md +1 -1
- package/css/og.css +1 -1
- package/dist/@openglobus/og.css +1 -1
- package/dist/@openglobus/og.esm.js +2 -2
- package/dist/@openglobus/og.esm.js.map +1 -1
- package/dist/@openglobus/og.umd.js +2 -2
- package/dist/@openglobus/og.umd.js.map +1 -1
- package/package.json +13 -15
- package/src/og/Globe.js +5 -2
- package/src/og/LonLat.js +18 -1
- package/src/og/Object3d.js +21 -2
- package/src/og/bv/index.js +2 -2
- package/src/og/camera/PlanetCamera.js +4 -10
- package/src/og/control/LayerSwitcher.js +4 -3
- package/src/og/control/RulerSwitcher.js +2 -2
- package/src/og/control/ZoomControl.js +2 -2
- package/src/og/control/heightRuler/HeightRulerScene.js +6 -2
- package/src/og/control/index.js +5 -2
- package/src/og/control/ruler/RulerScene.js +11 -8
- package/src/og/control/timeline/TimelineControl.js +5 -3
- package/src/og/control/timeline/TimelineModel.js +4 -0
- package/src/og/control/timeline/TimelineView.js +10 -3
- package/src/og/control/visibleExtent/Segment.js +36 -42
- package/src/og/ellipsoid/Ellipsoid.js +23 -10
- package/src/og/entity/Entity.js +3 -3
- package/src/og/entity/EntityCollection.js +2 -2
- package/src/og/entity/Label.js +1 -1
- package/src/og/entity/Polyline.js +4 -2
- package/src/og/index.js +4 -7
- package/src/og/layer/CanvasTiles.js +70 -23
- package/src/og/layer/GeoImage.js +40 -18
- package/src/og/layer/Vector.js +14 -11
- package/src/og/layer/WMS.js +2 -2
- package/src/og/math.js +2 -1
- package/src/og/quadTree/EPSG4326QuadTreeStrategy.js +26 -0
- package/src/og/quadTree/Node.js +44 -50
- package/src/og/quadTree/index.js +2 -0
- package/src/og/renderer/Renderer.js +13 -1
- package/src/og/scene/Planet.js +4 -4
- package/src/og/scene/index.js +3 -3
- package/src/og/segment/Segment.js +88 -76
- package/src/og/shaders/drawnode.js +138 -89
- package/src/og/shaders/geoObject.js +57 -46
- package/src/og/shaders/ray.js +15 -21
- package/src/og/terrain/EmptyTerrain.js +19 -7
- package/src/og/terrain/GlobusTerrain.js +23 -18
- package/src/og/terrain/MapboxTerrain.js +7 -8
- package/src/og/terrain/index.js +4 -4
- package/src/og/utils/objParser.js +227 -0
- package/src/og/utils/shared.js +9 -0
- package/src/og/webgl/Handler.js +1 -3
- package/types/Globe.d.ts +2 -0
- package/types/LonLat.d.ts +12 -1
- package/types/Object3d.d.ts +2 -0
- package/types/Popup.d.ts +1 -1
- package/types/bv/index.d.ts +2 -2
- package/types/camera/PlanetCamera.d.ts +0 -7
- package/types/camera/index.d.ts +2 -2
- package/types/control/GeoImageDragControl.d.ts +1 -1
- package/types/control/LayerAnimation.d.ts +1 -1
- package/types/control/Lighting.d.ts +2 -2
- package/types/control/heightRuler/HeightRulerScene.d.ts +1 -1
- package/types/control/index.d.ts +3 -2
- package/types/control/ruler/RulerScene.d.ts +5 -4
- package/types/control/selection/SelectionScene.d.ts +3 -3
- package/types/control/timeline/TimelineControl.d.ts +10 -0
- package/types/control/timeline/TimelineModel.d.ts +33 -0
- package/types/control/timeline/TimelineView.d.ts +57 -0
- package/types/control/timeline/timelineUtils.d.ts +9 -0
- package/types/ellipsoid/Ellipsoid.d.ts +16 -9
- package/types/ellipsoid/index.d.ts +2 -2
- package/types/entity/Entity.d.ts +3 -3
- package/types/entity/EntityCollection.d.ts +2 -2
- package/types/entity/Label.d.ts +1 -1
- package/types/entity/Polyline.d.ts +1 -0
- package/types/index.d.ts +45 -46
- package/types/layer/CanvasTiles.d.ts +2 -1
- package/types/layer/GeoImage.d.ts +7 -1
- package/types/layer/GeoTexture2d.d.ts +1 -1
- package/types/layer/Vector.d.ts +3 -3
- package/types/layer/index.d.ts +9 -9
- package/types/math/Line2.d.ts +1 -1
- package/types/math/Line3.d.ts +1 -1
- package/types/math/index.d.ts +10 -10
- package/types/mercator.d.ts +1 -1
- package/types/quadTree/EPSG4326QuadTreeStrategy.d.ts +3 -0
- package/types/quadTree/EntityCollectionNode.d.ts +1 -1
- package/types/quadTree/index.d.ts +2 -0
- package/types/renderer/Renderer.d.ts +2 -2
- package/types/scene/Axes.d.ts +1 -1
- package/types/scene/SkyBox.d.ts +1 -1
- package/types/scene/index.d.ts +3 -3
- package/types/segment/Segment.d.ts +9 -11
- package/types/shaders/atmos.d.ts +1 -1
- package/types/shaders/billboard.d.ts +1 -1
- package/types/shaders/depth.d.ts +1 -1
- package/types/shaders/label.d.ts +1 -1
- package/types/shaders/pickingMask.d.ts +1 -1
- package/types/shaders/pointCloud.d.ts +1 -1
- package/types/shaders/polyline.d.ts +1 -1
- package/types/shaders/ray.d.ts +1 -1
- package/types/shaders/screenFrame.d.ts +1 -1
- package/types/shaders/skybox.d.ts +1 -1
- package/types/shaders/toneMapping.d.ts +1 -1
- package/types/terrain/BilTerrain.d.ts +1 -0
- package/types/terrain/EmptyTerrain.d.ts +13 -2
- package/types/terrain/GlobusTerrain.d.ts +2 -1
- package/types/terrain/MapboxTerrain.d.ts +1 -3
- package/types/terrain/index.d.ts +4 -4
- package/types/ui/Button.d.ts +1 -1
- package/types/ui/ButtonGroup.d.ts +12 -0
- package/types/ui/Dialog.d.ts +2 -2
- package/types/ui/Slider.d.ts +1 -1
- package/types/ui/ToggleButton.d.ts +1 -1
- package/types/ui/View.d.ts +1 -1
- package/types/utils/GeoImageCreator.d.ts +2 -2
- package/types/utils/ImagesCacheManager.d.ts +1 -1
- package/types/utils/Loader.d.ts +1 -1
- package/types/utils/VectorTileCreator.d.ts +1 -1
- package/types/utils/objParser.d.ts +8 -0
- package/types/utils/shared.d.ts +6 -0
- package/types/webgl/Handler.d.ts +2 -2
- package/src/og/index.core.js +0 -116
- package/src/og/index.webgl.js +0 -17
- package/types/index.core.d.ts +0 -65
- package/types/index.webgl.d.ts +0 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export function pickingMask(): Program;
|
|
2
|
-
import { Program } from
|
|
2
|
+
import { Program } from '../webgl/Program.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export function pointCloud(): Program;
|
|
2
|
-
import { Program } from
|
|
2
|
+
import { Program } from '../webgl/Program.js';
|
package/types/shaders/ray.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export function rayScreen(): Program;
|
|
2
|
-
import { Program } from
|
|
2
|
+
import { Program } from '../webgl/Program.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export function screenFrame(): Program;
|
|
2
|
-
import { Program } from
|
|
2
|
+
import { Program } from '../webgl/Program.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export function skybox(): Program;
|
|
2
|
-
import { Program } from
|
|
2
|
+
import { Program } from '../webgl/Program.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export function toneMapping(): Program;
|
|
2
|
-
import { Program } from
|
|
2
|
+
import { Program } from '../webgl/Program.js';
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Class represents terrain provider without elevation data.
|
|
3
|
-
* @
|
|
3
|
+
* @param {Object} [options] - Provider options:
|
|
4
|
+
* @param {string} [options.name="empty"] - Provider name.
|
|
5
|
+
* @param {number} [options.minZoom=2] - Minimal visible zoom index when terrain handler works.
|
|
6
|
+
* @param {number} [options.minZoom=50] - Maximal visible zoom index when terrain handler works.
|
|
7
|
+
* @param {number} [options.minNativeZoom=50] - Maximal available terrain zoom level.
|
|
8
|
+
* @param {Array.<number>} [options.gridSizeByZoom] - Array of segment triangulation grid sizes where array index agreed to the segment zoom index.
|
|
9
|
+
* @param {Array.<number>} [gridSizeByZoom] - Array of values, where each value corresponds to the size of a tile(or segment) on the globe. Each value must be power of two.
|
|
4
10
|
*/
|
|
5
11
|
export class EmptyTerrain {
|
|
6
12
|
static checkNoDataValue(noDataValues: any, value: any): boolean;
|
|
7
13
|
constructor(options?: {});
|
|
8
|
-
equalizeVertices:
|
|
14
|
+
equalizeVertices: any;
|
|
9
15
|
equalizeNormals: boolean;
|
|
10
16
|
isEmpty: boolean;
|
|
11
17
|
/**
|
|
@@ -26,6 +32,11 @@ export class EmptyTerrain {
|
|
|
26
32
|
* @type {number}
|
|
27
33
|
*/
|
|
28
34
|
public maxZoom: number;
|
|
35
|
+
/**
|
|
36
|
+
* Maximal existent available zoom
|
|
37
|
+
* @type {number}
|
|
38
|
+
*/
|
|
39
|
+
maxNativeZoom: number;
|
|
29
40
|
/**
|
|
30
41
|
* @public
|
|
31
42
|
* @type {Array.<number>}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* @param {Object} [options] - Provider options:
|
|
7
7
|
* @param {number} [options.minZoom=3] - Minimal visible zoom index when terrain handler works.
|
|
8
8
|
* @param {number} [options.minZoom=14] - Maximal visible zoom index when terrain handler works.
|
|
9
|
+
* @param {number} [options.minNativeZoom=14] - Maximal available terrain zoom level.
|
|
9
10
|
* @param {string} [options.url="//openglobus.org/heights/srtm3/{z}/{y}/{x}.ddm"] - Terrain source path url template. Default is openglobus ddm elevation file.
|
|
10
11
|
* @param {Array.<number>} [options.gridSizeByZoom] - Array of segment triangulation grid sizes where array index agreed to the segment zoom index.
|
|
11
12
|
* @param {number} [options.plainGridSize=32] - Elevation grid size. Default is 32x32. Must be power of two.
|
|
@@ -52,7 +53,7 @@ export class GlobusTerrain extends EmptyTerrain {
|
|
|
52
53
|
*/
|
|
53
54
|
private _urlRewriteCallback;
|
|
54
55
|
isBlur(segment: any): boolean;
|
|
55
|
-
getHeightAsync(lonLat: any, callback: any, zoom: any): boolean;
|
|
56
|
+
getHeightAsync(lonLat: any, callback: any, zoom: any, firstAttempt: any): boolean;
|
|
56
57
|
getTileCache(lonLat: any, z: any): any;
|
|
57
58
|
_getGroundHeightMerc(merc: any, tileData: any): number;
|
|
58
59
|
/**
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
export class MapboxTerrain extends GlobusTerrain {
|
|
2
2
|
constructor(name: any, options?: {});
|
|
3
|
-
equalizeVertices: any;
|
|
4
3
|
equalizeNormals: any;
|
|
5
|
-
minZoom: any;
|
|
6
|
-
maxZoom: any;
|
|
7
4
|
gridSizeByZoom: any;
|
|
8
5
|
url: any;
|
|
9
6
|
plainGridSize: any;
|
|
@@ -12,5 +9,6 @@ export class MapboxTerrain extends GlobusTerrain {
|
|
|
12
9
|
_imageDataCache: {};
|
|
13
10
|
_createTemporalCanvas(size: any): CanvasRenderingContext2D;
|
|
14
11
|
_createHeights(data: any, tileIndex: any, tileX: any, tileY: any, tileZoom: any, extent: any, preventChildren: any): Float32Array;
|
|
12
|
+
getHeightAsync(lonLat: any, callback: any, zoom: any): boolean;
|
|
15
13
|
}
|
|
16
14
|
import { GlobusTerrain } from "./GlobusTerrain.js";
|
package/types/terrain/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EmptyTerrain } from
|
|
2
|
-
import { GlobusTerrain } from
|
|
3
|
-
import { MapboxTerrain } from
|
|
4
|
-
import { BilTerrain } from
|
|
1
|
+
import { EmptyTerrain } from './EmptyTerrain.js';
|
|
2
|
+
import { GlobusTerrain } from './GlobusTerrain.js';
|
|
3
|
+
import { MapboxTerrain } from './MapboxTerrain.js';
|
|
4
|
+
import { BilTerrain } from './BilTerrain.js';
|
|
5
5
|
export { EmptyTerrain, GlobusTerrain, MapboxTerrain, BilTerrain };
|
package/types/ui/Button.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export class ButtonGroup {
|
|
2
|
+
constructor(options: any);
|
|
3
|
+
_events: Events;
|
|
4
|
+
_buttons: any;
|
|
5
|
+
on(eventName: any, callback: any, sender: any): void;
|
|
6
|
+
off(eventName: any, callback: any): void;
|
|
7
|
+
_bindButton(button: any): void;
|
|
8
|
+
add(button: any): void;
|
|
9
|
+
_onChange(isActive: any, btn: any): void;
|
|
10
|
+
remove(button: any): void;
|
|
11
|
+
}
|
|
12
|
+
import { Events } from '../Events.js';
|
package/types/ui/Dialog.d.ts
CHANGED
package/types/ui/Slider.d.ts
CHANGED
package/types/ui/View.d.ts
CHANGED
|
@@ -26,5 +26,5 @@ export class GeoImageCreator {
|
|
|
26
26
|
_quadVertexBuffer: any;
|
|
27
27
|
_initShaders(): void;
|
|
28
28
|
}
|
|
29
|
-
import { Framebuffer } from
|
|
30
|
-
import { LonLat } from
|
|
29
|
+
import { Framebuffer } from '../webgl/Framebuffer.js';
|
|
30
|
+
import { LonLat } from '../LonLat.js';
|
package/types/utils/Loader.d.ts
CHANGED
package/types/utils/shared.d.ts
CHANGED
|
@@ -221,6 +221,12 @@ export function cloneArray(items: any): any;
|
|
|
221
221
|
* @returns {Promise<Image>} Returns promise.
|
|
222
222
|
*/
|
|
223
223
|
export function loadImage(url: string): Promise<new (width?: number, height?: number) => HTMLImageElement>;
|
|
224
|
+
/**
|
|
225
|
+
* Gets image is loaded
|
|
226
|
+
* @param {HTMLImageElement} image
|
|
227
|
+
* @returns {boolean} Returns true is the image is loaded
|
|
228
|
+
*/
|
|
229
|
+
export function isImageLoaded(image: HTMLImageElement): boolean;
|
|
224
230
|
export namespace castType {
|
|
225
231
|
function string(v: any): any;
|
|
226
232
|
function date(v: any): any;
|
package/types/webgl/Handler.d.ts
CHANGED
|
@@ -145,10 +145,10 @@ export class Handler {
|
|
|
145
145
|
/**
|
|
146
146
|
* Creates NEAREST filter texture.
|
|
147
147
|
* @public
|
|
148
|
-
* @param {
|
|
148
|
+
* @param {HTMLCanvasElement | Image} image - Image or Canvas object.
|
|
149
149
|
* @returns {Object} - WebGL texture object.
|
|
150
150
|
*/
|
|
151
|
-
public createTexture_n_webgl1(image:
|
|
151
|
+
public createTexture_n_webgl1(image: HTMLCanvasElement | (new (width?: number, height?: number) => HTMLImageElement), internalFormat: any, texture: any): any;
|
|
152
152
|
/**
|
|
153
153
|
* Creates LINEAR filter texture.
|
|
154
154
|
* @public
|
package/src/og/index.core.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
import * as jd from './astro/jd.js';
|
|
4
|
-
import * as math from './math.js';
|
|
5
|
-
import * as utils from './utils/shared.js';
|
|
6
|
-
|
|
7
|
-
import { Box } from './bv/Box.js';
|
|
8
|
-
import { Sphere } from './bv/Sphere.js';
|
|
9
|
-
|
|
10
|
-
import { Control } from './control/Control.js';
|
|
11
|
-
import { DebugInfo } from './control/DebugInfo';
|
|
12
|
-
import { ShowFps } from './control/ShowFps.js';
|
|
13
|
-
import { SimpleNavigation } from './control/SimpleNavigation.js';
|
|
14
|
-
|
|
15
|
-
import { Billboard } from './entity/Billboard.js';
|
|
16
|
-
import { Entity } from './entity/Entity.js';
|
|
17
|
-
import { EntityCollection } from './entity/EntityCollection.js';
|
|
18
|
-
import { Label } from './entity/Label.js';
|
|
19
|
-
import { PointCloud } from './entity/PointCloud.js';
|
|
20
|
-
import { Polyline } from './entity/Polyline.js';
|
|
21
|
-
|
|
22
|
-
import { input } from './input/input.js';
|
|
23
|
-
|
|
24
|
-
import { Camera } from './camera/Camera.js';
|
|
25
|
-
|
|
26
|
-
import { Line2 } from './math/Line2.js';
|
|
27
|
-
import { Line3 } from './math/Line3.js';
|
|
28
|
-
import { Mat3 } from './math/Mat3.js';
|
|
29
|
-
import { Mat4 } from './math/Mat4.js';
|
|
30
|
-
import { Plane } from './math/Plane.js';
|
|
31
|
-
import { Quat } from './math/Quat.js';
|
|
32
|
-
import { Ray } from './math/Ray.js';
|
|
33
|
-
import { Vec2 } from './math/Vec2.js';
|
|
34
|
-
import { Vec3 } from './math/Vec3.js';
|
|
35
|
-
import { Vec4 } from './math/Vec4.js';
|
|
36
|
-
|
|
37
|
-
import { Framebuffer } from './webgl/Framebuffer.js';
|
|
38
|
-
import { Handler } from './webgl/Handler.js';
|
|
39
|
-
import { Multisample } from './webgl/Multisample.js';
|
|
40
|
-
import { Program } from './webgl/Program.js';
|
|
41
|
-
import { types } from './webgl/types.js';
|
|
42
|
-
|
|
43
|
-
import { Renderer } from './renderer/Renderer.js';
|
|
44
|
-
|
|
45
|
-
import { LightSource } from './light/LightSource.js';
|
|
46
|
-
|
|
47
|
-
import { Clock } from './Clock.js';
|
|
48
|
-
import { Events } from './Events.js';
|
|
49
|
-
|
|
50
|
-
import { Axes } from './scene/Axes.js';
|
|
51
|
-
import { RenderNode } from './scene/RenderNode.js';
|
|
52
|
-
|
|
53
|
-
import { TextureAtlas } from './utils/TextureAtlas.js';
|
|
54
|
-
|
|
55
|
-
const bv = {
|
|
56
|
-
Box: Box,
|
|
57
|
-
Sphere: Sphere
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
const control = {
|
|
61
|
-
DebugInfo: DebugInfo,
|
|
62
|
-
SimpleNavigation: SimpleNavigation,
|
|
63
|
-
ShowFps: ShowFps
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
const entity = {
|
|
67
|
-
Billboard: Billboard,
|
|
68
|
-
Label: Label,
|
|
69
|
-
PointCloud: PointCloud,
|
|
70
|
-
Polyline: Polyline
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const webgl = {
|
|
74
|
-
Framebuffer: Framebuffer,
|
|
75
|
-
Handler: Handler,
|
|
76
|
-
Multisample: Multisample,
|
|
77
|
-
types: types,
|
|
78
|
-
Program: Program
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
const scene = {
|
|
82
|
-
Axes: Axes
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export {
|
|
86
|
-
bv,
|
|
87
|
-
jd,
|
|
88
|
-
math,
|
|
89
|
-
utils,
|
|
90
|
-
input,
|
|
91
|
-
Control,
|
|
92
|
-
control,
|
|
93
|
-
webgl,
|
|
94
|
-
Camera,
|
|
95
|
-
LightSource,
|
|
96
|
-
EntityCollection,
|
|
97
|
-
Handler,
|
|
98
|
-
Renderer,
|
|
99
|
-
Clock,
|
|
100
|
-
Events,
|
|
101
|
-
scene,
|
|
102
|
-
RenderNode,
|
|
103
|
-
Line2,
|
|
104
|
-
Line3,
|
|
105
|
-
Mat3,
|
|
106
|
-
Mat4,
|
|
107
|
-
Plane,
|
|
108
|
-
Quat,
|
|
109
|
-
Ray,
|
|
110
|
-
TextureAtlas,
|
|
111
|
-
Vec2,
|
|
112
|
-
Vec3,
|
|
113
|
-
Vec4,
|
|
114
|
-
entity,
|
|
115
|
-
Entity
|
|
116
|
-
};
|
package/src/og/index.webgl.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
import { TextureAtlas } from './utils/TextureAtlas.js';
|
|
4
|
-
import { Framebuffer } from './webgl/Framebuffer.js';
|
|
5
|
-
import { Handler } from './webgl/Handler.js';
|
|
6
|
-
import { Multisample } from './webgl/Multisample.js';
|
|
7
|
-
import { Program } from './webgl/Program.js';
|
|
8
|
-
import { types } from './webgl/types.js';
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
Handler,
|
|
12
|
-
Framebuffer,
|
|
13
|
-
Multisample,
|
|
14
|
-
types,
|
|
15
|
-
Program,
|
|
16
|
-
TextureAtlas
|
|
17
|
-
};
|
package/types/index.core.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
export namespace bv {
|
|
2
|
-
export { Box };
|
|
3
|
-
export { Sphere };
|
|
4
|
-
}
|
|
5
|
-
import * as jd from "./astro/jd.js";
|
|
6
|
-
import * as math from "./math.js";
|
|
7
|
-
import * as utils from "./utils/shared.js";
|
|
8
|
-
import { input } from "./input/input.js";
|
|
9
|
-
import { Control } from "./control/Control.js";
|
|
10
|
-
export namespace control {
|
|
11
|
-
export { DebugInfo };
|
|
12
|
-
export { SimpleNavigation };
|
|
13
|
-
export { ShowFps };
|
|
14
|
-
}
|
|
15
|
-
export namespace webgl {
|
|
16
|
-
export { Framebuffer };
|
|
17
|
-
export { Handler };
|
|
18
|
-
export { Multisample };
|
|
19
|
-
export { types };
|
|
20
|
-
export { Program };
|
|
21
|
-
}
|
|
22
|
-
import { Camera } from "./camera/Camera.js";
|
|
23
|
-
import { LightSource } from "./light/LightSource.js";
|
|
24
|
-
import { EntityCollection } from "./entity/EntityCollection.js";
|
|
25
|
-
import { Handler } from "./webgl/Handler.js";
|
|
26
|
-
import { Renderer } from "./renderer/Renderer.js";
|
|
27
|
-
import { Clock } from "./Clock.js";
|
|
28
|
-
import { Events } from "./Events.js";
|
|
29
|
-
export namespace scene {
|
|
30
|
-
export { Axes };
|
|
31
|
-
}
|
|
32
|
-
import { RenderNode } from "./scene/RenderNode.js";
|
|
33
|
-
import { Line2 } from "./math/Line2.js";
|
|
34
|
-
import { Line3 } from "./math/Line3.js";
|
|
35
|
-
import { Mat3 } from "./math/Mat3.js";
|
|
36
|
-
import { Mat4 } from "./math/Mat4.js";
|
|
37
|
-
import { Plane } from "./math/Plane.js";
|
|
38
|
-
import { Quat } from "./math/Quat.js";
|
|
39
|
-
import { Ray } from "./math/Ray.js";
|
|
40
|
-
import { TextureAtlas } from "./utils/TextureAtlas.js";
|
|
41
|
-
import { Vec2 } from "./math/Vec2.js";
|
|
42
|
-
import { Vec3 } from "./math/Vec3.js";
|
|
43
|
-
import { Vec4 } from "./math/Vec4.js";
|
|
44
|
-
export namespace entity {
|
|
45
|
-
export { Billboard };
|
|
46
|
-
export { Label };
|
|
47
|
-
export { PointCloud };
|
|
48
|
-
export { Polyline };
|
|
49
|
-
}
|
|
50
|
-
import { Entity } from "./entity/Entity.js";
|
|
51
|
-
import { Box } from "./bv/Box.js";
|
|
52
|
-
import { Sphere } from "./bv/Sphere.js";
|
|
53
|
-
import { DebugInfo } from "./control/DebugInfo";
|
|
54
|
-
import { SimpleNavigation } from "./control/SimpleNavigation.js";
|
|
55
|
-
import { ShowFps } from "./control/ShowFps.js";
|
|
56
|
-
import { Framebuffer } from "./webgl/Framebuffer.js";
|
|
57
|
-
import { Multisample } from "./webgl/Multisample.js";
|
|
58
|
-
import { types } from "./webgl/types.js";
|
|
59
|
-
import { Program } from "./webgl/Program.js";
|
|
60
|
-
import { Axes } from "./scene/Axes.js";
|
|
61
|
-
import { Billboard } from "./entity/Billboard.js";
|
|
62
|
-
import { Label } from "./entity/Label.js";
|
|
63
|
-
import { PointCloud } from "./entity/PointCloud.js";
|
|
64
|
-
import { Polyline } from "./entity/Polyline.js";
|
|
65
|
-
export { jd, math, utils, input, Control, Camera, LightSource, EntityCollection, Handler, Renderer, Clock, Events, RenderNode, Line2, Line3, Mat3, Mat4, Plane, Quat, Ray, TextureAtlas, Vec2, Vec3, Vec4, Entity };
|
package/types/index.webgl.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Handler } from "./webgl/Handler.js";
|
|
2
|
-
import { Framebuffer } from "./webgl/Framebuffer.js";
|
|
3
|
-
import { Multisample } from "./webgl/Multisample.js";
|
|
4
|
-
import { types } from "./webgl/types.js";
|
|
5
|
-
import { Program } from "./webgl/Program.js";
|
|
6
|
-
import { TextureAtlas } from "./utils/TextureAtlas.js";
|
|
7
|
-
export { Handler, Framebuffer, Multisample, types, Program, TextureAtlas };
|