@playcanvas/supersplat-viewer 1.18.6 → 1.19.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcanvas/supersplat-viewer",
3
- "version": "1.18.6",
3
+ "version": "1.19.0",
4
4
  "author": "PlayCanvas <support@playcanvas.com>",
5
5
  "homepage": "https://github.com/playcanvas/supersplat-viewer#readme",
6
6
  "description": "Viewer for https://superspl.at",
package/public/index.html CHANGED
@@ -17,14 +17,14 @@
17
17
 
18
18
  const posterUrl = url.searchParams.get('poster');
19
19
  const skyboxUrl = url.searchParams.get('skybox');
20
- const voxelUrl = url.searchParams.get('voxel');
20
+ const collisionUrl = url.searchParams.get('collision') ?? url.searchParams.get('voxel');
21
21
  const settingsUrl = url.searchParams.has('settings') ? url.searchParams.get('settings') : './settings.json';
22
22
  const contentUrl = url.searchParams.has('content') ? url.searchParams.get('content') : './scene.compressed.ply';
23
23
 
24
24
  const sseConfig = {
25
25
  poster: posterUrl && createImage(posterUrl),
26
26
  skyboxUrl,
27
- voxelUrl,
27
+ collisionUrl,
28
28
  contentUrl,
29
29
  contents: fetch(contentUrl),
30
30
  noui: url.searchParams.has('noui'),