Ported TriangleMesh->scale

This commit is contained in:
Alessandro Ranellucci 2013-08-04 21:34:26 +02:00
parent a0bd152243
commit 515d5707c9
5 changed files with 22 additions and 4 deletions

View file

@ -102,4 +102,9 @@ TriangleMesh::WriteOBJFile(char* output_file) {
stl_write_obj(&stl, output_file);
}
void TriangleMesh::scale(float factor)
{
stl_scale(&(this->stl), factor);
}
}