forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1850841 - Tweak the formula of computing the ratio of quaternionA…
… in Slerp algorithm. r=emilio When the progress is 100%, the result from the original formula of calculating `left_weight` may not be 0 exactly (i.e. approximate zero, e.g. -2.22e-16), and so this imprecision makes the recomposed Matrix3D have some approximate zeros. Those approximate zeros (e.g. `_m13` is 2e-16, and `_m23` is 8e-17 in WPT) make us failed to treat this Matrix3D as a 2D matrix when we serializing it (because we use `!= 0.0f` to check if the matrix components are not equal to zero in `Matrix4x4::Is2D()`, and other places). Differential Revision: https://phabricator.services.mozilla.com/D187814
- Loading branch information
1 parent
3cf3fd0
commit 024f384
Showing
2 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
testing/web-platform/meta/css/css-transforms/animation/transform-interpolation-005.html.ini
This file was deleted.
Oops, something went wrong.