From 9cd6dd2805b05ecc17409d07fb8c0f5486cca463 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 20 Aug 2018 16:50:35 +0200 Subject: [PATCH] correct farcorner drawing in standard tilings --- geometry2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry2.cpp b/geometry2.cpp index 3fe3a1c5..94b0ce33 100644 --- a/geometry2.cpp +++ b/geometry2.cpp @@ -519,7 +519,7 @@ hyperpoint farcorner(cell *c, int i, int which) { return spin(-t.first - M_PI / c->type) * xpush(ac.inradius[id/2] + ac.inradius[id1/2]) * xspinpush0(M_PI + M_PI/n1*(which?3:-3), ac.circumradius[id1/2]); } - return cellrelmatrix(c, i) * get_corner_position(c->move(i), (cellwalker(c, i) + wstep + (which?2:-1)).spin); + return cellrelmatrix(c, i) * get_corner_position(c->move(i), (cellwalker(c, i) + wstep + (which?-1:2)).spin); } hyperpoint get_warp_corner(cell *c, int cid) {