commit | eda9a55baae5e101ccce5b2abc021d226fde485b | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Wed Jul 24 14:46:53 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jul 24 19:17:45 2019 +0000 |
tree | 91dd8d9560c780d97c1855c6d46b2343c1c5e07a | |
parent | fa3305ae3f61988c491d376e961fcdc371f139b2 [diff] |
Fix analytic shadows when rotated 180 degrees. A 180 degree rotation matrix is functionally like a scale matrix, but the elements are negative. To compensate for this, we use abs(). Bug: b/137547660 Change-Id: Ib0e7449872523af024e7de9005b9bb70743e04b5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/229394 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>