mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 10:44:48 +00:00
also fixed the use normalize_flat in celldrawer
This commit is contained in:
parent
6a9ed169eb
commit
4b5a1621e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user