From 9a8d3864220907a85adac710f8be714503c681c7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 16 Sep 2020 13:51:33 +0200 Subject: [PATCH] fixed broken_projection with tinf --- drawing.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/drawing.cpp b/drawing.cpp index 10a1ad6f..566f21c8 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -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 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));