mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 06:50:27 +00:00
less precision of sphere in mobile
This commit is contained in:
parent
82eb4ca076
commit
a9a45c1d74
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user