1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-27 02:51:23 +00:00

synt:: replaced the combinatorial building process with floating-point-based one for hyperbolic geometry too

This commit is contained in:
Zeno Rogue
2018-08-19 00:25:43 +02:00
parent b186b9d1bb
commit 7bae01c168
7 changed files with 128 additions and 391 deletions

View File

@@ -349,9 +349,6 @@ namespace torusconfig {
}
}
int decodeId(heptagon* h);
heptagon* encodeId(int id);
int euclid_getvec(int dx, int dy) {
if(torus) return torusconfig::getvec(dx, dy);
else return pair_to_vec(dx, dy);