Fix XRObjectSpace::MojoFromNative(), XRSession::CreateAnchor()
Fixes XRObjectSpace::MojoFromNative() returning incorrect (inverted) results. Fixes XRSession::CreateAnchor() incorrectly assuming that passed in initial pose is expressed relative to mojo, and creating resolver too early in the method. Other minor refactorings: - XRHitTestResult::getPose() - no functional changes, clarified naming - XRObjectSpace now assumes that T has MojoFromObject() method - Changed XRPlane and XRAnchor - renamed poseMatrix() to MojoFromObject() to match the changed expectations in XRObjectSpace. Fixed: 1032070, 1031684 Change-Id: I5aeefec31c2f501c56cff5b419af9bdff3eb1159 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1958428 Commit-Queue: Piotr Bialecki <bialpio@chromium.org> Reviewed-by:Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/master@{#723412}
Showing
Please register or sign in to comment