1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

3d:: fixed a bug in centerpc

This commit is contained in:
? 2019-02-25 18:23:23 +01:00 committed by Zeno Rogue
parent f68ff9de73
commit 051055922b

View File

@ -1042,6 +1042,7 @@ void centerpc(ld aspd) {
if(shmup::on && DIM == 3) {
transmatrix at = cpush(2, -vid.yshift) * ggmatrix(shmup::pc[0]->base) * shmup::pc[0]->at;
View = inverse(at) * View;
return;
}
#if CAP_RACING