mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Update web-platform-tests to revision e426a6933a05bf144eba06a1d4c47ba876a4e2d1
This commit is contained in:
parent
415b26e4f1
commit
5e5eccabf8
495 changed files with 14920 additions and 784 deletions
|
@ -37,7 +37,7 @@ let testFunction = function(session, fakeDeviceController, t) {
|
|||
let space2 = spaces[1];
|
||||
|
||||
// Rotate 90 degrees about x axis, then move 1 meter along y axis.
|
||||
space1.originOffset = new XRRigidTransform(
|
||||
space1 = space1.getOffsetReferenceSpace(new XRRigidTransform(
|
||||
DOMPointReadOnly.fromPoint({
|
||||
x : 0,
|
||||
y : 1,
|
||||
|
@ -50,10 +50,10 @@ let testFunction = function(session, fakeDeviceController, t) {
|
|||
z : 0,
|
||||
w : Math.cos(radians / 2)
|
||||
})
|
||||
);
|
||||
));
|
||||
|
||||
// Rotate 90 degrees about z axis, then move 1 meter along x axis.
|
||||
space2.originOffset = new XRRigidTransform(
|
||||
space2 = space2.getOffsetReferenceSpace(new XRRigidTransform(
|
||||
DOMPointReadOnly.fromPoint({
|
||||
x : 1,
|
||||
y : 0,
|
||||
|
@ -66,7 +66,7 @@ let testFunction = function(session, fakeDeviceController, t) {
|
|||
z : Math.sin(radians / 2),
|
||||
w : Math.cos(radians / 2)
|
||||
})
|
||||
);
|
||||
));
|
||||
|
||||
let space1_from_space2 = xrFrame.getPose(space1, space2);
|
||||
const EXPECTED_POSE_MATRIX = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue