mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-07 09:13:02 +00:00
asonov:: works even with small periods
This commit is contained in:
@@ -218,6 +218,7 @@ struct horo_distance {
|
||||
void horo_distance::become(hyperpoint h1) {
|
||||
if(solnih) {
|
||||
a = abs(h1[2]);
|
||||
if(asonov::in()) h1 = asonov::straighten * h1;
|
||||
b = hypot_d(2, h1);
|
||||
}
|
||||
#if CAP_BT
|
||||
|
||||
Reference in New Issue
Block a user