Some comments and minor fixes to admesh code by Andy Doucette

This commit is contained in:
Alessandro Ranellucci 2013-07-31 00:01:53 +02:00
parent 1b4878f305
commit dd935e2036
3 changed files with 14 additions and 3 deletions

View file

@ -82,6 +82,7 @@ stl_check_facets_exact(stl_file *stl)
{
facet = stl->facet_start[i];
//If any two of the three vertices are found to be exactally the same, call them degenerate and remove the facet.
if( !memcmp(&facet.vertex[0], &facet.vertex[1],
sizeof(stl_vertex))
|| !memcmp(&facet.vertex[1], &facet.vertex[2],