1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-22 03:54:04 +00:00

Big change: spatial_embedding option

This commit is contained in:
Zeno Rogue
2022-12-08 19:38:06 +01:00
parent 90dd9e9866
commit 3e733ae6e9
45 changed files with 981 additions and 527 deletions

View File

@@ -15,7 +15,7 @@ pair<bool, hyperpoint> makeradar(shiftpoint h) {
if(r < 1) h1 = h1 * (atanh(r) / r);
else return {false, h1};
}
else if(prod) h1 = product::inverse_exp(unshift(h));
else if(mproduct) h1 = product::inverse_exp(unshift(h));
else if(sl2) h1 = slr::get_inverse_exp(h);
else h1 = unshift(h);
@@ -84,7 +84,7 @@ EX void draw_radar(bool cornermode) {
bool d3 = WDIM == 3;
bool hyp = hyperbolic;
bool sph = sphere;
bool scompass = nonisotropic && !hybri;
bool scompass = nonisotropic && !mhybrid;
dynamicval<eGeometry> g(geometry, gEuclid);
dynamicval<eModel> pm(pmodel, mdDisk);