1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

rug:: gethyper no longer finds invalid triangles

This commit is contained in:
Zeno Rogue 2019-04-29 03:38:27 +02:00
parent 2710694df7
commit e22602e343

View File

@ -1745,6 +1745,7 @@ hyperpoint gethyper(ld x, ld y) {
auto r1 = triangles[i].m[1];
auto r2 = triangles[i].m[2];
if(!r2) continue;
if(!r0->valid || !r1->valid || !r2->valid) continue;
hyperpoint p0, p1, p2;
bool error = false;
int spherepoints = 0;