From 1d15d37ab9c7d56dfaed190c32675cfbe210cb20 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Tue, 10 Nov 2009 17:58:47 +0000 Subject: [PATCH] fix rotation around 2nd axis git-svn-id: http://skia.googlecode.com/svn/trunk@424 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/utils/SkColorMatrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/SkColorMatrix.cpp b/src/utils/SkColorMatrix.cpp index 0a20990..f598f97 100644 --- a/src/utils/SkColorMatrix.cpp +++ b/src/utils/SkColorMatrix.cpp @@ -38,7 +38,7 @@ void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) static const uint8_t gRotateIndex[] = { 6, 7, 11, 12, - 0, 2, 15, 17, + 0, 10, 2, 12, 0, 1, 5, 6, }; const uint8_t* index = gRotateIndex + axis * 4; -- 2.7.4