use new Martix4 function which use temporary array
- avoid 'undefined behaviour' which did work for most cases...
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user