@needle-tools/engine 4.11.0-beta → 4.11.0-beta.1

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/CHANGELOG.md CHANGED
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9
9
  - Add: CursorFollow option to follow cursor on the full page, even when a user moves their mouse outside of the `<needle-engine>` element.
10
10
  - Add: CursorFollow `snapToSurface` option to automatically snap the object to the surface below the cursor.
11
11
  - Add: Object3D `raycastAllowed` property to disable raycasting on specific objects (e.g. for performance reasons or to ignore invisible helper objects)
12
+ - Add: *Experimental* - Vite plugin to generate `needle-app.js` which encapsulates the whole website into a single web component.
12
13
  - Fix: three nodes update camera for TSL
13
14
  - Fix: Renderer lightmaps are now updating `sharedMaterials`
14
15
  - Fix: `Gizmos.DrawWireMesh` matrix
@@ -197,7 +197,7 @@ class Le {
197
197
  });
198
198
  }
199
199
  static async createWorker(t) {
200
- const e = new Worker(URL.createObjectURL(new Blob(["import '" + `${new URL('./loader.worker-CiTwpNPW.js', import.meta.url).toString()}` + "';"], { type: 'text/javascript' })), {
200
+ const e = /* new-worker */ new Worker(URL.createObjectURL(new Blob(["import '" + `${new URL('./loader.worker-CiTwpNPW.js', import.meta.url).toString()}` + "';"], { type: 'text/javascript' })), {
201
201
  type: "module"
202
202
  });
203
203
  return new Le(e, t);