1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

yet another

This commit is contained in:
Zeno Rogue 2019-10-03 20:36:15 +02:00
parent c1a12172ae
commit ac8b866978

View File

@ -999,7 +999,7 @@ bincode acd_bin(ld x) {
bincode get_bincode(hyperpoint h) { bincode get_bincode(hyperpoint h) {
switch(ginf[gwhere].cclass) { switch(ginf[gwhere].cclass) {
case gcEuclid: case gcSol: case gcNil: case gcProduct: case gcSL2: case gcNIH: case gcEuclid: case gcSolNIH: case gcNil: case gcProduct: case gcSL2:
return acd_bin(h[0]) + acd_bin(h[1]) * sY + acd_bin(h[2]) * sZ; return acd_bin(h[0]) + acd_bin(h[1]) * sY + acd_bin(h[2]) * sZ;
case gcHyperbolic: case gcHyperbolic:
return acd_bin(hypot_d(3, h)); return acd_bin(hypot_d(3, h));