mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-15 17:54:48 +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) {
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user