@aibee/crc-bmap 0.13.8 → 0.13.10
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/index.cjs +2 -2
- package/lib/index.esm.min.js +2 -2
- package/lib/meta.json +9 -9
- package/lib/src/config.d.ts +1 -0
- package/lib/src/context/renderer.d.ts +3 -1
- package/package.json +1 -1
package/lib/meta.json
CHANGED
|
@@ -2998,7 +2998,7 @@
|
|
|
2998
2998
|
"format": "esm"
|
|
2999
2999
|
},
|
|
3000
3000
|
"../lib/src/elements/poi2.js": {
|
|
3001
|
-
"bytes":
|
|
3001
|
+
"bytes": 14342,
|
|
3002
3002
|
"imports": [
|
|
3003
3003
|
{
|
|
3004
3004
|
"path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
|
|
@@ -4495,7 +4495,7 @@
|
|
|
4495
4495
|
"format": "esm"
|
|
4496
4496
|
},
|
|
4497
4497
|
"../lib/src/context/renderer.js": {
|
|
4498
|
-
"bytes":
|
|
4498
|
+
"bytes": 2027,
|
|
4499
4499
|
"imports": [
|
|
4500
4500
|
{
|
|
4501
4501
|
"path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
|
|
@@ -4585,7 +4585,7 @@
|
|
|
4585
4585
|
"format": "esm"
|
|
4586
4586
|
},
|
|
4587
4587
|
"../lib/src/context/context.js": {
|
|
4588
|
-
"bytes":
|
|
4588
|
+
"bytes": 17333,
|
|
4589
4589
|
"imports": [
|
|
4590
4590
|
{
|
|
4591
4591
|
"path": "core-js/modules/web.dom-collections.iterator.js",
|
|
@@ -4656,7 +4656,7 @@
|
|
|
4656
4656
|
"format": "esm"
|
|
4657
4657
|
},
|
|
4658
4658
|
"../lib/src/config.js": {
|
|
4659
|
-
"bytes":
|
|
4659
|
+
"bytes": 1910,
|
|
4660
4660
|
"imports": [
|
|
4661
4661
|
{
|
|
4662
4662
|
"path": "lodash",
|
|
@@ -9241,7 +9241,7 @@
|
|
|
9241
9241
|
"bytesInOutput": 10933
|
|
9242
9242
|
},
|
|
9243
9243
|
"../lib/src/context/context.js": {
|
|
9244
|
-
"bytesInOutput":
|
|
9244
|
+
"bytesInOutput": 8697
|
|
9245
9245
|
},
|
|
9246
9246
|
"../lib/src/utils/timer.js": {
|
|
9247
9247
|
"bytesInOutput": 1783
|
|
@@ -9466,7 +9466,7 @@
|
|
|
9466
9466
|
"bytesInOutput": 1595
|
|
9467
9467
|
},
|
|
9468
9468
|
"../lib/src/elements/poi2.js": {
|
|
9469
|
-
"bytesInOutput":
|
|
9469
|
+
"bytesInOutput": 7681
|
|
9470
9470
|
},
|
|
9471
9471
|
"../lib/src/elements/svg-line.js": {
|
|
9472
9472
|
"bytesInOutput": 2240
|
|
@@ -9544,7 +9544,7 @@
|
|
|
9544
9544
|
"bytesInOutput": 13546
|
|
9545
9545
|
},
|
|
9546
9546
|
"../lib/src/context/renderer.js": {
|
|
9547
|
-
"bytesInOutput":
|
|
9547
|
+
"bytesInOutput": 997
|
|
9548
9548
|
},
|
|
9549
9549
|
"../lib/src/context/scene.js": {
|
|
9550
9550
|
"bytesInOutput": 202
|
|
@@ -9559,7 +9559,7 @@
|
|
|
9559
9559
|
"bytesInOutput": 2618
|
|
9560
9560
|
},
|
|
9561
9561
|
"../lib/src/config.js": {
|
|
9562
|
-
"bytesInOutput":
|
|
9562
|
+
"bytesInOutput": 1086
|
|
9563
9563
|
},
|
|
9564
9564
|
"../lib/src/loader/AibeeLoader/index.js": {
|
|
9565
9565
|
"bytesInOutput": 8825
|
|
@@ -9697,7 +9697,7 @@
|
|
|
9697
9697
|
"bytesInOutput": 433
|
|
9698
9698
|
}
|
|
9699
9699
|
},
|
|
9700
|
-
"bytes":
|
|
9700
|
+
"bytes": 401188
|
|
9701
9701
|
}
|
|
9702
9702
|
}
|
|
9703
9703
|
}
|
package/lib/src/config.d.ts
CHANGED
|
@@ -2,16 +2,18 @@ import { EventDispatcher, WebGLRenderer, WebGLRendererParameters, EventListener
|
|
|
2
2
|
import { ContextScene } from "./scene";
|
|
3
3
|
import { ContextCamera } from "./camera";
|
|
4
4
|
import { Timer } from "../utils";
|
|
5
|
+
import { Context } from "./context";
|
|
5
6
|
interface RendererEventMap {
|
|
6
7
|
update: {};
|
|
7
8
|
}
|
|
8
9
|
export declare class Renderer extends WebGLRenderer {
|
|
10
|
+
context: Context;
|
|
9
11
|
event: EventDispatcher<RendererEventMap>;
|
|
10
12
|
scene?: ContextScene;
|
|
11
13
|
camera?: ContextCamera;
|
|
12
14
|
enable: boolean;
|
|
13
15
|
timer: Timer;
|
|
14
|
-
constructor(options?: WebGLRendererParameters & {
|
|
16
|
+
constructor(context: Context, options?: WebGLRendererParameters & {
|
|
15
17
|
backgroundColor: string | number;
|
|
16
18
|
});
|
|
17
19
|
setCameraAndScene(scene: ContextScene, camera: ContextCamera): void;
|