1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-06 21:39:43 +00:00

replaced product::product_sphere()

This commit is contained in:
Zeno Rogue
2019-09-12 14:24:02 +02:00
parent dbc95ed7a4
commit d1bf6fef5e
9 changed files with 19 additions and 16 deletions

View File

@@ -5108,7 +5108,7 @@ EX void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
}
if(just_gmatrix) return;
#if MAXMDIM >= 4
if(WDIM == 3 && pmodel == mdPerspective && !nonisotropic && !(prod && product::product_sphere())) {
if(WDIM == 3 && pmodel == mdPerspective && !nonisotropic && !in_s2xe()) {
hyperpoint H = tC0(V);
if(prod) H = product::inverse_exp(H);
for(hyperpoint& cpoint: clipping_planes) if((H|cpoint) < -sin_auto(cgi.corner_bonus)) {