1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-08 01:33:02 +00:00

better distance approximation in Nil

This commit is contained in:
Zeno Rogue
2019-10-06 11:51:10 +02:00
parent 69d0284745
commit e38e001454
2 changed files with 5 additions and 1 deletions

View File

@@ -237,7 +237,7 @@ horo_distance::horo_distance(hyperpoint h1, const transmatrix& T) {
if(binarytiling) become(inverse(T) * h1);
else
#endif
if(solnih || hybri) become(inverse(T) * h1);
if(solnih || hybri || nil) become(inverse(T) * h1);
else
a = 0, b = intval(h1, tC0(T));
}