mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-01 21:10:35 +00:00
fix elliptic S3
This commit is contained in:
parent
b67b946126
commit
8c2dfad20f
@ -1535,6 +1535,7 @@ EX unsigned bucketer(hyperpoint h) {
|
||||
}
|
||||
dx += bucketer(h[0]) + 1000 * bucketer(h[1]) + 1000000 * bucketer(h[2]);
|
||||
if(MDIM == 4) dx += bucketer(h[3]) * 1000000001;
|
||||
if(elliptic) dx = min(dx, -dx);
|
||||
return dx;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user