Implemented TriangleMesh->merge

This commit is contained in:
Alessandro Ranellucci 2013-09-09 22:45:22 +02:00
parent 27e7c6b9f7
commit 3919ba83d8
6 changed files with 29 additions and 3 deletions

View file

@ -178,7 +178,7 @@ static void stl_count_facets(stl_file *stl, char *file);
extern void stl_allocate(stl_file *stl);
static void stl_read(stl_file *stl, int first_facet, int first);
static void stl_facet_stats(stl_file *stl, stl_facet facet, int first);
static void stl_reallocate(stl_file *stl);
extern void stl_reallocate(stl_file *stl);
static int stl_get_little_int(FILE *fp);
static float stl_get_little_float(FILE *fp);
extern void stl_get_size(stl_file *stl);

View file

@ -213,7 +213,7 @@ stl_open_merge(stl_file *stl, char *file)
stl_read(stl, first_facet, 0);
}
static void
extern void
stl_reallocate(stl_file *stl)
{
/* Reallocate more memory for the .STL file(s) */