mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add XRRay(transform) constructor
This commit is contained in:
parent
977b36d855
commit
e7ba4e5a47
3 changed files with 16 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
|||
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
|
||||
interface XRRay {
|
||||
constructor(optional DOMPointInit origin = {}, optional DOMPointInit direction = {});
|
||||
// constructor(XRRigidTransform transform);
|
||||
constructor(XRRigidTransform transform);
|
||||
[SameObject] readonly attribute DOMPointReadOnly origin;
|
||||
[SameObject] readonly attribute DOMPointReadOnly direction;
|
||||
// [SameObject] readonly attribute Float32Array matrix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue