From a0016a488a6e9e4d891b054dc51be9959a71530d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 27 Jun 2024 22:22:32 +0200 Subject: [PATCH] set hcrossf, was needed for correct floor shapes --- geometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index 7d836558..e18a9900 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -713,8 +713,8 @@ void geometry_information::prepare_basics() { auto i7 = hdist0(mid(xpush0(c7), cspin(0, 1, TAU/S7) * xpush0(c7))); auto i6 = hdist0(mid(xpush0(c6), cspin(0, 1, TAU/s6) * xpush0(c6))); - // note: tessf and hcrossf remain undefined - crossf = i7 + i6; + // note: tessf remains undefined + hcrossf = crossf = i7 + i6; hexf = c7; hexhexdist = i6 + i6; hexvdist = c6;