From 4b5a1621e8f7ca28cbdd61de10d815616d334622 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 16 Aug 2023 09:35:38 +0200 Subject: [PATCH] also fixed the use normalize_flat in celldrawer --- celldrawer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/celldrawer.cpp b/celldrawer.cpp index f2a5904d..05a049a6 100644 --- a/celldrawer.cpp +++ b/celldrawer.cpp @@ -1941,7 +1941,7 @@ void celldrawer::check_rotations() { else ds.total += unshift(tC0(V)); ds.qty++; - ds.point = cgi.emb->normalize_flat(ds.total); + ds.point = cgi.emb->normalize_flat(ds.total / ds.qty); if(mproduct) ds.point = orthogonal_move(ds.point, ds.depth / ds.qty); if(side == 2) for(int i=0; i<3; i++) ds.point[i] = -ds.point[i]; if(side == 1) ds.point = spin(-90._deg) * ds.point;