make building height consistent, at least independent of aspect ratio

This commit is contained in:
Hannes Janetzek
2013-10-09 01:55:58 +02:00
parent b7ca00ae8f
commit bac46ac6e2
5 changed files with 13 additions and 15 deletions
+1 -1
View File
@@ -416,7 +416,7 @@ public class MapViewPosition {
mRotMatrix.multiplyMM(mTmpMatrix, mRotMatrix);
// scale to window coordinates
mTmpMatrix.setScale(1 / mWidth, 1 / mWidth, 1);
mTmpMatrix.setScale(1 / mWidth, 1 / mWidth, 1 / mWidth);
mViewMatrix.multiplyMM(mRotMatrix, mTmpMatrix);