diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-12 19:21:41 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-12 19:21:41 +0300 |
commit | 487d2cb4f321d9847fb18bd57fbe7ccc3528461f (patch) | |
tree | e59219eb3218761a5d56d7f2b25d5da943b924a7 /source/blender/blenkernel/BKE_mesh.h | |
parent | 883b420a5156fe616488f975a6817fde4cab0352 (diff) |
Displace Modifier: add an option to displace along (averaged) custom normals, instead of vertex normals.
User suggestion/request from 'boby'.
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index 12330698131..41241988f2b 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -243,6 +243,10 @@ void BKE_mesh_normals_loop_custom_from_vertices_set( struct MPoly *mpolys, const float (*polynors)[3], const int numPolys, short (*r_clnors_data)[2]); +void BKE_mesh_normals_loop_to_vertex( + const int numVerts, const struct MLoop *mloops, const int numLoops, + const float (*clnors)[3], float (*r_vert_clnors)[3]); + void BKE_mesh_calc_poly_normal( const struct MPoly *mpoly, const struct MLoop *loopstart, const struct MVert *mvarray, float r_no[3]); |