also fixed the use normalize_flat in celldrawer

This commit is contained in:
Zeno Rogue 2023-08-16 09:35:38 +02:00
parent 6a9ed169eb
commit 4b5a1621e8
1 changed files with 1 additions and 1 deletions

View File

@ -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;