mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add origin/direction methods to XRRay
This commit is contained in:
parent
b6a9e41bb8
commit
98ff97783e
3 changed files with 30 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
interface XRRay {
|
||||
// constructor(optional DOMPointInit origin, optional DOMPointInit direction);
|
||||
// constructor(XRRigidTransform transform);
|
||||
// [SameObject] readonly attribute DOMPointReadOnly origin;
|
||||
// [SameObject] readonly attribute DOMPointReadOnly direction;
|
||||
[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