commit | 2e7a6f691c6e972cba26f4d3a68934675406c3eb | [log] [tgz] |
---|---|---|
author | Jacob DeWitt <jacde@chromium.org> | Wed Jun 19 21:40:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 19 21:40:50 2019 |
tree | 55815175a724c5e862ab76b065f36ff8cc174b3f | |
parent | 08f7805f7d1f1693388d11a94e619deab74a563d [diff] |
Fix WebXR samples viewer pose height for inline sessions Make WebXR samples viewer pose height correct for inline sessions on both WMR and Android. When using WMR, it does not support a local-floor reference space for inline sessions. In that case, the tracking space origin in world space must account for an estimated user height. Android supports local-floor for inline sessions, so what really needs to be checked when determining whether to manually apply an estimated user height is the reference space type instead of the session type. I also verified that the behavior is correct when using Oculus. Also fix an issue with teleportation.html that caused onSelect in inline mode to stop working after entering and exiting an immersive session. This requires keeping track of separate viewer spaces for both sessions. Bug: 954388 Change-Id: I302666c9c8ce2faaf73454a04dcde425a11bc042 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1666302 Reviewed-by: Brandon Jones <bajones@chromium.org> Reviewed-by: Klaus Weidner <klausw@chromium.org> Commit-Queue: Jacob DeWitt <jacde@chromium.org> Cr-Commit-Position: refs/heads/master@{#670661}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .