immersive-web / cardboard-vr-display

A JavaScript implementation of a WebVR 1.1 VRDisplay
https://immersive-web.github.io/cardboard-vr-display
Apache License 2.0
92 stars 43 forks source link

Use degrees instead of radians for Chrome 66+ deviceorientation events #18

Closed jsantell closed 6 years ago

jsantell commented 6 years ago

In Chrome Canary m66, the deviceorientation event's rotationRate is now reported in degrees rather than radians, like other browsers. Chromium bug.

Not sure of a clever way of distinguishing between pre-66 Chrome events outside of UA string parsing.

jsantell commented 6 years ago

Edit: Change is being pushed to m65 to fix another issue, which means this is high priority to cut a new release and uplift to the polyfill; this will affect all consumers on latest stable once m65 is uplifted, sometime next week. Confirmed, this will be in m66, not m65.