commit | 837abe476c79323d2c8fa81bd43462dc904235e6 | [log] [tgz] |
---|---|---|
author | Piotr Bialecki <bialpio@chromium.org> | Thu Jun 27 00:00:11 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 27 00:00:11 2019 |
tree | 823fc0395d195d90ff146c4aac19d1d28e5a16fe | |
parent | 3d18154f883134e0cb095fd94737cf0a5a75679c [diff] |
Make XRPlane return XRSpaces instead of handing out XRPoses Currently, the pattern to obtain XRPoses in WebXR is to invoke `XRFrame.getPose(space_to, space_from)` method - XRPlanes were not following the pattern and returning XRPoses directly from `XRPlane.getPose(space)`. This CL fixes that inconsistency - planes will now return instances of XRSpace that can be used to obtain the poses from a frame. Change-Id: Ie656bcca50fe7118d5e2ffeb94e86e101b6e7f82 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678440 Reviewed-by: Bill Orr <billorr@chromium.org> Commit-Queue: Piotr Bialecki <bialpio@chromium.org> Cr-Commit-Position: refs/heads/master@{#672724}
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 .