diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-06 04:45:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-06 04:45:07 +0400 |
commit | 5c59f0d5899d1d8b145e2997b6032a6faaea82f6 (patch) | |
tree | a8524717fe962353e57e9ef31de28a3353e2d518 /source/blender/blenkernel/BKE_mesh.h | |
parent | ded0af482b82cc31ed10c2d03e5f07aedb299c50 (diff) |
added
* CDDM_calc_normals
* CDDM_calc_normals_tessface
these match what we have in trunk - CDDM_calc_normals_mapping() is kept for more comprehensive operatons.
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index 6fcbb6d9f18..22cd822bf93 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -149,14 +149,15 @@ void mesh_calc_normals_mapping( struct MFace *mfaces, int numFaces, int *origIndexFace, float (*faceNors_r)[3]); /* extended version of 'mesh_calc_normals' with option not to calc vertex normals */ void mesh_calc_normals_mapping_ex( - struct MVert *mverts, int numVerts, struct MLoop *mloop, - struct MPoly *mpolys, int numLoops, int numPolys, float (*polyNors_r)[3], + struct MVert *mverts, int numVerts, + struct MLoop *mloop, struct MPoly *mpolys, int numLoops, int numPolys, float (*polyNors_r)[3], struct MFace *mfaces, int numFaces, int *origIndexFace, float (*faceNors_r)[3], const short only_face_normals); void mesh_calc_normals( - struct MVert *mverts, int numVerts, struct MLoop *mloop, - struct MPoly *mpolys, int UNUSED(numLoops), int numPolys, float (*polyNors_r)[3]); + struct MVert *mverts, int numVerts, + struct MLoop *mloop, struct MPoly *mpolys, + int numLoops, int numPolys, float (*polyNors_r)[3]); /* Return a newly MEM_malloc'd array of all the mesh vertex locations * (_numVerts_r_ may be NULL) */ |