mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +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;
|
||||
|
||||
intmatrix T, T2, T_edit;
|
||||
int det;
|
||||
EX int det;
|
||||
int infinite_dims;
|
||||
int twisted0, twisted_edit;
|
||||
|
||||
|
16
geom-exp.cpp
16
geom-exp.cpp
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user