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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user