Rename some admesh functions to preserve compatibility with oiriginal admesh #1525

This commit is contained in:
Miro Hrončok 2014-01-02 15:10:03 +01:00
parent d29e341a8b
commit aad41ee023
3 changed files with 7 additions and 7 deletions

View file

@ -77,7 +77,7 @@ stl_verify_neighbors(stl_file *stl)
}
void
stl_translate(stl_file *stl, float x, float y, float z)
stl_translate_relative(stl_file *stl, float x, float y, float z)
{
int i;
int j;
@ -102,7 +102,7 @@ stl_translate(stl_file *stl, float x, float y, float z)
}
void
stl_scale(stl_file *stl, float versor[3])
stl_scale_versor(stl_file *stl, float versor[3])
{
int i;
int j;
@ -145,7 +145,7 @@ stl_scale(stl_file *stl, float factor)
versor[0] = factor;
versor[1] = factor;
versor[2] = factor;
stl_scale(stl, versor);
stl_scale_versor(stl, versor);
}
static void calculate_normals(stl_file *stl)