three-base 2.0.128 → 2.0.129

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.
@@ -144,7 +144,7 @@ export default class InstancedMeshBase extends MeshBase {
144
144
  // 更新包围盒
145
145
  computeBoundingSphere = throttle(() => {
146
146
  this.children.map((instancedMesh) => {
147
- instancedMesh.computeBoundingSphere();
147
+ instancedMesh.computeBoundingSphere && instancedMesh.computeBoundingSphere();
148
148
  });
149
149
  }, 1000);
150
150
  //初始实例矩阵的数量
@@ -13,7 +13,7 @@ export default class PlaneModal1 extends Mesh {
13
13
  super();
14
14
  this.updata(config);
15
15
  this.material.map = this.texture;
16
- this.scale.set(10, 10, 10);
16
+ // this.scale.set(10, 10, 10);
17
17
  }
18
18
  geometry = new PlaneGeometry(1 * 0.65, 0.728 * 0.65, 1, 1);
19
19
  material = new MeshBasicMaterial({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-base",
3
- "version": "2.0.128",
3
+ "version": "2.0.129",
4
4
  "description": "three 3d three-base",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"