@needle-tools/engine 4.8.8-next.7387ba3 → 4.8.8-next.937fc15

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +4 -5
  2. package/README.md +1 -3
  3. package/dist/{needle-engine.bundle-Dm2TtQhy.min.js → needle-engine.bundle--r19rtjt.min.js} +82 -82
  4. package/dist/{needle-engine.bundle-fg_vGCYe.umd.cjs → needle-engine.bundle-CAvlLwYK.umd.cjs} +104 -104
  5. package/dist/{needle-engine.bundle-D47vIqsQ.js → needle-engine.bundle-Dao6Iztd.js} +687 -689
  6. package/dist/needle-engine.js +2 -2
  7. package/dist/needle-engine.min.js +1 -1
  8. package/dist/needle-engine.umd.cjs +1 -1
  9. package/lib/engine/engine_loaders.callbacks.d.ts +1 -0
  10. package/lib/engine/engine_loaders.callbacks.js +1 -0
  11. package/lib/engine/engine_loaders.callbacks.js.map +1 -1
  12. package/lib/engine/webcomponents/needle-engine.d.ts +2 -2
  13. package/lib/engine/webcomponents/needle-engine.js +11 -18
  14. package/lib/engine/webcomponents/needle-engine.js.map +1 -1
  15. package/lib/engine-components/Camera.d.ts +2 -0
  16. package/lib/engine-components/Camera.js +5 -1
  17. package/lib/engine-components/Camera.js.map +1 -1
  18. package/lib/engine-components/DropListener.d.ts +4 -3
  19. package/lib/engine-components/DropListener.js +4 -3
  20. package/lib/engine-components/DropListener.js.map +1 -1
  21. package/lib/engine-components/OrbitControls.d.ts +29 -6
  22. package/lib/engine-components/OrbitControls.js +41 -3
  23. package/lib/engine-components/OrbitControls.js.map +1 -1
  24. package/lib/engine-components/Skybox.js +8 -9
  25. package/lib/engine-components/Skybox.js.map +1 -1
  26. package/lib/engine-components/api.d.ts +1 -0
  27. package/lib/engine-components/api.js.map +1 -1
  28. package/package.json +1 -1
  29. package/plugins/common/files.js +6 -3
  30. package/plugins/vite/editor-connection.js +4 -4
  31. package/src/engine/engine_loaders.callbacks.ts +1 -0
  32. package/src/engine/webcomponents/needle-engine.ts +10 -17
  33. package/src/engine-components/Camera.ts +7 -1
  34. package/src/engine-components/DropListener.ts +4 -3
  35. package/src/engine-components/OrbitControls.ts +63 -10
  36. package/src/engine-components/Skybox.ts +9 -10
  37. package/src/engine-components/api.ts +2 -1
package/CHANGELOG.md CHANGED
@@ -12,11 +12,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
12
12
  - Change: OrbitControls with locked target constraint is now updating the constraint position when calling e.g. `setTargetPosition`
13
13
  - Add: `setCameraFocusRect` method on Needle Context for easier responsive layouting.
14
14
  With this you can e.g. overlay the webgl scene with HTML elements and pass in a div element for keeping important elements visible.
15
- [Example 1 Website](https://responsive-layout-z23hmxb22no6t.needle.run/) | [Code on Stackblitz](<https://stackblitz.com/edit/needle-engine-camera-focus-rect?file=src%2Fsidebar.ts,index.html,src%2Fmain.ts>)
16
- [![](https://cdn.needle.tools/static/images/changelog/4.8.8-focus-thumbnail.jpg)](https://responsive-layout-z23hmxb22no6t.needle.run/)
17
- [Example 2 Website](https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/) | [Code on Stackblitz](<https://stackblitz.com/edit/needle-engine-camera-focus-rect-click-to-move?file=index.html,src%2Fmain.ts>)
18
- [![](https://cdn.needle.tools/static/images/changelog/4.8.8-focus-2-thumbnail.jpg?)](https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/)
19
-
15
+ [Example 1 Website](<https://responsive-layout-z23hmxb22no6t.needle.run/>) | [Code on Stackblitz](<https://stackblitz.com/edit/needle-engine-camera-focus-rect?file=src%2Fsidebar.ts,index.html,src%2Fmain.ts>)
16
+ [![](https://cdn.needle.tools/static/images/changelog/4.8.8-focus-thumbnail.jpg)](<https://responsive-layout-z23hmxb22no6t.needle.run/>)
17
+ [Example 2 Website](<https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/>) | [Code on Stackblitz](<https://stackblitz.com/edit/needle-engine-camera-focus-rect-click-to-move?file=index.html,src%2Fmain.ts>)
18
+ [![](https://cdn.needle.tools/static/images/changelog/4.8.8-focus-2-thumbnail.jpg?)](<https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/>)
20
19
 
21
20
  ## [4.8.7] - 2025-08-27
22
21
  - Add: New [@needle-tools/three-animation-pointer](<https://www.npmjs.com/package/@needle-tools/three-animation-pointer>) package
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Needle Engine
2
2
 
3
- <img src="https://engine.needle.tools/docs/imgs/banner.webp" />
3
+ <!-- <img src="https://engine.needle.tools/docs/imgs/banner.webp" /> -->
4
4
 
5
5
  **[Needle Engine](https://needle.tools)** is a fast web engine for complex and simple 3D applications alike.
6
6
  It is flexible, extensible and has built-in support for collaboration and XR! It is built around the **glTF standard** for 3D assets and is using three.js under the hood - so all your existing knowledge applies.
@@ -62,8 +62,6 @@ Follow the [Getting Started Guide](https://docs.needle.tools/getting-started) to
62
62
  ### [Camera Focus DIV Example 2](https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/) | [Code on Stackblitz](<https://stackblitz.com/edit/needle-engine-camera-focus-rect-click-to-move?file=index.html,src%2Fmain.ts>)
63
63
  [![](https://cdn.needle.tools/static/images/changelog/4.8.8-focus-2-thumbnail.jpg?)](https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/)
64
64
 
65
- ### [FastHDR](https://cloud.needle.tools/hdris)
66
-
67
65
 
68
66
  👋 Find more examples on [samples.needle.tools](https://samples.needle.tools/), [docs.needle.tools](https://docs.needle.tools) and in the [Needle Engine Stackblitz Collection](https://stackblitz.com/@marwie/collections/needle-engine)
69
67