Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2013-09-10 16:48:08 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-09-10 16:48:08 +0400
commit4a2f6447efc969cba951f88a1a8c0f1e7e6d3f25 (patch)
tree9de0de6647fd55c15445a9d8f556bcd319d2b66f /source/blender/blenkernel/BKE_mesh.h
parentb56f8b139bb5b5c4cf9161d123d716a9a73a99c7 (diff)
Core code for split normals computation. Many thanks to ideasman for is optimization guiding and code reviews!
Note the API is not yet committed, as it may need a few more checks & tweaks. ;)
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh.h')
-rw-r--r--source/blender/blenkernel/BKE_mesh.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h
index 627cc8f42e5..aac91abc449 100644
--- a/source/blender/blenkernel/BKE_mesh.h
+++ b/source/blender/blenkernel/BKE_mesh.h
@@ -164,7 +164,10 @@ void BKE_mesh_calc_normals_tessface(
struct MVert *mverts, int numVerts,
struct MFace *mfaces, int numFaces,
float (*faceNors_r)[3]);
-
+void BKE_mesh_normals_loop_split(
+ struct MVert *mverts, int numVerts, struct MEdge *medges, int numEdges,
+ struct MLoop *mloops, float (*r_loopnors)[3], int numLoops,
+ struct MPoly *mpolys, float (*polynors)[3], int numPolys, float split_angle);
void BKE_mesh_calc_poly_normal(
struct MPoly *mpoly, struct MLoop *loopstart,