mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
irr:: reduced precision of lines, just like in gp
This commit is contained in:
parent
03acf4ae65
commit
7cff92b20f
@ -71,7 +71,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.back(), h) > (sphere ? (ISMOBWEB || gp::on ? .04 : .0001) : 0.1)) {
|
if(/*vid.usingGL && */!first && intval(hpc.back(), h) > (sphere ? (ISMOBWEB || gp::on || irr::on ? .04 : .0001) : 0.1)) {
|
||||||
hyperpoint md = mid(hpc.back(), h);
|
hyperpoint md = mid(hpc.back(), h);
|
||||||
hpcpush(md);
|
hpcpush(md);
|
||||||
hpcpush(h);
|
hpcpush(h);
|
||||||
|
Loading…
Reference in New Issue
Block a user