diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:10:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:12:53 +0300 |
commit | 0547a7753643f45861306542857d97215ecb2c4f (patch) | |
tree | 1faad834721f7f13d4a0756bd80607963386fccd /source/blender/bmesh/intern | |
parent | d30ec73d763ed01795100ec5d3a0ef9dc8521f7b (diff) |
Cleanup: use const args, variables
Diffstat (limited to 'source/blender/bmesh/intern')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_interp.c | 4 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon_edgenet.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/bmesh/intern/bmesh_interp.c b/source/blender/bmesh/intern/bmesh_interp.c index 48d6bcd7b03..27c03f0a84f 100644 --- a/source/blender/bmesh/intern/bmesh_interp.c +++ b/source/blender/bmesh/intern/bmesh_interp.c @@ -330,9 +330,9 @@ static bool quad_co(const float v1[3], } static void mdisp_axis_from_quad(float v1[3], - float v2[3], + const float v2[3], float UNUSED(v3[3]), - float v4[3], + const float v4[3], float r_axis_x[3], float r_axis_y[3]) { diff --git a/source/blender/bmesh/intern/bmesh_polygon_edgenet.c b/source/blender/bmesh/intern/bmesh_polygon_edgenet.c index 83ac7df058a..374c912e3f5 100644 --- a/source/blender/bmesh/intern/bmesh_polygon_edgenet.c +++ b/source/blender/bmesh/intern/bmesh_polygon_edgenet.c @@ -94,7 +94,7 @@ static BMLoop *bm_edge_flagged_radial_first(BMEdge *e) } static void normalize_v2_m3_v3v3(float out[2], - float axis_mat[3][3], + const float axis_mat[3][3], const float v1[3], const float v2[3]) { @@ -110,7 +110,7 @@ static void normalize_v2_m3_v3v3(float out[2], */ static bool bm_face_split_edgenet_find_loop_pair(BMVert *v_init, const float face_normal[3], - float face_normal_matrix[3][3], + const float face_normal_matrix[3][3], BMEdge *e_pair[2]) { /* Always find one boundary edge (to determine winding) @@ -420,7 +420,7 @@ finally: static bool bm_face_split_edgenet_find_loop(BMVert *v_init, const float face_normal[3], - float face_normal_matrix[3][3], + const float face_normal_matrix[3][3], /* cache to avoid realloc every time */ struct VertOrder *edge_order, const uint edge_order_len, |