diff options
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-24 18:44:10 +0000 |
---|---|---|
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-24 18:44:10 +0000 |
commit | 588f3d3896ce84a00ba0b229a4fe8fff2bf67516 (patch) | |
tree | f48b740e82eb61dd908bd7353673f0eace24f5a6 | |
parent | 08284e4d2421fb6c1978e68038a3568711cd9877 (diff) |
Change double constants to floats.
git-svn-id: http://skia.googlecode.com/svn/trunk@10327 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | tests/MatrixTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/MatrixTest.cpp b/tests/MatrixTest.cpp index f57a964dc8..0ca0296fcc 100644 --- a/tests/MatrixTest.cpp +++ b/tests/MatrixTest.cpp @@ -544,9 +544,9 @@ static void test_matrix_decomposition(skiatest::Reporter* reporter) { -scaleX*s0*s1 + scaleY*c0*c1)); // perspective shouldn't affect this - mat[SkMatrix::kMPersp0] = 12.0; - mat[SkMatrix::kMPersp1] = 4.0; - mat[SkMatrix::kMPersp2] = 1872.0; + mat[SkMatrix::kMPersp0] = 12.f; + mat[SkMatrix::kMPersp1] = 4.f; + mat[SkMatrix::kMPersp2] = 1872.f; REPORTER_ASSERT(reporter, SkDecomposeUpper2x2(mat, &rotation0, &scaleX, &scaleY, &rotation1)); s0 = SkScalarSinCos(rotation0, &c0); s1 = SkScalarSinCos(rotation1, &c1); |