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

pushed unimplemented Product

This commit is contained in:
Zeno Rogue
2019-07-28 11:17:25 +02:00
parent 0054dbc118
commit c97ab10700
10 changed files with 21 additions and 5 deletions

View File

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