Fixed Goldberg on elliptic

This commit is contained in:
Zeno Rogue 2018-05-20 15:14:58 +02:00
parent 099e343794
commit 8432e65d19
1 changed files with 2 additions and 0 deletions

View File

@ -327,6 +327,7 @@ namespace gp {
cellwalker cw(c, i);
cw += wstep;
transmatrix cwm = shmup::calc_relative_matrix(cw.c, c);
if(elliptic && cwm[2][2] < 0) cwm = centralsym * cwm;
return cwm * C0;
}
@ -334,6 +335,7 @@ namespace gp {
cellwalker cw(c, i);
cw += wstep;
transmatrix cwm = shmup::calc_relative_matrix(cw.c, c);
if(elliptic && cwm[2][2] < 0) cwm = centralsym * cwm;
auto li1 = get_local_info(cw.c);
return cwm * get_corner_position(li1, (cw+2).spin);
}