mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
pageup/down spin 2x slower to make it possible to rotate by 90 degrees
This commit is contained in:
parent
077231b071
commit
b1382b0b34
@ -253,13 +253,13 @@ void handlePanning(int sym, int uni) {
|
||||
if(conformal::on)
|
||||
conformal::rotation++;
|
||||
else
|
||||
View = spin(M_PI/S21*shiftmul) * View, didsomething = true;
|
||||
View = spin(M_PI/S21/2*shiftmul) * View, didsomething = true;
|
||||
}
|
||||
if(sym == SDLK_PAGEDOWN) {
|
||||
if(conformal::on)
|
||||
conformal::rotation++;
|
||||
else
|
||||
View = spin(-M_PI/S21*shiftmul) * View, didsomething = true;
|
||||
View = spin(-M_PI/S21/2*shiftmul) * View, didsomething = true;
|
||||
}
|
||||
|
||||
if(sym == SDLK_PAGEUP || sym == SDLK_PAGEDOWN)
|
||||
|
Loading…
Reference in New Issue
Block a user