Fix array index oob in Matrix3f.loadRotate().

https://code.google.com/p/android/issues/detail?id=42860

Change-Id: Idbf18576da3ad5b84b4209147dad34cc2f9044d2
This commit is contained in:
Stephen Hines
2013-01-22 16:01:44 -08:00
parent b63e39a076
commit 0ce7cdaffd

View File

@@ -138,7 +138,7 @@ public class Matrix3f {
mMat[6] = zx*nc + ys;
mMat[1] = xy*nc + zs;
mMat[4] = y*y*nc + c;
mMat[9] = yz*nc - xs;
mMat[7] = yz*nc - xs;
mMat[2] = zx*nc - ys;
mMat[6] = yz*nc + xs;
mMat[8] = z*z*nc + c;