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

world size for Euclidean

This commit is contained in:
Zeno Rogue 2019-11-27 18:07:39 +01:00
parent 81647181ae
commit 4cb9980c58
2 changed files with 7 additions and 11 deletions

View File

@ -405,7 +405,7 @@ EX namespace euclid3 {
axes regular_axes; axes regular_axes;
intmatrix T, T2, T_edit; intmatrix T, T2, T_edit;
int det; EX int det;
int infinite_dims; int infinite_dims;
int twisted0, twisted_edit; int twisted0, twisted_edit;

View File

@ -589,17 +589,13 @@ EX void showEuclideanMenu() {
denom /= g; denom /= g;
} }
/* if(euclid && bounded) {
if(fulltorus) { worldsize = euclid3::det;
using namespace torusconfig; if(BITRUNCATED) worldsize *= (a4 ? 2 : 3);
auto& mode = tmodes[torus_mode]; if(GOLDBERG) worldsize *= cgi.gpdata->area;
if(mode.flags & TF_SINGLE) if(IRREGULAR) worldsize *= isize(irr::cells) / isize(irr::cells_of_heptagon);
worldsize = qty;
else
worldsize = sdx * sdy;
worldsize = 0;
} }
else TODO */ else
worldsize = denom ? nom / denom : 0; worldsize = denom ? nom / denom : 0;
if(euler < 0 && !bounded) if(euler < 0 && !bounded)