mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add XRInputSource.targetRaySpace
This commit is contained in:
parent
e5716624d4
commit
d4a6a4987d
5 changed files with 55 additions and 13 deletions
|
@ -110,7 +110,7 @@ impl XRReferenceSpace {
|
|||
// non-subclassed XRReferenceSpaces exist, obtained via the "identity"
|
||||
// type. These are equivalent to the viewer pose and follow the headset
|
||||
// around
|
||||
XRSpace::viewer_pose_from_frame_data(base_pose)
|
||||
XRSpace::pose_to_transform(&base_pose.pose)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue