Add XRInputSource.targetRaySpace

This commit is contained in:
Manish Goregaokar 2019-04-29 20:27:07 -07:00
parent e5716624d4
commit d4a6a4987d
5 changed files with 55 additions and 13 deletions

View file

@ -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)
}
}
}