diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-23 05:19:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-23 05:19:50 +0400 |
commit | 16ff7e40e66f93484695445b89090547de78d086 (patch) | |
tree | 606e56eea7e492173372d06a0db83f0f3e08da0c /source/blender/bmesh/tools | |
parent | c498c0eb4283473e719c5696843941051f9deed3 (diff) |
code cleanup: change C naming convention (so py and C api match), eg:
C: BM_face_calc_area(f), Py: BMFace.calc_area()
Diffstat (limited to 'source/blender/bmesh/tools')
-rw-r--r-- | source/blender/bmesh/tools/BME_bevel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/bmesh/tools/BME_bevel.c b/source/blender/bmesh/tools/BME_bevel.c index 0d177f5ab18..925bd48026a 100644 --- a/source/blender/bmesh/tools/BME_bevel.c +++ b/source/blender/bmesh/tools/BME_bevel.c @@ -789,15 +789,15 @@ static float UNUSED_FUNCTION(BME_bevel_get_angle_vert)(BMVert *v) BM_ITER_ELEM (l, &iter, v, BM_LOOPS_OF_VERT) { - BM_loop_face_normal(l, n_tmp); - madd_v3_v3fl(n, n_tmp, BM_loop_face_angle(l)); + BM_loop_calc_face_normal(l, n_tmp); + madd_v3_v3fl(n, n_tmp, BM_loop_calc_face_angle(l)); } normalize_v3(n); BM_ITER_ELEM (l, &iter, v, BM_LOOPS_OF_VERT) { /* could cache from before */ - BM_loop_face_normal(l, n_tmp); - angle_diff += angle_normalized_v3v3(n, n_tmp) * (BM_loop_face_angle(l) * (float)(M_PI * 0.5)); + BM_loop_calc_face_normal(l, n_tmp); + angle_diff += angle_normalized_v3v3(n, n_tmp) * (BM_loop_calc_face_angle(l) * (float)(M_PI * 0.5)); } return angle_diff; |