Use correct w value in xrFrame_getPose

Values other than 1 are supposed to throw
This commit is contained in:
Manish Goregaokar 2019-07-16 16:45:09 -07:00
parent 7ccc7b3b49
commit 37d758dae1
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ let testFunction = function(session, fakeDeviceController, t) {
x : 0,
y : 1,
z : 0,
w : 0
w : 1
}),
DOMPointReadOnly.fromPoint({
x : Math.sin(radians / 2),
@ -47,7 +47,7 @@ let testFunction = function(session, fakeDeviceController, t) {
x : 1,
y : 0,
z : 0,
w : 0
w : 1
}),
DOMPointReadOnly.fromPoint({
x : 0,