mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
webxr: Update XRPose interface to latest spec (#33146)
* Update XRPose interface with missing members Signed-off-by: Daniel Adams <msub2official@gmail.com> * ./mach fmt Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
parent
8e224cb4d3
commit
fb22dfb373
4 changed files with 25 additions and 20 deletions
|
@ -6,6 +6,9 @@
|
|||
|
||||
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
|
||||
interface XRPose {
|
||||
readonly attribute XRRigidTransform transform;
|
||||
// readonly attribute boolean emulatedPosition;
|
||||
[SameObject] readonly attribute XRRigidTransform transform;
|
||||
[SameObject] readonly attribute DOMPointReadOnly? linearVelocity;
|
||||
[SameObject] readonly attribute DOMPointReadOnly? angularVelocity;
|
||||
|
||||
readonly attribute boolean emulatedPosition;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue