| Index: third_party/WebKit/LayoutTests/vr/resources/test-constants.js
|
| diff --git a/third_party/WebKit/LayoutTests/vr/resources/test-constants.js b/third_party/WebKit/LayoutTests/vr/resources/test-constants.js
|
| index 523cd4457f5781b524974c1922cfeff7e18b9aea..c285aea4e2a4d833114db6c9c564f9b5c43ea266 100644
|
| --- a/third_party/WebKit/LayoutTests/vr/resources/test-constants.js
|
| +++ b/third_party/WebKit/LayoutTests/vr/resources/test-constants.js
|
| @@ -1,3 +1,13 @@
|
| // assert_equals can fail when comparing floats due to precision errors, so
|
| // use assert_approx_equals with this constant instead
|
| var FLOAT_EPSILON = 0.0000001;
|
| +
|
| +// A valid VRPose for when we don't care about specific values
|
| +var VALID_POSE = {
|
| + position: [1.1, 2.2, 3.3],
|
| + linearVelocity: [0.1, 0.2, 0.3],
|
| + linearAcceleration: [0.0, 0.1, 0.2],
|
| + orientation: [0.1, 0.2, 0.3, 0.4],
|
| + angularVelocity: [1.1, 2.1, 3.1],
|
| + angularAcceleration: [1.0, 2.0, 3.0]
|
| +}
|
|
|