vis-core 0.16.1 → 0.16.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/dist/command/Commands.d.ts +1 -0
- package/dist/command/SetSceenMap.d.ts +4 -0
- package/dist/index.js +192 -192
- package/dist/index.module.js +4269 -4211
- package/dist/version.d.ts +1 -1
- package/dist/vis/earth/index.d.ts +3 -0
- package/dist/vis/earth/objects/Bar.d.ts +11 -0
- package/dist/vis/earth/objects/index.d.ts +2 -0
- package/dist/vis/earth3/index.d.ts +1 -0
- package/dist/vis/earth3/objects/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.16.
|
|
1
|
+
declare const _default: "0.16.2";
|
|
2
2
|
export default _default;
|
|
@@ -14,6 +14,7 @@ export default class extends Base {
|
|
|
14
14
|
drawController: DrawController<{
|
|
15
15
|
Earth: typeof import("./objects/earth").default;
|
|
16
16
|
Countries: typeof Countries;
|
|
17
|
+
Bar: typeof import("./objects/Bar").default;
|
|
17
18
|
Plane: typeof import("../all/objects/Plane").default;
|
|
18
19
|
Ring: typeof import("../all/objects/Ring").default;
|
|
19
20
|
Sphere: typeof import("../all/objects/Sphere").default;
|
|
@@ -60,5 +61,7 @@ export default class extends Base {
|
|
|
60
61
|
line: ConstructorParameters<typeof MeshLineMaterial>[0];
|
|
61
62
|
}): Promise<Countries | undefined>;
|
|
62
63
|
checkBehindEarth(objArr: () => BaseObject[], cb: (behind: BaseObject[], front: BaseObject[]) => any, eventType?: 'update' | 'controlend'): void;
|
|
64
|
+
addBar(): void;
|
|
65
|
+
removeBar(): void;
|
|
63
66
|
}
|
|
64
67
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseObject } from 'gl-draw';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
interface Options {
|
|
4
|
+
material: THREE.Material;
|
|
5
|
+
}
|
|
6
|
+
export default class SphereShadow extends BaseObject {
|
|
7
|
+
options: Required<Options>;
|
|
8
|
+
constructor(options: Options);
|
|
9
|
+
create(): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Draw as DrawController } from 'gl-draw/dist/plugins';
|
|
2
2
|
import Earth from './earth';
|
|
3
3
|
import Countries from './countries';
|
|
4
|
+
import Bar from './Bar';
|
|
4
5
|
declare const objs: {
|
|
5
6
|
Earth: typeof Earth;
|
|
6
7
|
Countries: typeof Countries;
|
|
8
|
+
Bar: typeof Bar;
|
|
7
9
|
Plane: typeof import("../../all/objects/Plane").default;
|
|
8
10
|
Ring: typeof import("../../all/objects/Ring").default;
|
|
9
11
|
Sphere: typeof import("../../all/objects/Sphere").default;
|
|
@@ -6,6 +6,7 @@ export default class extends Earth {
|
|
|
6
6
|
Earth: typeof import("../earth/objects/earth").default;
|
|
7
7
|
Countries: typeof import("../earth/objects/countries").default;
|
|
8
8
|
SphereShadow: typeof import("./objects/SphereShadow").default;
|
|
9
|
+
Bar: typeof import("../earth/objects/Bar").default;
|
|
9
10
|
Plane: typeof import("../all/objects/Plane").default;
|
|
10
11
|
Ring: typeof import("../all/objects/Ring").default;
|
|
11
12
|
Sphere: typeof import("../all/objects/Sphere").default;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Draw as DrawController } from 'gl-draw/dist/plugins';
|
|
2
2
|
import Earth from "../../earth/objects/earth";
|
|
3
|
-
import SphereShadow from './SphereShadow';
|
|
4
3
|
import Countries from "../../earth/objects/countries";
|
|
4
|
+
import SphereShadow from './SphereShadow';
|
|
5
|
+
import Bar from "../../earth/objects/Bar";
|
|
5
6
|
declare const objs: {
|
|
6
7
|
Earth: typeof Earth;
|
|
7
8
|
Countries: typeof Countries;
|
|
8
9
|
SphereShadow: typeof SphereShadow;
|
|
10
|
+
Bar: typeof Bar;
|
|
9
11
|
Plane: typeof import("../../all/objects/Plane").default;
|
|
10
12
|
Ring: typeof import("../../all/objects/Ring").default;
|
|
11
13
|
Sphere: typeof import("../../all/objects/Sphere").default;
|