1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-21 05:18:05 +00:00

sol:: solmul

This commit is contained in:
Zeno Rogue
2019-07-25 12:14:18 +02:00
parent 2c3341bf67
commit 816320da94
4 changed files with 14 additions and 8 deletions

View File

@@ -283,10 +283,10 @@ void handlePanning(int sym, int uni) {
#if !ISPANDORA
if(sym == SDLK_END && DIM == 3) {
View = cpush(2, -0.2*shiftmul) * View, didsomething = true, playermoved = false;
View = solmul(cpush(2, -0.2*shiftmul), View), didsomething = true, playermoved = false;
}
if(sym == SDLK_HOME && DIM == 3) {
View = cpush(2, 0.2*shiftmul) * View, didsomething = true, playermoved = false;
View = solmul(cpush(2, +0.2*shiftmul), View), didsomething = true, playermoved = false;
}
if(sym == SDLK_RIGHT) {
if(conformal::on)