mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 01:47:39 +00:00
pageup/down spin 2x slower to make it possible to rotate by 90 degrees
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user