1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

reg3:: added DEBB(DF_GEOM)

This commit is contained in:
Zeno Rogue 2020-01-28 10:35:54 +01:00
parent 0e86f60806
commit 3804d2bfb7

View File

@ -411,7 +411,7 @@ EX namespace reg3 {
// Vineyard in 435
make_plane(cellwalker(gamestart(), 0));
println(hlog, "plane size = ", isize(plane));
DEBB(DF_GEOM, ("plane size = ", isize(plane)));
set<int> plane_indices;
for(auto cw: plane) plane_indices.insert(cw.at->master->fieldval);
@ -498,10 +498,10 @@ EX namespace reg3 {
for(int index = 5; index >= 0; index--) {
for(auto k: boundaries) println(hlog, k);
println(hlog, "simplifying...");
DEBB(DF_GEOM, ("simplifying..."));
for(auto by: boundaries) if(among(by[index], 1, -1)) {
println(hlog, "simplifying by ", by);
DEBB(DF_GEOM, ("simplifying by ", by));
periods.push_back(by);
set<coord> nb;