Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some XRSpace improvements #23055

Merged
merged 8 commits into from Mar 21, 2019

Cleanup XRFrame

  • Loading branch information
Manishearth committed Mar 18, 2019
commit a2c4270f558273f7d84d8901c4934b5c3b2960bd
@@ -58,10 +58,11 @@ impl XRFrameMethods for XRFrame {
if reference.is_some() {
// it's not possible to obtain a reference
// space at all yet
return None;
None
} else {
let left = XRView::new(&self.global(), &self.session, XREye::Left, &self.data);
let right = XRView::new(&self.global(), &self.session, XREye::Right, &self.data);
Some(XRViewerPose::new(&self.global(), &left, &right))
}
let left = XRView::new(&self.global(), &self.session, XREye::Left, &self.data);
let right = XRView::new(&self.global(), &self.session, XREye::Right, &self.data);
Some(XRViewerPose::new(&self.global(), &left, &right))
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.