mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-04 16:24:08 +00:00
fixed broken_projection with tinf
This commit is contained in:
parent
5f33d6b51b
commit
9a8d386422
@ -1529,6 +1529,7 @@ bool broken_projection(dqi_poly& p0) {
|
||||
p.offset = 0;
|
||||
p.V.T = Id;
|
||||
if(fail) {
|
||||
if(p0.tinf) return true;
|
||||
dynamicval<bool> ib(in_broken, true);
|
||||
ld part = ilerp(all[last_fail][0], all[last_fail+1][0], 0);
|
||||
hyperpoint initial = normalize(lerp(all[last_fail], all[last_fail+1], 1 - (1-part) * .99));
|
||||
|
Loading…
x
Reference in New Issue
Block a user