Adding missing declaration in header and removing some debug prints.

This commit is contained in:
Martin Poirier
2007-11-30 20:54:34 +00:00
parent 653f064e71
commit 84eb745b00
2 changed files with 1 additions and 16 deletions

View File

@@ -87,6 +87,7 @@ struct EditMesh;
int weightToHarmonic(struct EditMesh *em);
int weightFromDistance(struct EditMesh *em);
int weightFromLoc(struct EditMesh *me, int axis);
void weightToVCol(struct EditMesh *em);
void renormalizeWeight(struct EditMesh *em, float newmax);
ReebGraph * generateReebGraph(struct EditMesh *me, int subdivisions);

View File

@@ -844,7 +844,6 @@ int subtreeDepth(ReebNode *node, ReebArc *rootArc)
if (arc != rootArc)
{
ReebNode *newNode = OTHER_NODE(arc, node);
printf("recurse\n");
depth = MAX2(depth, subtreeDepth(newNode, arc));
}
}
@@ -982,9 +981,6 @@ void removeNormalNodes(ReebGraph *rg)
{
ReebArc *nextArc = findConnectedArc(rg, arc, arc->v1);
if (nextArc == NULL)
printf("uhm1\n");
// Merge arc only if needed
if (arc->v1 == nextArc->v2)
{
@@ -1002,9 +998,6 @@ void removeNormalNodes(ReebGraph *rg)
{
ReebArc *nextArc = findConnectedArc(rg, arc, arc->v2);
if (nextArc == NULL)
printf("uhm %p\n", arc->v2);
// Merge arc only if needed
if (arc->v2 == nextArc->v1)
{
@@ -1043,15 +1036,6 @@ ReebArc *nextArcMappedToEdge(ReebArc *arc, ReebEdge *e)
result = nextEdge->arc;
}
#if 0
if (result == arc)
{
printf("WTF");
getchar();
exit(1);
}
#endif
return result;
}