a3js 0.0.59 → 0.0.60

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/dist/a3js.es.js CHANGED
@@ -8680,7 +8680,7 @@ var Wr = class {
8680
8680
  e.objectA.handleCollision(e.objectB, e.started, e.partOfA, e.partOfB), e.objectB.handleCollision(e.objectA, e.started, e.partOfB, e.partOfA);
8681
8681
  }), this.collisionListener && n.length > 0 && this.collisionListener(n), this.rapierLines && this.physicsWorld instanceof sn) {
8682
8682
  let { vertices: t, colors: n } = this.physicsWorld.world.debugRender();
8683
- this.rapierLines.geometry.setAttribute("position", new e.BufferAttribute(t, 3)), this.rapierLines.geometry.setAttribute("color", new e.BufferAttribute(n, 4));
8683
+ this.rapierLines.geometry.setAttribute("position", new e.BufferAttribute(t, 3)), this.rapierLines.geometry.setAttribute("color", new e.BufferAttribute(n, 4)), this.rapierLines.geometry.computeBoundingSphere();
8684
8684
  }
8685
8685
  }
8686
8686
  for (let e of this.objects) e.update(t);