Adding more matrix math functions.
Fixing build. Change-Id: Ie0f6724ba063ada94d1d44d99bbe56e21d9bd72f
This commit is contained in:
@@ -96,6 +96,11 @@ public class Matrix2f {
|
||||
tmp.loadScale(x, y);
|
||||
multiply(tmp);
|
||||
}
|
||||
public void transpose() {
|
||||
float temp = mMat[1];
|
||||
mMat[1] = mMat[2];
|
||||
mMat[2] = temp;
|
||||
}
|
||||
|
||||
final float[] mMat;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user