less precision of sphere in mobile

This commit is contained in:
Zeno Rogue 2017-11-07 13:03:21 +01:00
parent 82eb4ca076
commit a9a45c1d74
1 changed files with 1 additions and 1 deletions

View File

@ -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);