mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
Fixed Goldberg on elliptic
This commit is contained in:
parent
099e343794
commit
8432e65d19
@ -327,6 +327,7 @@ namespace gp {
|
|||||||
cellwalker cw(c, i);
|
cellwalker cw(c, i);
|
||||||
cw += wstep;
|
cw += wstep;
|
||||||
transmatrix cwm = shmup::calc_relative_matrix(cw.c, c);
|
transmatrix cwm = shmup::calc_relative_matrix(cw.c, c);
|
||||||
|
if(elliptic && cwm[2][2] < 0) cwm = centralsym * cwm;
|
||||||
return cwm * C0;
|
return cwm * C0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -334,6 +335,7 @@ namespace gp {
|
|||||||
cellwalker cw(c, i);
|
cellwalker cw(c, i);
|
||||||
cw += wstep;
|
cw += wstep;
|
||||||
transmatrix cwm = shmup::calc_relative_matrix(cw.c, c);
|
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);
|
auto li1 = get_local_info(cw.c);
|
||||||
return cwm * get_corner_position(li1, (cw+2).spin);
|
return cwm * get_corner_position(li1, (cw+2).spin);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user