@aibee/crc-bmap 0.0.136 → 0.0.138

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.esm.js CHANGED
@@ -567,7 +567,7 @@ function initLight() {
567
567
  function initControl(camera, domElement) {
568
568
  const control = new MapControls(camera, domElement);
569
569
  control.enableDamping = false;
570
- control.zoomSpeed = 1.5;
570
+ control.zoomSpeed = 1;
571
571
  return control;
572
572
  }
573
573
  function initShape(path, holePath = []) {
@@ -4260,10 +4260,6 @@ var Wall = class extends Object3D9 {
4260
4260
  float secondZ = minZ + step;
4261
4261
  float currentZ = vPosition.z - minZ;
4262
4262
  float t = currentZ / z;
4263
- // if (currentZ > secondZ && currentZ < firstZ) {
4264
- // float randValue = random();
4265
- // t = t + randValue;
4266
- // }
4267
4263
  vec3 vColor = mix(uGradualColor1, uGradualColor2, 1.0 - t);
4268
4264
  gl_FragColor = vec4(vColor, uOpacity); // \u5176\u4ED6\u9762\u989C\u8272\uFF09
4269
4265
  }
@@ -4289,9 +4285,9 @@ var Wall = class extends Object3D9 {
4289
4285
  // 初始化maxZ的值
4290
4286
  uColor: { value: new Color3(this.options[0].fillColor) },
4291
4287
  // 顶面颜色
4292
- uGradualColor1: { value: new Color3(darkenColor(this.options[0].fillColor, 0.95)) },
4288
+ uGradualColor1: { value: new Color3(darkenColor(this.options[0].fillColor, 0.99)) },
4293
4289
  // 渐变颜色1
4294
- uGradualColor2: { value: new Color3(darkenColor(this.options[0].fillColor, 0.75)) },
4290
+ uGradualColor2: { value: new Color3(darkenColor(this.options[0].fillColor, 0.9)) },
4295
4291
  // 渐变颜色2
4296
4292
  uOpacity: { value: this.options[0].fillOpacity },
4297
4293
  // 透明度