fix rotation around 2nd axis
authorreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 Nov 2009 17:58:47 +0000 (17:58 +0000)
committerreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 Nov 2009 17:58:47 +0000 (17:58 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@424 2bbb7eff-a529-9590-31e7-b0007b416f81

src/utils/SkColorMatrix.cpp

index 0a20990..f598f97 100644 (file)
@@ -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;