gecko-dev/servo
Boris Chiou c8d7bee5ff Bug 1467277 - Avoid getting zero normalized vector of rotate3d for animations. r=hiro
If we have a rotate axis whose length is extremely large, we will get an
infinite value, and its normalized vector is a zero vector, instead of an
unit vector, i.e. (x/inf, y/inf, z/inf) == (0, 0, 0).
The solution is: we scale the vector, so the length becomes a finite value,
and we could get a valid unit vector. Therefore, we use
a different normalization method, robust_normalize().

MozReview-Commit-ID: L8SteFe09aO

--HG--
extra : rebase_source : 4568c8bf906a9246e4ef13672a9ed541852b974a
2018-07-05 15:41:23 -07:00
..
components Bug 1467277 - Avoid getting zero normalized vector of rotate3d for animations. r=hiro 2018-07-05 15:41:23 -07:00
ports/geckolib Bug 1467277 - Bump euclid to 0.18 for style, style_traits, malloc_size_of, and tests. r=emilio 2018-07-09 12:10:50 -07:00
support/gecko/nsstring Bug 1464834: Remove dead servo code. r=xidorn,heycam 2018-05-29 10:28:11 +02:00
tests/unit Bug 1467277 - Bump euclid to 0.18 for style, style_traits, malloc_size_of, and tests. r=emilio 2018-07-09 12:10:50 -07:00
moz.build Bug 1464834: Bring back servo/moz.build to fix the linting failure. r=me 2018-05-29 11:07:31 +02:00