w3c / deviceorientation

W3C Device Orientation spec
https://www.w3.org/TR/orientation-event/
Other
49 stars 32 forks source link

Example 9 doesn't match the situation #98

Closed chaals closed 3 years ago

chaals commented 3 years ago

In example 9, the phone is described as being vertical, so accelerationIncludingGravity would register gravity affecting the y-axis, not the z-axis. This means the value should be { x: v^2/r, y: 9.8, z:0 }