mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add XRRay constructors
This commit is contained in:
parent
98ff97783e
commit
977b36d855
2 changed files with 18 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
|
||||
interface XRRay {
|
||||
// constructor(optional DOMPointInit origin, optional DOMPointInit direction);
|
||||
constructor(optional DOMPointInit origin = {}, optional DOMPointInit direction = {});
|
||||
// constructor(XRRigidTransform transform);
|
||||
[SameObject] readonly attribute DOMPointReadOnly origin;
|
||||
[SameObject] readonly attribute DOMPointReadOnly direction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue