mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-11 14:56:00 +00:00
fixed the computation of gp::alpha (was visibly bad on GP(2,2) cube)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user