mirror of
https://github.com/servo/servo.git
synced 2025-06-17 04:44:28 +00:00
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 --> |
||
---|---|---|
.. | ||
docs | ||
dom | ||
task_source | ||
body.rs | ||
build.rs | ||
Cargo.toml | ||
clipboard_provider.rs | ||
CMakeLists.txt | ||
devtools.rs | ||
document_loader.rs | ||
fetch.rs | ||
image_listener.rs | ||
layout_image.rs | ||
lib.rs | ||
mem.rs | ||
microtask.rs | ||
network_listener.rs | ||
script_runtime.rs | ||
script_thread.rs | ||
serviceworker_manager.rs | ||
serviceworkerjob.rs | ||
stylesheet_loader.rs | ||
task.rs | ||
task_manager.rs | ||
task_queue.rs | ||
test.rs | ||
textinput.rs | ||
timers.rs | ||
unpremultiplytable.rs | ||
webdriver_handlers.rs |