diff options
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-03 19:46:16 +0000 |
---|---|---|
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-03 19:46:16 +0000 |
commit | 25f72ed03485f58998846d80858d64b5a3c40c7f (patch) | |
tree | ab723233852f59d445cc3fd64e009d4abcf46c5b /tests | |
parent | 5b2e2640ed345c4670b99b349f62eb6f9446ec1e (diff) |
Fix Matrix44Test and double-to-float conversion in SVD code
git-svn-id: http://skia.googlecode.com/svn/trunk@11067 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Matrix44Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Matrix44Test.cpp b/tests/Matrix44Test.cpp index 6c29a55966..67af60df90 100644 --- a/tests/Matrix44Test.cpp +++ b/tests/Matrix44Test.cpp @@ -513,10 +513,10 @@ static void TestMatrix44(skiatest::Reporter* reporter) { // test mixed-valued matrix inverse mat.reset(); - mat.setScale(1.0e-11, 3.0, 1.0e+11); + mat.setScale(1.0e-10, 3.0, 1.0e+10); rot.setRotateDegreesAbout(0, 0, -1, 90); mat.postConcat(rot); - mat.postTranslate(1.0e+11, 3.0, 1.0e-11); + mat.postTranslate(1.0e+10, 3.0, 1.0e-10); REPORTER_ASSERT(reporter, mat.invert(NULL)); mat.invert(&inverse); iden1.setConcat(mat, inverse); |