mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Improve getViewerPose()
This commit is contained in:
parent
a2c4270f55
commit
22e5ce5ff3
3 changed files with 14 additions and 9 deletions
|
@ -124,6 +124,9 @@ impl XRSessionMethods for XRSession {
|
|||
|
||||
// https://immersive-web.github.io/webxr/#create-a-reference-space
|
||||
|
||||
// XXXManishearth reject based on session type
|
||||
// https://github.com/immersive-web/webxr/blob/master/spatial-tracking-explainer.md#practical-usage-guidelines
|
||||
|
||||
match options.type_ {
|
||||
XRReferenceSpaceType::Identity => {
|
||||
p.resolve_native(&XRReferenceSpace::identity(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue