diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-20 15:25:04 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-20 15:25:04 +0000 |
commit | f02f07835e417a5baff27dc8ef0b0e773ab7be00 (patch) | |
tree | 62b97d4beda5c3a2774645c0fd955f22f8b74c47 /expectations/gm/Test-Win7-ShuttleA-HD2000-x86-Debug | |
parent | 70ed38b58cdf84992d1476055ae0d210e581e855 (diff) |
Make SkMatrix44::invert() check for finite 1/det instead of magic value
Previously we were checking to see if the magnitude of
determinant of the matrix to be inverted was less than
1.0e-8, which is a magic number possibly plucked from
Graphics Gems. After some discussion, it's been determined
(ha) that we can simply check to see if 1/det is finite and
if so proceed.
BUG=222926
Committed: http://code.google.com/p/skia/source/detail?r=10758
R=reed@google.com, shawnsingh@chromium.org
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/22904003
git-svn-id: http://skia.googlecode.com/svn/trunk@10818 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'expectations/gm/Test-Win7-ShuttleA-HD2000-x86-Debug')
0 files changed, 0 insertions, 0 deletions