@aibee/crc-bmap 0.0.34 → 0.0.35
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/bmap.cjs.min.js +2 -2
- package/lib/bmap.cjs.min.js.map +3 -3
- package/lib/bmap.esm.js +2 -1
- package/lib/bmap.esm.js.map +2 -2
- package/lib/bmap.esm.min.js +2 -2
- package/lib/bmap.esm.min.js.map +3 -3
- package/lib/bmap.min.js +2 -2
- package/lib/bmap.min.js.map +3 -3
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -178,7 +178,7 @@ function initDirectionalLight(color = 16777215, intensity = 1) {
|
|
|
178
178
|
directionalLight.castShadow = true;
|
|
179
179
|
directionalLight.shadow.radius = 8;
|
|
180
180
|
directionalLight.shadow.bias = -1e-3;
|
|
181
|
-
directionalLight.shadow.mapSize.set(
|
|
181
|
+
directionalLight.shadow.mapSize.set(64, 64);
|
|
182
182
|
directionalLight.shadow.camera.left = -200;
|
|
183
183
|
directionalLight.shadow.camera.right = 200;
|
|
184
184
|
directionalLight.shadow.camera.top = 200;
|
|
@@ -2447,6 +2447,7 @@ 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) => item.info.fillColor = "#F5F7F9");
|
|
2450
2451
|
const groundGraphics = grounds.map((ground) => new Graphic(this.context, ground.info));
|
|
2451
2452
|
curFloor.addGrounds(groundGraphics);
|
|
2452
2453
|
const graphicData = data.filter((item) => item.info.group !== "ground");
|