another debug print

This commit is contained in:
Rudolf Polzer
2010-09-01 07:52:20 +02:00
parent 1875137f28
commit 526654d3dd

View File

@@ -483,6 +483,11 @@ int MaxAreaIndexes(bspDrawVert_t *vert, int cnt, int *indexes)
}
}
/*
if(bestV < 0)
printf("value was REALLY bad\n");
*/
if(bestA < TINY_AREA)
/* the biggest triangle is degenerate - then every other is too, and the other algorithms wouldn't generate anything useful either */
return 0;