1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 06:03:23 +00:00

irr:: reduced precision of lines, just like in gp

This commit is contained in:
Zeno Rogue 2018-07-16 21:43:10 +02:00
parent 03acf4ae65
commit 7cff92b20f

View File

@ -71,7 +71,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.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);
hpcpush(md);
hpcpush(h);