mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-19 23:25:13 +00:00
3d:: shmup mode now works as a fps
This commit is contained in:
@@ -1037,6 +1037,11 @@ void centerpc(ld aspd) {
|
||||
if(geometry == gCrystal)
|
||||
crystal::centerrug(aspd);
|
||||
#endif
|
||||
|
||||
if(shmup::on && DIM == 3) {
|
||||
transmatrix at = cpush(2, -vid.yshift) * ggmatrix(shmup::pc[0]->base) * shmup::pc[0]->at;
|
||||
View = inverse(at) * View;
|
||||
}
|
||||
|
||||
#if CAP_RACING
|
||||
if(racing::on && !racing::standard_centering) {
|
||||
|
||||
Reference in New Issue
Block a user