Merge "2X2 matrix needs 4 float elements." into honeycomb-mr1

This commit is contained in:
Stephen Hines
2011-03-15 16:22:19 -07:00
committed by Android (Google) Code Review

View File

@@ -42,7 +42,7 @@ public class Matrix2f {
* floats long
*/
public Matrix2f(float[] dataArray) {
mMat = new float[2];
mMat = new float[4];
System.arraycopy(dataArray, 0, mMat, 0, mMat.length);
}