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:
Daniel Adams 2024-08-21 00:41:04 -10:00 committed by GitHub
parent 8e224cb4d3
commit fb22dfb373
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 25 additions and 20 deletions

View file

@ -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;
};