Skip to content
Snippets Groups Projects
Commit 0d00f209 authored by bobarna's avatar bobarna
Browse files

aaaaaaaaaaaaahhhhhhhhhhhhhhhhhh

parent 3cac8a10
No related branches found
No related tags found
No related merge requests found
......@@ -231,8 +231,8 @@ class Triangulated : public Drawable {
bool checkPotDiag(std::vector<vec2>::iterator currVertex) {
vec2 currPotDiag1 = *getNextVertex(currVertex);
vec2 currPotDiag2 = *getPreviousVertex(currVertex);
for (auto currEdgeStart = getNextVertex(currVertex);
currEdgeStart != getPreviousVertex(currVertex);
for (auto currEdgeStart = getNextVertex(getNextVertex(currVertex));
currEdgeStart != getPreviousVertex(getPreviousVertex(currVertex));
currEdgeStart = getNextVertex(currEdgeStart)
)
if (intersectEachOther(*currEdgeStart, *getNextVertex(currEdgeStart),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment