1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-10 13:29:02 +00:00

reg3:: strafe and dirs_adjacent with subcubes -- Great Wall generation works

This commit is contained in:
Zeno Rogue
2021-07-11 11:48:33 +02:00
parent 5f54bf2888
commit 0e0e4d0212
5 changed files with 100 additions and 37 deletions

View File

@@ -105,6 +105,7 @@ struct subcellshape {
vector<hyperpoint> vertices_only;
vector<hyperpoint> vertices_only_local;
vector<hyperpoint> face_centers;
vector<vector<bool>> dirs_adjacent;
hyperpoint cellcenter;
transmatrix to_cellcenter;
transmatrix from_cellcenter;
@@ -151,7 +152,7 @@ struct geometry_information {
ld adjcheck;
ld strafedist;
bool dirs_adjacent[32][32];
vector<vector<bool>> dirs_adjacent;
ld ultra_mirror_dist, ultra_material_part, ultra_mirror_part;