1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-15 13:17:13 +00:00

3d::racing:: 3d racing (partial)

This commit is contained in:
?
2019-02-27 13:34:52 +01:00
committed by Zeno Rogue
parent 2b307f5e4a
commit 0d795e60bf
3 changed files with 46 additions and 24 deletions

View File

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