mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-21 04:19:43 +00:00
3d:: fixed pushing directions
This commit is contained in:
@@ -277,6 +277,10 @@ void gen600() {
|
||||
|
||||
adj0.clear();
|
||||
for(int i=0; i<120; i++) if(inedge[root][i]) adj0.push_back(i);
|
||||
|
||||
using namespace hyperpoint_vec;
|
||||
for(int i=0; i<6; i++) for(int j=i+1; j<12; j++) if(zero_d(vertices120[adj0[i]] + vertices120[adj0[j]], 3))
|
||||
swap(adj0[j], adj0[i+6]);
|
||||
|
||||
for(int i=0; i<120; i++) for(int j=0; j<120; j++)
|
||||
if(hdist(vertices120[i], vertices120[j]) > 3)
|
||||
|
||||
Reference in New Issue
Block a user