@jdultra/threedtiles 13.0.3 → 13.0.4

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.
@@ -3303,7 +3303,7 @@ void main() {
3303
3303
  const h = new Uint32Array(A), g = new Qa(h, 1, !1);
3304
3304
  g.needsUpdate = !0, g.setUsage(Ka), d.setAttribute("order", g), d.instanceCount = 0, super(d, o), this.orderAttribute = g, this.textureSize = 512, this.numTextures = 1, this.batchSize = t, this.maxSplats = A, this.colorRenderTarget = i, this.positionRenderTarget = s, this.cov1RenderTarget = r, this.cov2RenderTarget = c, this.renderer = e, this.sortID = 0, this.freeAddresses = new Pe();
3305
3305
  for (let u = 0; u < this.maxSplats; u += t) this.freeAddresses.add(u);
3306
- this.worker = new Worker(new URL("/assets/PointsManager.worker-5fpGpVvf.js", import.meta.url), { type: "module" }), this.sortListeners = [], this.worker.onmessage = (u) => {
3306
+ this.worker = new Worker(new URL("" + new URL("assets/PointsManager.worker-5fpGpVvf.js", import.meta.url).href, import.meta.url), { type: "module" }), this.sortListeners = [], this.worker.onmessage = (u) => {
3307
3307
  const I = new Uint32Array(u.data.order);
3308
3308
  if (I.length > this.orderAttribute.count) {
3309
3309
  const p = new Ja(), B = new Float32Array([-0.5, 0.5, 0, 0.5, 0.5, 0, -0.5, -0.5, 0, 0.5, -0.5, 0]), C = [0, 2, 1, 2, 3, 1];