@aibee/crc-bmap 0.0.35 → 0.0.36
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/example/src/main.ts +2 -1
- package/lib/bmap.cjs.min.js +2 -2
- package/lib/bmap.cjs.min.js.map +2 -2
- package/lib/bmap.esm.js +6 -3
- package/lib/bmap.esm.js.map +2 -2
- package/lib/bmap.esm.min.js +2 -2
- package/lib/bmap.esm.min.js.map +2 -2
- package/lib/bmap.min.js +2 -2
- package/lib/bmap.min.js.map +2 -2
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -146,12 +146,12 @@ function initCamera(width, height) {
|
|
|
146
146
|
}
|
|
147
147
|
function initLight() {
|
|
148
148
|
const lights = new Group();
|
|
149
|
-
const hemisphereLight = new HemisphereLight(16777215,
|
|
149
|
+
const hemisphereLight = new HemisphereLight(16777215, 16777215, 2);
|
|
150
150
|
hemisphereLight.intensity = 1;
|
|
151
151
|
hemisphereLight.position.set(0, 0, 10);
|
|
152
152
|
hemisphereLight.up.set(0, 0, 1);
|
|
153
153
|
lights.add(hemisphereLight);
|
|
154
|
-
const ambientLight = new AmbientLight(16777215);
|
|
154
|
+
const ambientLight = new AmbientLight(16777215, 1);
|
|
155
155
|
lights.add(ambientLight);
|
|
156
156
|
return lights;
|
|
157
157
|
}
|
|
@@ -2447,7 +2447,10 @@ var BMap = class extends EventDispatcher6 {
|
|
|
2447
2447
|
return { curFloor, graphics: [] };
|
|
2448
2448
|
}
|
|
2449
2449
|
const grounds = data.filter((item) => item.info.group === "ground");
|
|
2450
|
-
grounds.forEach((item) =>
|
|
2450
|
+
grounds.forEach((item) => {
|
|
2451
|
+
item.info.fillColor = "#F5F7F9";
|
|
2452
|
+
item.info.strokeOpacity = 0;
|
|
2453
|
+
});
|
|
2451
2454
|
const groundGraphics = grounds.map((ground) => new Graphic(this.context, ground.info));
|
|
2452
2455
|
curFloor.addGrounds(groundGraphics);
|
|
2453
2456
|
const graphicData = data.filter((item) => item.info.group !== "ground");
|