@openglobus/og 0.25.1 → 0.25.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/README.md +10 -6
- package/lib/entity/EntityCollection.d.ts +2 -1
- package/lib/og.es.js +1 -1
- package/lib/scene/Planet.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,18 +66,16 @@ Run
|
|
|
66
66
|
npm run build
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
Then, it will generate
|
|
69
|
+
Then, it will generate files at `lib/`:
|
|
70
70
|
|
|
71
|
-
- og.
|
|
72
|
-
- og.
|
|
73
|
-
- og.esm.js
|
|
74
|
-
- og.esm.js.map
|
|
71
|
+
- og.es.js
|
|
72
|
+
- og.es.js.map
|
|
75
73
|
- og.css
|
|
76
74
|
- ./res/...
|
|
77
75
|
|
|
78
76
|
### Run examples
|
|
79
77
|
|
|
80
|
-
First, it starts by watching sources and building into ./lib folder
|
|
78
|
+
First, it starts by watching sources and building into ./lib folder es module:
|
|
81
79
|
|
|
82
80
|
```sh
|
|
83
81
|
npm run dev
|
|
@@ -89,6 +87,12 @@ Second, runs local server, then you can browse 127.0.0.1:8080:
|
|
|
89
87
|
npm run serve
|
|
90
88
|
```
|
|
91
89
|
|
|
90
|
+
or
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
npm run dev_serve
|
|
94
|
+
```
|
|
95
|
+
|
|
92
96
|
Third, try an example from the sandbox:
|
|
93
97
|
|
|
94
98
|
```sh
|
|
@@ -264,7 +264,8 @@ declare class EntityCollection {
|
|
|
264
264
|
* Creates or refresh collected entities picking color.
|
|
265
265
|
* @public
|
|
266
266
|
*/
|
|
267
|
-
createPickingColors(): void;
|
|
267
|
+
createPickingColors(entities?: Entity[]): void;
|
|
268
|
+
protected _setPickingColor(entity: Entity): void;
|
|
268
269
|
/**
|
|
269
270
|
* Refresh collected entities indexes from startIndex entities collection array position.
|
|
270
271
|
* @public
|