@needle-tools/engine 3.36.5-beta → 3.36.6-beta
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 +4 -0
- package/dist/needle-engine.js +3070 -3056
- package/dist/needle-engine.light.js +2380 -2366
- package/dist/needle-engine.light.min.js +328 -328
- package/dist/needle-engine.light.umd.cjs +346 -346
- package/dist/needle-engine.min.js +327 -327
- package/dist/needle-engine.umd.cjs +345 -345
- package/lib/engine/api.d.ts +1 -0
- package/lib/engine/api.js +1 -0
- package/lib/engine/api.js.map +1 -1
- package/lib/engine/engine_camera.d.ts +3 -1
- package/lib/engine/engine_camera.js +3 -1
- package/lib/engine/engine_camera.js.map +1 -1
- package/lib/engine-components/webxr/WebARSessionRoot.d.ts +3 -0
- package/lib/engine-components/webxr/WebARSessionRoot.js +45 -6
- package/lib/engine-components/webxr/WebARSessionRoot.js.map +1 -1
- package/package.json +1 -1
- package/src/engine/api.ts +2 -1
- package/src/engine/engine_camera.ts +3 -2
- package/src/engine-components/webxr/WebARSessionRoot.ts +58 -9
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ 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
|
+
## [3.36.6-beta] - 2023-04-10
|
|
8
|
+
- Add: Expose `setAutoFitEnabled` method to remove objects from being included in camera fitting
|
|
9
|
+
- Change: Improve WebAR wall and ceiling placement
|
|
10
|
+
|
|
7
11
|
## [3.36.5-beta] - 2023-04-09
|
|
8
12
|
- Add: lifecycle hooks like `onUpdate(()=>{})` now return method to unsubscribe. For example you can now write it like this `const unsubscribe = onUpdate(()=>{ console.log("One Frame"); unsubscribe(); })`
|
|
9
13
|
- Add: `onAfterRender` hook
|