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:
parent
81647181ae
commit
4cb9980c58
@ -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;
|
||||||
|
|
||||||
|
16
geom-exp.cpp
16
geom-exp.cpp
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user