[pointerevents] Pull Request: Fix tilt to sperical calculation.

mustaqahmed has just submitted a new pull request for https://github.com/w3c/pointerevents:

== Fix tilt to sperical calculation. ==
Fix the calculation when tiltY == +-90.

Moreover, avoid possible problems with comparing (inexact) floating
point values by replacing radian comparisons with corresponding
(integer) degree comparisons.

Also avoided duplicate comparisons by replacing some |if|s with
|else if|s.

See https://github.com/w3c/pointerevents/pull/324

Received on Tuesday, 30 June 2020 16:52:50 UTC