INNER CODE UNIT · C
side2
clover-moe/spearmint · code/botlib/be_aas_cluster.c:662
side2 = (edgenum2 < 0) ^ (face2->planenum != planenum);
edgenum2 = abs(edgenum2);
edge2 = &aasworld.edges[edgenum2];
//check if the edge is shared with another face
for (s = 0; s < numfaces; s++)
{
if (s == i) continue;
otherface = &aasworld.faces[facenums[s]];
for (ens = 0; ens < otherface->numedges; ens++)
{
if (edgenum2 == abs(aasworld.edgeindex[otherface->firstedge + ens])) break;
} //end for
if (ens != otherface->numedges) break;
} //end for
//if the edge was shared
if (s != numfaces) continue;
//
if (AAS_NonConvexEdges(edge1, edge2, side1, side2, planenum)) return qfalse;