mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-04 16:24:08 +00:00
3d:: fixed a bug in centerpc
This commit is contained in:
parent
f68ff9de73
commit
051055922b
@ -1042,6 +1042,7 @@ void centerpc(ld aspd) {
|
|||||||
if(shmup::on && DIM == 3) {
|
if(shmup::on && DIM == 3) {
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CAP_RACING
|
#if CAP_RACING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user