diff --git a/sweet_geometry.c b/sweet_geometry.c index 5453b36..4363c49 100644 --- a/sweet_geometry.c +++ b/sweet_geometry.c @@ -288,9 +288,9 @@ free_all (struct map * map, struct vertex_array * array, struct face_item * root } int -icosphere (unsigned int nb_iterations, float scale, - unsigned int ** mesh_indices, unsigned int * count_indices, - float ** mesh_vertices, unsigned int * count_vertices) +sweet_geometry_icosphere (unsigned int nb_iterations, float scale, + unsigned int ** mesh_indices, unsigned int * count_indices, + float ** mesh_vertices, unsigned int * count_vertices) { struct face_item * root; struct face_item * f; diff --git a/sweet_geometry.h b/sweet_geometry.h index fd091ee..69849ef 100644 --- a/sweet_geometry.h +++ b/sweet_geometry.h @@ -1,8 +1,8 @@ #ifndef SWEET_GEOMETRY_H #define SWEET_GEOMETRY_H -int icosphere (unsigned int nb_iterations, float scale, - unsigned int ** mesh_indices, unsigned int * count_indices, - float ** mesh_vertices, unsigned int * count_vertices); +int sweet_geometry_icosphere (unsigned int nb_iterations, float scale, + unsigned int ** mesh_indices, unsigned int * count_indices, + float ** mesh_vertices, unsigned int * count_vertices); #endif