mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
fixed drawing unnecessary cells in SL2
This commit is contained in:
parent
c23209b189
commit
0a25848633
@ -2194,8 +2194,8 @@ EX bool do_draw(cell *c, const shiftmatrix& T) {
|
||||
if(dist <= extra_generation_distance && !limited_generation(c)) return false;
|
||||
}
|
||||
else if(pmodel == mdGeodesic && sl2) {
|
||||
if(hypot(tC0(T.T)[2], tC0(T.T)[3]) > cosh(slr::range_xy)) return false;
|
||||
if(T.shift * stretch::not_squared() > sightranges[geometry]) return false;
|
||||
if(hypot(tC0(T.T)[2], tC0(T.T)[3]) > cosh(slr::range_xy)) return false;
|
||||
if(abs(T.shift * stretch::not_squared()) > sightranges[geometry]) return false;
|
||||
if(!limited_generation(c)) return false;
|
||||
}
|
||||
else if(vid.use_smart_range) {
|
||||
|
Loading…
Reference in New Issue
Block a user