Kunal Mohan
f7db4b7f80
Modify script
to prevent further violations of snake_case
2020-01-18 14:22:15 +05:30
marmeladema
88cacfb009
Modify *::get_cx methods to return a safe JSContext instead of a raw one
2019-07-24 09:53:10 +01:00
marmeladema
2c5d0a6ebc
Convert CGTraitInterface to use safe JSContext instead of raw JSContext
2019-07-24 08:24:50 +01:00
Emilio Cobos Álvarez
3d57c22e9c
Update euclid.
...
There are a few canvas2d-related dependencies that haven't updated, but they
only use euclid internally so that's not blocking landing the rest of the
changes.
Given the size of this patch, I think it's useful to get this landed as-is.
2019-07-23 23:09:55 +02:00
Manish Goregaokar
036b495cb2
Error on invalid rotation values in XRRigidTransform constructor
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
bors-servo
670a32c9e9
Auto merge of #23292 - Manishearth:input, r=asajeffrey
...
Add support for XRInputSource and target ray spaces
Untested, but compiles.
r? @jdm or @asajeffrey
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23292 )
<!-- Reviewable:end -->
2019-05-07 19:23:55 -04:00
Manish Goregaokar
f17f066495
Fix orientation getter in XRRigidTransform
2019-05-07 13:21:42 +02:00
Josh Matthews
57d2b5a92d
Remove mozjs dep from malloc_size_of.
2019-05-02 09:30:03 -04:00
Manish Goregaokar
cdbc08b911
Set transform.inverse.inverse == transform
...
https://github.com/immersive-web/webxr/issues/576
2019-04-05 20:18:35 -07:00
Manish Goregaokar
e73920ee97
Add XRRigidTransform.matrix
2019-04-03 23:55:33 -07:00
Manish Goregaokar
646647e8d9
Add XRView.transform
2019-04-03 23:55:33 -07:00
Manish Goregaokar
eb837d1ed7
XRRigidTransform.inverse is now a lazy attribute
2019-04-03 23:55:33 -07:00
Manish Goregaokar
fcec93ae16
Consistently use GlobalScope in XR code
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
1f3f37225f
Validate the position passed to XRRigidTransform
...
Added in https://github.com/immersive-web/webxr/pull/568
2019-04-03 23:55:33 -07:00
Manish Goregaokar
e296185c53
Make XRRigidTransform.position/orientation lazy, default to using euclid things
2019-04-03 23:55:33 -07:00
Manish Goregaokar
feb3517ad5
Move XRRigidTransform to using RigidTransform3D
2019-04-03 23:55:33 -07:00
Manish Goregaokar
4f128e47e5
Add XRRigidTransform::Inverse
2019-03-26 00:09:15 -07:00
Manish Goregaokar
6fda2f28a6
Precompute XRRigidTransform's matrices
2019-03-26 00:09:15 -07:00
Manish Goregaokar
d1d8e97c30
Add XRSpace::get_viewer_pose()
2019-03-25 15:35:20 -07:00
Manish Goregaokar
ffacb1179e
Add originOffset to XRReferenceSpace
2019-03-18 16:26:48 -07:00
Manish Goregaokar
503ea3d943
Add XRRigidTransform attributes
2019-03-18 16:26:31 -07:00
Manish Goregaokar
c775820a79
Add XRRigidTransform constructor
2019-03-18 16:26:13 -07:00
Manish Goregaokar
c3b93a967d
Silence unused warnings
2019-01-03 23:53:50 -08:00
Manish Goregaokar
520bb23048
Basic XRRigidTransform interface
2018-12-19 16:50:27 -08:00