Cleanup: Make function static

This commit is contained in:
2022-06-23 13:03:31 -05:00
parent 0473462241
commit b0fe0e6a30
2 changed files with 9 additions and 23 deletions

View File

@@ -336,21 +336,10 @@ void BKE_mesh_vert_coords_apply(struct Mesh *mesh, const float (*vert_coords)[3]
/**
* Recreate #MFace Tessellation.
*
* \param do_face_nor_copy: Controls whether the normals from the poly
* are copied to the tessellated faces.
*
* \return number of tessellation faces.
*
* \note This doesn't use multi-threading like #BKE_mesh_recalc_looptri since
* it's not used in many places and #MFace should be phased out.
*/
int BKE_mesh_tessface_calc_ex(struct CustomData *fdata,
struct CustomData *ldata,
struct CustomData *pdata,
struct MVert *mvert,
int totface,
int totloop,
int totpoly);
void BKE_mesh_tessface_calc(struct Mesh *mesh);
/**
@@ -897,9 +886,6 @@ enum {
* Actually this later behavior could apply to the Mirror Modifier as well,
* but the additional checks are costly and not necessary in the case of mirror,
* because each vertex is only merged to its own mirror.
*
* \note #BKE_mesh_tessface_calc_ex has to run on the returned DM
* if you want to access tess-faces.
*/
struct Mesh *BKE_mesh_merge_verts(struct Mesh *mesh,
const int *vtargetmap,