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
animation-model
interfaces
resources
timing-model
META.yml -rw-r--r-- 122 bytes
README.md -rw-r--r-- 4.7 KB
testcommon.js -rw-r--r-- 8.6 KB

README.md

back to top