commit | 8802e7a604d9123c62f90430f2b7a47eb155b4b6 | [log] [tgz] |
---|---|---|
author | Ian Vollick <vollick@chromium.org> | Mon Nov 06 23:47:00 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Nov 06 23:47:00 2017 |
tree | ef9ad319d061ea28dc9355e7892025f4eabd9c23 | |
parent | 946e3173ce19c18e805b4fbb2218cb7149429793 [diff] |
[vr] Determine reticle position based on mouse position in test app With this change, we convert the current mouse position into a ray that we use for an initial hit test. Based on the result of that hit test, we construct a controller position and orientation so that it points at the reticle. Bug: None Change-Id: I584f9963b6fe37dda9806d0833a2183a677f77be Reviewed-on: https://chromium-review.googlesource.com/754543 Reviewed-by: Christopher Grant <cjgrant@chromium.org> Commit-Queue: Ian Vollick <vollick@chromium.org> Cr-Commit-Position: refs/heads/master@{#514298}
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 .