mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
3D:: no more autocentering if vid.sspeed <= -5
This commit is contained in:
parent
9b968e648b
commit
85cb1bbb11
@ -1039,7 +1039,7 @@ void centerpc(ld aspd) {
|
|||||||
crystal::centerrug(aspd);
|
crystal::centerrug(aspd);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(shmup::on && DIM == 3) {
|
if(shmup::on && DIM == 3 && vid.sspeed > -5) {
|
||||||
transmatrix at = cpush(2, -vid.yshift) * ggmatrix(shmup::pc[0]->base) * shmup::pc[0]->at;
|
transmatrix at = cpush(2, -vid.yshift) * ggmatrix(shmup::pc[0]->base) * shmup::pc[0]->at;
|
||||||
View = inverse(at) * View;
|
View = inverse(at) * View;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user