mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-24 07:56:59 +00:00
3d:: in ggmatrix fixed [2][2] to [DIM][DIM]
This commit is contained in:
parent
38ded28511
commit
8c5df8dfd4
@ -219,7 +219,7 @@ transmatrix calc_relative_matrix(cell *c2, cell *c1, const hyperpoint& point_hin
|
||||
|
||||
transmatrix &ggmatrix(cell *c) {
|
||||
transmatrix& t = gmatrix[c];
|
||||
if(t[2][2] == 0) {
|
||||
if(t[DIM][DIM] == 0) {
|
||||
if(euwrap && centerover.at)
|
||||
t = calc_relative_matrix(c, centerover.at, C0);
|
||||
else if(euclid && DIM == 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user