commit | b14423732985aad922a2c6be78e65cbc6edcb81f | [log] [tgz] |
---|---|---|
author | vmpstr <[email protected]> | Wed Jul 08 19:29:08 2015 |
committer | Commit bot <[email protected]> | Wed Jul 08 19:29:38 2015 |
tree | d20956cbdb4eda66df093eab73b2574ba3283a5b | |
parent | 486ac9b934018b135a426dd51b55420d895341ee [diff] |
Ensure that Slerp returns a non-inf for opposing vectors. In the case where the given vectors are opposite of each other, we get a 0 denominator which causes inf/nan values which later down the pipeline can result in CHECKs since the layer transform would have nans as well. R=vollick BUG=506543 Review URL: https://codereview.chromium.org/1217773011 Cr-Commit-Position: refs/heads/master@{#337881}