diff options
author | caryclark <caryclark@google.com> | 2015-08-25 08:03:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-25 08:03:01 -0700 |
commit | 7544124fb8ee744f68f549a353f8a9163cd7432d (patch) | |
tree | 05b3c0bde241520b07e9caa86045542d72b1dc88 /animations | |
parent | cf72ed6a3eb13d0ed1aa45beb984bafafa7afff3 (diff) |
fix zero-length tangent
If the end point and the control point are the same, computing
the tangent will result in (0, 0). In this case, use the prior
control point instead.
R=reed@google.com
BUG=skia:4191
Review URL: https://codereview.chromium.org/1311273002
Diffstat (limited to 'animations')
0 files changed, 0 insertions, 0 deletions