use new Martix4 function which use temporary array

- avoid 'undefined behaviour' which did work for most cases...
This commit is contained in:
Hannes Janetzek
2013-05-11 22:53:24 +02:00
parent b463ca7e3b
commit 477548c5f7
5 changed files with 9 additions and 11 deletions

View File

@@ -123,7 +123,7 @@ public class MapViewPosition {
mProjMatrix.set(tmp);
mTmpMatrix.setTranslation(0, 0, -VIEW_DISTANCE);
mProjMatrix.multiplyMM(mTmpMatrix);
mProjMatrix.multiplyRhs(mTmpMatrix);
mProjMatrix.get(tmp);
Matrix.invertM(tmp, 0, tmp, 0);