@needle-tools/engine 4.4.3 → 4.4.4-alpha.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/needle-engine.bundle.js +3360 -3360
  3. package/dist/needle-engine.bundle.light.js +3505 -3505
  4. package/dist/needle-engine.bundle.light.min.js +107 -107
  5. package/dist/needle-engine.bundle.light.umd.cjs +123 -123
  6. package/dist/needle-engine.bundle.min.js +101 -101
  7. package/dist/needle-engine.bundle.umd.cjs +122 -122
  8. package/dist/needle-engine.js +112 -111
  9. package/dist/needle-engine.light.js +112 -111
  10. package/dist/needle-engine.light.min.js +1 -1
  11. package/dist/needle-engine.light.umd.cjs +1 -1
  12. package/dist/needle-engine.min.js +1 -1
  13. package/dist/needle-engine.umd.cjs +1 -1
  14. package/lib/engine/engine_scenetools.d.ts +12 -0
  15. package/lib/engine/engine_scenetools.js +15 -0
  16. package/lib/engine/engine_scenetools.js.map +1 -1
  17. package/lib/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js +6 -3
  18. package/lib/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js.map +1 -1
  19. package/lib/engine-components/OrbitControls.d.ts +2 -0
  20. package/lib/engine-components/OrbitControls.js +12 -14
  21. package/lib/engine-components/OrbitControls.js.map +1 -1
  22. package/lib/engine-components/SceneSwitcher.js +0 -1
  23. package/lib/engine-components/SceneSwitcher.js.map +1 -1
  24. package/lib/needle-engine.js +3 -3
  25. package/lib/needle-engine.js.map +1 -1
  26. package/package.json +1 -1
  27. package/plugins/common/license.js +40 -38
  28. package/src/engine/engine_scenetools.ts +16 -2
  29. package/src/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js +6 -3
  30. package/src/engine-components/OrbitControls.ts +12 -15
  31. package/src/engine-components/SceneSwitcher.ts +1 -1
  32. package/src/needle-engine.ts +3 -3
  33. package/dist/assets/generateMeshBVH.worker-b7788939.js +0 -25
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [4.4.4-alpha] - 2025-04-29
8
+ - Add: Support for easily adding an Animation component to the root object of a loaded glTF to automatically play animations.
9
+ - Add: `loadAsset` function
10
+ - Fix: OrbitControls issue where `fitCamera({immediate:true})` would not fit the camera immediately without lerping
11
+ - Fix: Prebundled needle-engine regression where the mesh-bvh-worker could not be loaded
12
+ - Fix: Vite fetch public key causing build to fail
13
+
7
14
  ## [4.4.3] - 2025-04-29
8
15
  - Add: Support for `getKeyDown`, `getKeyPressed` and `getKeyUp` to pass in key name to check the state of keyboard input, e.g. `context.getKeyDown(<key>)`
9
16
  - Add: License validation for webpack (nextjs) via access token or teamid. The `needleNext` plugin does now handle the license for passed in team or access tokens.