mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed the computation of gp::alpha (was visibly bad on GP(2,2) cube)
This commit is contained in:
parent
94c72f5d89
commit
c8bc90ea86
@ -475,7 +475,7 @@ namespace gp {
|
||||
rhexf *= scale;
|
||||
// spin = spintox(next);
|
||||
// ispin = rspintox(next);
|
||||
alpha = -atan2(next[1], next[0]);
|
||||
alpha = -atan2(next[1], next[0]) * 6 / S7;
|
||||
base_distlimit = (base_distlimit + log(scale) / log(2.618)) / scale;
|
||||
if(base_distlimit > 30)
|
||||
base_distlimit = 30;
|
||||
|
Loading…
Reference in New Issue
Block a user