Adding more matrix math functions.

Fixing build.

Change-Id: Ie0f6724ba063ada94d1d44d99bbe56e21d9bd72f
This commit is contained in:
Alex Sakhartchouk
2010-08-05 10:28:43 -07:00
parent 442a647424
commit 518f033b68
5 changed files with 149 additions and 8 deletions

View File

@@ -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;
}