From a9a45c1d74797a936cbfec45ce48a724bf0002df Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 7 Nov 2017 13:03:21 +0100 Subject: [PATCH] less precision of sphere in mobile --- polygons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polygons.cpp b/polygons.cpp index 2c1d2e12..20a8abf4 100644 --- a/polygons.cpp +++ b/polygons.cpp @@ -58,7 +58,7 @@ bool ptdsort(const polytodraw& p1, const polytodraw& p2) { void hpcpush(hyperpoint h) { if(sphere) h = mid(h,h); - if(/*vid.usingGL && */!first && intval(hpc[qhpc-1], h) > (sphere ? .0001 : 0.25)) { + if(/*vid.usingGL && */!first && intval(hpc[qhpc-1], h) > (sphere ? (ISMOBWEB ? .04 : .0001) : 0.25)) { hyperpoint md = mid(hpc[qhpc-1], h); hpcpush(md); hpcpush(h);