1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +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;
intmatrix T, T2, T_edit;
int det;
EX int det;
int infinite_dims;
int twisted0, twisted_edit;

View File

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