@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.
- package/CHANGELOG.md +7 -0
- package/dist/needle-engine.bundle.js +3360 -3360
- package/dist/needle-engine.bundle.light.js +3505 -3505
- package/dist/needle-engine.bundle.light.min.js +107 -107
- package/dist/needle-engine.bundle.light.umd.cjs +123 -123
- package/dist/needle-engine.bundle.min.js +101 -101
- package/dist/needle-engine.bundle.umd.cjs +122 -122
- package/dist/needle-engine.js +112 -111
- package/dist/needle-engine.light.js +112 -111
- package/dist/needle-engine.light.min.js +1 -1
- package/dist/needle-engine.light.umd.cjs +1 -1
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/lib/engine/engine_scenetools.d.ts +12 -0
- package/lib/engine/engine_scenetools.js +15 -0
- package/lib/engine/engine_scenetools.js.map +1 -1
- package/lib/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js +6 -3
- package/lib/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js.map +1 -1
- package/lib/engine-components/OrbitControls.d.ts +2 -0
- package/lib/engine-components/OrbitControls.js +12 -14
- package/lib/engine-components/OrbitControls.js.map +1 -1
- package/lib/engine-components/SceneSwitcher.js +0 -1
- package/lib/engine-components/SceneSwitcher.js.map +1 -1
- package/lib/needle-engine.js +3 -3
- package/lib/needle-engine.js.map +1 -1
- package/package.json +1 -1
- package/plugins/common/license.js +40 -38
- package/src/engine/engine_scenetools.ts +16 -2
- package/src/engine/physics/workers/mesh-bvh/GenerateMeshBVHWorker.js +6 -3
- package/src/engine-components/OrbitControls.ts +12 -15
- package/src/engine-components/SceneSwitcher.ts +1 -1
- package/src/needle-engine.ts +3 -3
- 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.
|