1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-07 09:13:02 +00:00

various fixes related to product spaces, especially product+inverse

This commit is contained in:
Zeno Rogue
2020-10-06 21:11:27 +02:00
parent 95f65fa965
commit 34dc8fcc6e
6 changed files with 15 additions and 7 deletions

View File

@@ -679,6 +679,7 @@ void geometry_information::prepare_basics() {
single_step = S3 * S7 - 2 * S7 - 2 * S3;
psl_steps = 2 * S7;
if(BITRUNCATED) psl_steps *= S3;
if(inv) psl_steps = 2 * S3;
if(single_step < 0) single_step = -single_step;
}
DEBB(DF_GEOM | DF_POLY, ("steps = ", psl_steps, " / ", single_step));