1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 00:47:40 +00:00

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

View File

@@ -58,7 +58,7 @@ bool ptdsort(const polytodraw& p1, const polytodraw& p2) {
void hpcpush(hyperpoint h) { void hpcpush(hyperpoint h) {
if(sphere) h = mid(h,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); hyperpoint md = mid(hpc[qhpc-1], h);
hpcpush(md); hpcpush(md);
hpcpush(h); hpcpush(h);