Incomplete work to store TriangleMesh objects in Model objects instead of extracting vertices and facets

This commit is contained in:
Alessandro Ranellucci
2013-09-11 09:49:28 +02:00
parent 78ee6e5d6d
commit 11e18f681d
8 changed files with 45 additions and 100 deletions

View File

@@ -121,7 +121,7 @@ Normals fixed : %5d\n", stl->stats.normals_fixed);
}
void
stl_write_ascii(stl_file *stl, char *file, char *label)
stl_write_ascii(stl_file *stl, const char *file, const char *label)
{
int i;
FILE *fp;
@@ -241,7 +241,7 @@ stl_put_little_float(FILE *fp, float value_in)
void
stl_write_binary(stl_file *stl, char *file, char *label)
stl_write_binary(stl_file *stl, const char *file, const char *label)
{
FILE *fp;
int i;