fixed the problem in nonisotropic shmup

This commit is contained in:
Zeno Rogue 2020-11-14 14:38:57 +01:00
parent 1cefbd2ffa
commit c9fc591e9d
1 changed files with 8 additions and 1 deletions

View File

@ -173,7 +173,14 @@ void fix_to_2(transmatrix& T) {
for(int i=0; i<4; i++) T[i][2] = 0, T[2][i] = 0;
T[2][2] = 1;
}
fixmatrix(T);
if(nonisotropic) {
hyperpoint h = tC0(T);
transmatrix rot = gpushxto0(h) * T;
{ dynamicval<eGeometry> g(geometry, gSphere); fixmatrix(rot); }
T = rgpushxto0(h) * rot;
}
else
fixmatrix(T);
fixelliptic(T);
}