mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
fixed ggmatrix
This commit is contained in:
parent
ac8eebf179
commit
4dcac4bb3a
@ -162,10 +162,10 @@ EX transmatrix &ggmatrix(cell *c) {
|
|||||||
t = calc_relative_matrix(c, centerover, C0);
|
t = calc_relative_matrix(c, centerover, C0);
|
||||||
else if(masterless && WDIM == 2) {
|
else if(masterless && WDIM == 2) {
|
||||||
if(!centerover) centerover = cwt.at;
|
if(!centerover) centerover = cwt.at;
|
||||||
t = View * eumove(cell_to_vec(c) - cellwalker_to_vec(cellwalker(centerover)));
|
t = actual_view_transform * View * eumove(cell_to_vec(c) - cellwalker_to_vec(cellwalker(centerover)));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
t = calc_relative_matrix(c, centerover, C0);
|
t = actual_view_transform * View * calc_relative_matrix(c, centerover, C0);
|
||||||
}
|
}
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user