Added a mesh_calculate_vertex_normals function for rebuilding the normals

outside edit mode.
This commit is contained in:
2003-03-24 15:55:21 +00:00
parent 2aad6b3321
commit b224f90da7
2 changed files with 43 additions and 0 deletions

View File

@@ -109,6 +109,12 @@ int rendermesh_uses_displist(struct Mesh *me);
float get_mvert_weight (struct Object *ob, int vert, int defgroup);
int update_realtime_texture(struct TFace *tface, double time);
/** Generate the mesh vertex normals by averaging over connected faces.
*
* @param me The mesh to update.
*/
void mesh_calculate_vertex_normals (Mesh *me);
#ifdef __cplusplus
}
#endif