fixed Up/Down in shmup mode, also reversed Left/Right for intuitiveness

This commit is contained in:
Zeno Rogue 2019-06-25 10:31:40 +02:00
parent 25999229a4
commit 9d93da1472
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ void handleInput(int delta) {
if(DIM == 2)
View = xpush(-panx) * ypush(-pany) * spin(panspin) * View;
else
View = cspin(0, 2, panx*2) * cspin(0, 1, pany*2) * spin(panspin) * cpush(2, panmove*2) * View;
View = cspin(0, 2, -panx*2) * cspin(1, 2, -pany*2) * spin(panspin) * cpush(2, panmove*2) * View;
playermoved = false;
}
#endif