https://github.com/web-platform-tests/wpt
Revision c538030f9f29b5c58b69c6932791aa950ff80904 authored by Raymond Toy on 11 October 2018, 21:41:30 UTC, committed by Chromium WPT Sync on 11 October 2018, 21:41:30 UTC
The azimuth calculation is incorrect if one of the vectors is the
zero vector.  The spec handles this case correctly by just using the
dot product alone with "normalized" vectors instead of trying to
divide the dot product by the lengths.

Bug: 893983
Test: panner-azimuth.html
Change-Id: I7f890ae3353a71ffccfc3138038572a8a18b2379
1 parent ed3b742
History
Tip revision: c538030f9f29b5c58b69c6932791aa950ff80904 authored by Raymond Toy on 11 October 2018, 21:41:30 UTC
Compute azimuth correctly according to the spec
Tip revision: c538030
File Mode Size
BlobEvent-constructor.html -rw-r--r-- 1.2 KB
META.yml -rw-r--r-- 85 bytes
idlharness.window.js -rw-r--r-- 1.1 KB

back to top