From 99f4b8698b642e8cafbd949cc57806bb431a4650 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 5 Oct 2023 13:55:12 +0200 Subject: [PATCH] fixed relative_matrix_recursive in some geoms --- geometry2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry2.cpp b/geometry2.cpp index 2ba60a98..ac22a4c6 100644 --- a/geometry2.cpp +++ b/geometry2.cpp @@ -42,7 +42,7 @@ EX transmatrix relative_matrix_recursive(heptagon *h2, heptagon *h1) { } else { for(int i=0; itype; i++) if(h2->move(i) && h2->move(i)->distance < h2->distance) { - where = currentmap->iadj(h2, 0) * where; + where = currentmap->iadj(h2, i) * where; h2 = h2->move(i); goto again; }