Merge "2X2 matrix needs 4 float elements." into honeycomb-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
2d5cbc92ad
@@ -42,7 +42,7 @@ public class Matrix2f {
|
|||||||
* floats long
|
* floats long
|
||||||
*/
|
*/
|
||||||
public Matrix2f(float[] dataArray) {
|
public Matrix2f(float[] dataArray) {
|
||||||
mMat = new float[2];
|
mMat = new float[4];
|
||||||
System.arraycopy(dataArray, 0, mMat, 0, mMat.length);
|
System.arraycopy(dataArray, 0, mMat, 0, mMat.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user