3d:: in ggmatrix fixed [2][2] to [DIM][DIM]

This commit is contained in:
?
2019-09-12 22:38:42 +02:00
committed by Zeno Rogue
parent 38ded28511
commit 8c5df8dfd4
+1 -1
View File
@@ -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) {