mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
product:: clipping fixup
This commit is contained in:
parent
87ec57f974
commit
3aefce498c
@ -5084,8 +5084,9 @@ EX void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
||||
}
|
||||
if(just_gmatrix) return;
|
||||
#if MAXMDIM >= 4
|
||||
if(WDIM == 3 && pmodel == mdPerspective && !nonisotropic) {
|
||||
if(WDIM == 3 && pmodel == mdPerspective && !nonisotropic && !(prod && product::product_sphere())) {
|
||||
hyperpoint H = tC0(V);
|
||||
if(prod) H = product::inverse_exp(H);
|
||||
for(hyperpoint& cpoint: clipping_planes) if((H|cpoint) < -sin_auto(cgi.corner_bonus)) {
|
||||
drawcell_in_radar(c, V);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user