aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/testbinding.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-04-05 21:00:47 -0400
committerGitHub <noreply@github.com>2019-04-05 21:00:47 -0400
commit967efc7fbc0fdfe55eeb9c1f6ac9f3df933f72d9 (patch)
treed07d48a0a9edc3a5143bf6678fb4e86619d319d3 /components/script/dom/testbinding.rs
parente7b65c42c42bcf4c7e68822108cf5e0989bf72c6 (diff)
parent813613628db87f09014330a9c508b079454198e6 (diff)
downloadservo-967efc7fbc0fdfe55eeb9c1f6ac9f3df933f72d9.tar.gz
servo-967efc7fbc0fdfe55eeb9c1f6ac9f3df933f72d9.zip
Auto merge of #23164 - Manishearth:getpose, r=asajeffrey
Add XRFrame.getPose() I think I've figured out the model of poses, waiting on Nell for confirmation. Basically, `getViewerPose(p)` is equivalent to `getPose(source=viewerSpace, relative_to=p)` The eye-level space, for example, is stationary and stuck to the origin. The position-disabled and identity spaces somewhat counterintuitively follow you around (and appear to be stationary from `getViewerPose()` but not `getPose()`. The incorrect mental model kinda "works" when looking at only `getViewerPose()`, but we need to figure it out for `getPose()`. Todo (may add to this PR, but probably not) - implement `XRSession.viewerSpace` - implement position-disabled - implement floor-level (hard to test without a 6dof device) r? @asajeffrey <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23164) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/testbinding.rs')
0 files changed, 0 insertions, 0 deletions