mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-29 00:12:52 +00:00
rug:: gethyper no longer finds invalid triangles
This commit is contained in:
parent
2710694df7
commit
e22602e343
1
rug.cpp
1
rug.cpp
@ -1745,6 +1745,7 @@ hyperpoint gethyper(ld x, ld y) {
|
|||||||
auto r1 = triangles[i].m[1];
|
auto r1 = triangles[i].m[1];
|
||||||
auto r2 = triangles[i].m[2];
|
auto r2 = triangles[i].m[2];
|
||||||
if(!r2) continue;
|
if(!r2) continue;
|
||||||
|
if(!r0->valid || !r1->valid || !r2->valid) continue;
|
||||||
hyperpoint p0, p1, p2;
|
hyperpoint p0, p1, p2;
|
||||||
bool error = false;
|
bool error = false;
|
||||||
int spherepoints = 0;
|
int spherepoints = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user