1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

hpcpush: limit 10 was too small

This commit is contained in:
Zeno Rogue 2019-12-26 22:34:51 +01:00
parent 43cba3b071
commit 1f575a4347

View File

@ -20,7 +20,7 @@ void geometry_information::hpcpush(hyperpoint h) {
ld threshold = (GDIM == 3 || last->flags & POLY_TRIANGLES) ? 100 : (sphere ? (ISMOBWEB || NONSTDVAR ? .04 : .001) : 0.1) * pow(.25, vid.linequality); ld threshold = (GDIM == 3 || last->flags & POLY_TRIANGLES) ? 100 : (sphere ? (ISMOBWEB || NONSTDVAR ? .04 : .001) : 0.1) * pow(.25, vid.linequality);
if(/*vid.usingGL && */!first) { if(/*vid.usingGL && */!first) {
ld i = intval(hpc.back(), h); ld i = intval(hpc.back(), h);
if(i > threshold && (i < 10 || S3 >= OINF)) { if(i > threshold && (i < 100 || S3 >= OINF)) {
hyperpoint md = mid(hpc.back(), h); hyperpoint md = mid(hpc.back(), h);
hpcpush(md); hpcpush(md);
hpcpush(h); hpcpush(h);