move validation into blender kernel so it can be called by internal modifier funcs more easily.

This commit is contained in:
2011-02-09 02:28:11 +00:00
parent 30552f9f46
commit 3e8ddef8e5
6 changed files with 25 additions and 13 deletions

View File

@@ -47,6 +47,8 @@ struct Object;
struct MTFace;
struct VecNor;
struct CustomData;
struct DerivedMesh;
struct Scene;
#ifdef __cplusplus
extern "C" {
@@ -147,9 +149,13 @@ int mesh_center_median(struct Mesh *me, float cent[3]);
int mesh_center_bounds(struct Mesh *me, float cent[3]);
void mesh_translate(struct Mesh *me, float offset[3], int do_keys);
/* mesh_validate.c */
void BKE_mesh_validate_arrays(struct MVert *mverts, int totvert, struct MEdge *medges, int totedge, struct MFace *mfaces, int totface);
void BKE_mesh_validate(struct Mesh *me);
void BKE_mesh_validate_dm(struct DerivedMesh *dm);
#ifdef __cplusplus
}
#endif
#endif
#endif /* BKE_MESH_H */