pageup/down spin 2x slower to make it possible to rotate by 90 degrees

This commit is contained in:
Zeno Rogue 2018-04-21 12:15:45 +02:00
parent 077231b071
commit b1382b0b34
1 changed files with 2 additions and 2 deletions

View File

@ -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)