1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-05 08:44:07 +00:00

gp:: base_distlimit adjusted in a4

This commit is contained in:
Zeno Rogue 2018-07-10 18:01:55 +02:00
parent d986ed7617
commit aaf0a949c3

View File

@ -594,7 +594,10 @@ namespace hr { namespace gp {
// spin = spintox(next);
// ispin = rspintox(next);
alpha = -atan2(next[1], next[0]) * 6 / S7;
base_distlimit = (base_distlimit + log(scale) / log(2.618)) / scale;
if(S3 == 3)
base_distlimit = (base_distlimit + log(scale) / log(2.618)) / scale;
else
base_distlimit = 3 * max(param.first, param.second) + 2 * min(param.first, param.second);
if(base_distlimit > 30)
base_distlimit = 30;
prepare_matrices();