immersive-web / anchors

https://immersive-web.github.io/anchors/
Other
50 stars 20 forks source link

Remove pose arg from XRHitTestResult.createAnchor() #50

Closed bialpio closed 4 years ago

bialpio commented 4 years ago

Remove pose parameter from XRHitTestResult.createAnchor() API as it does not expand the capabilities of the API - applications can maintain fixed offsets relative to anchors themselves.

Additionally, add missing returns into anchor creation algorithms in case they are supposed to early-exit (related to issue #44).

Fixes #48.


Preview | Diff