OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset=utf-8> | 4 <meta charset=utf-8> |
5 <title>WebVR IDL test</title> | 5 <title>WebVR IDL test</title> |
6 <link rel="help" href="https://w3c.github.io/webvr/"> | 6 <link rel="help" href="https://w3c.github.io/webvr/"> |
7 | 7 |
8 <script src=/resources/testharness.js></script> | 8 <script src=/resources/testharness.js></script> |
9 <script src=/resources/testharnessreport.js></script> | 9 <script src=/resources/testharnessreport.js></script> |
10 <script src=/resources/WebIDLParser.js></script> | 10 <script src=/resources/WebIDLParser.js></script> |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 readonly attribute Float32Array? linearVelocity; | 167 readonly attribute Float32Array? linearVelocity; |
168 readonly attribute Float32Array? linearAcceleration; | 168 readonly attribute Float32Array? linearAcceleration; |
169 | 169 |
170 readonly attribute Float32Array? orientation; | 170 readonly attribute Float32Array? orientation; |
171 readonly attribute Float32Array? angularVelocity; | 171 readonly attribute Float32Array? angularVelocity; |
172 readonly attribute Float32Array? angularAcceleration; | 172 readonly attribute Float32Array? angularAcceleration; |
173 }; | 173 }; |
174 | 174 |
175 [Constructor] | 175 [Constructor] |
176 interface VRFrameData { | 176 interface VRFrameData { |
177 readonly attribute DOMHighResTimeStamp timestamp; | |
178 | |
179 readonly attribute Float32Array leftProjectionMatrix; | 177 readonly attribute Float32Array leftProjectionMatrix; |
180 readonly attribute Float32Array leftViewMatrix; | 178 readonly attribute Float32Array leftViewMatrix; |
181 | 179 |
182 readonly attribute Float32Array rightProjectionMatrix; | 180 readonly attribute Float32Array rightProjectionMatrix; |
183 readonly attribute Float32Array rightViewMatrix; | 181 readonly attribute Float32Array rightViewMatrix; |
184 | 182 |
185 readonly attribute VRPose pose; | 183 readonly attribute VRPose pose; |
186 }; | 184 }; |
187 | 185 |
188 interface VREyeParameters { | 186 interface VREyeParameters { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 idl_array.add_untested_idls("interface Gamepad {};"); | 261 idl_array.add_untested_idls("interface Gamepad {};"); |
264 | 262 |
265 idl_array.add_idls(document.getElementById("webvr_idl").textContent); | 263 idl_array.add_idls(document.getElementById("webvr_idl").textContent); |
266 | 264 |
267 idl_array.test(); | 265 idl_array.test(); |
268 done(); | 266 done(); |
269 }, {explicit_done: true}); | 267 }, {explicit_done: true}); |
270 </script> | 268 </script> |
271 </body> | 269 </body> |
272 </html> | 270 </html> |
OLD | NEW |