mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 18:24:27 +00:00
3D:: smooth TPP; display player or not correctly
This commit is contained in:
1 parent
26b5d55224
commit
168b3fb11d
3 files changed
+4
-2
No files matched your search
+1
-1
@@ -1040,7 +1040,7 @@ void centerpc(ld aspd) {
|
||||
#endif
|
||||
|
||||
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 = ggmatrix(shmup::pc[0]->base) * shmup::pc[0]->at * cpush(2, -vid.yshift);
|
||||
View = inverse(at) * View;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user