mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-12 13:17:38 +00:00
3D:: no more autocentering if vid.sspeed <= -5
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user