1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-13 21:47:38 +00:00

arb:: two new parameters, boundary_ratio and floor_scale

This commit is contained in:
Zeno Rogue
2021-07-30 12:12:25 +02:00
parent d0e7541b45
commit 253c5ee531
3 changed files with 16 additions and 2 deletions

View File

@@ -441,7 +441,7 @@ void geometry_information::generate_floorshapes_for(int id, cell *c, int siid, i
min_dist = dist;
}
ld dist = min_dist * (1 - 3 / sca);
ld dist = min_dist * (1 - 3 / sca) * arb::current_or_slided().boundary_ratio;
ld area = 0;
for(int j=0; j<cor; j++) {