Manish Goregaokar
b818af794a
Add a viewer typed reference space
2019-07-11 11:12:59 -07:00
Manish Goregaokar
8780edb165
Hook webxr data into XRFrame/XRView/XRSpace
2019-07-11 11:12:59 -07:00
Manish Goregaokar
d55ed4240c
Hook requestSession() into new XR crate
2019-07-11 11:12:59 -07:00
Josh Matthews
57d2b5a92d
Remove mozjs dep from malloc_size_of.
2019-05-02 09:30:03 -04:00
Manish Goregaokar
e055884564
Remove viewMatrix
...
Users are supposed to use `view.transform.inverse.matrix`
The view matrix was incorrect anyway, we had forgotten to invert it, but that was okay since we transposed it by accident (due to euclid's use of the row-vector convention), and for 3DOF devices these transforms are mostly rotations so transposing instead of inverting doesn't lead to visible effects.
2019-04-03 23:55:33 -07:00
Manish Goregaokar
646647e8d9
Add XRView.transform
2019-04-03 23:55:33 -07:00
Manish Goregaokar
f9c25c612a
Add XRPose.transform
2019-04-03 23:55:33 -07:00
Manish Goregaokar
08079c4d28
Switch XRSpace code to using rigid transforms
2019-04-03 23:55:33 -07:00
Manish Goregaokar
2e48606569
Compute view matrix from viewer pose
2019-03-26 00:09:15 -07:00
Vladimir Iacob
8a615fc880
mark create_type_array as unsafe in vrframedata component
2019-01-06 19:05:39 +02:00
Manish Goregaokar
4d73eac27c
NonNull::new()
2019-01-03 23:53:50 -08:00
Manish Goregaokar
28dff81dbf
Fill in XR frame/pose/view implementations
2018-12-21 15:47:28 -08:00
Manish Goregaokar
7e043a33f1
Support fetching viewport info
2018-12-21 14:43:41 -08:00
Manish Goregaokar
73c530344c
Basic XRView interface
2018-12-19 16:48:44 -08:00