mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-03 20:59:17 +00:00
fixed a glitch with a bodypart taking the whole screen in spherical geometry
This commit is contained in:
parent
0a0627afc5
commit
43eb9bf0a2
@ -841,6 +841,8 @@ void compute_side_by_centerin(dqi_poly *p, bool& nofill) {
|
||||
poly_flags &= ~POLY_INVERSE;
|
||||
if(poly_flags & POLY_CENTERIN) {
|
||||
poly_flags |= POLY_INVERSE;
|
||||
if(abs(zlevel(tC0(p->V)) - 1) > 1e-6) nofill = true;
|
||||
|
||||
/* nofill = true;
|
||||
outline = (flags & POLY_CENTERIN) ? 0x00FF00FF : 0xFF0000FF;
|
||||
addpoint(hscr); */
|
||||
|
Loading…
Reference in New Issue
Block a user