@aibee/crc-bmap 0.0.87 → 0.0.88
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 +2 -2
- package/lib/bmap.esm.js +5 -6
- package/lib/bmap.esm.js.map +3 -3
- 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 +2 -2
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -689,7 +689,7 @@ var Graphic = class extends Object3D {
|
|
|
689
689
|
center: this.getPosition(),
|
|
690
690
|
maxValue,
|
|
691
691
|
opacity: this.options.fillOpacity,
|
|
692
|
-
direction: new Vector32(-1,
|
|
692
|
+
direction: new Vector32(-1, 0.2, 0),
|
|
693
693
|
max,
|
|
694
694
|
min
|
|
695
695
|
});
|
|
@@ -699,10 +699,10 @@ var Graphic = class extends Object3D {
|
|
|
699
699
|
}
|
|
700
700
|
const material1 = this.context.materialFactory.createShaderMaterial({
|
|
701
701
|
gradualColor: [darkenColor(this.options.gradualColor[0], 0.95), darkenColor(this.options.gradualColor[1], 0.95)],
|
|
702
|
-
center: this.
|
|
702
|
+
center: this.getCenter(),
|
|
703
703
|
maxValue,
|
|
704
704
|
opacity: this.options.fillOpacity,
|
|
705
|
-
direction: new Vector32(-1,
|
|
705
|
+
direction: new Vector32(-1, 0.2, 1),
|
|
706
706
|
max,
|
|
707
707
|
min
|
|
708
708
|
});
|
|
@@ -2435,7 +2435,7 @@ var MaterialFactory = class {
|
|
|
2435
2435
|
return this.lineMaterialMap.get(key);
|
|
2436
2436
|
}
|
|
2437
2437
|
const lineMaterial = new LineBasicMaterial2({
|
|
2438
|
-
color,
|
|
2438
|
+
color: new Color4(color).convertLinearToSRGB(),
|
|
2439
2439
|
transparent: true,
|
|
2440
2440
|
opacity
|
|
2441
2441
|
});
|
|
@@ -3083,7 +3083,7 @@ var defaultConfig = {
|
|
|
3083
3083
|
time: 100
|
|
3084
3084
|
},
|
|
3085
3085
|
ground: {
|
|
3086
|
-
color: "#
|
|
3086
|
+
color: "#F6F6F6",
|
|
3087
3087
|
opacity: 1,
|
|
3088
3088
|
height: 1e-3,
|
|
3089
3089
|
stroke: false,
|
|
@@ -3313,7 +3313,6 @@ var BMap = class extends EventDispatcher7 {
|
|
|
3313
3313
|
graphics.push(graphic);
|
|
3314
3314
|
}
|
|
3315
3315
|
}
|
|
3316
|
-
curFloor.addShadow();
|
|
3317
3316
|
curFloor.userData.legacyToGraphicMap = legacyToGraphicMap;
|
|
3318
3317
|
return { curFloor, graphics };
|
|
3319
3318
|
}
|