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:
authorCampbell Barton <ideasman42@gmail.com>2013-03-13 10:32:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-13 10:32:08 +0400
commit0488af00fe95d9af32215d38394994013f09bb2b (patch)
tree72de32d9b63f064e2a6760baba2100cebea967d5 /source/blender/bmesh/intern/bmesh_polygon.h
parent56771becd0fefd1102795cb4c9c82b53f2ed7d2e (diff)
fix for crash with laplacian smooth when unselected ngons were used, volume calculation assumed unselected face were not ngons.
- added convenience function BM_face_calc_tessellation() to get triangles from an ngon. - expose volume function as BM_mesh_calc_volume().
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_polygon.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.h b/source/blender/bmesh/intern/bmesh_polygon.h
index 601caae2337..ccb85449808 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.h
+++ b/source/blender/bmesh/intern/bmesh_polygon.h
@@ -27,6 +27,7 @@
* \ingroup bmesh
*/
+void BM_face_calc_tessellation(BMFace *f, BMLoop **r_loops, int (*r_index)[3]);
float BM_face_calc_area(BMFace *f);
float BM_face_calc_perimeter(BMFace *f);
void BM_face_calc_center_bounds(BMFace *f, float center[3]);