diff options
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_interp.c | 4 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon_edgenet.c | 6 | ||||
-rw-r--r-- | source/blender/bmesh/tools/bmesh_intersect_edges.c | 12 |
3 files changed, 11 insertions, 11 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, diff --git a/source/blender/bmesh/tools/bmesh_intersect_edges.c b/source/blender/bmesh/tools/bmesh_intersect_edges.c index 04c6968bfa0..6422904c83c 100644 --- a/source/blender/bmesh/tools/bmesh_intersect_edges.c +++ b/source/blender/bmesh/tools/bmesh_intersect_edges.c @@ -277,8 +277,8 @@ static void bm_edge_pair_elem_setup(BMEdge *e, static bool bm_vertxedge_isect_impl_ex(BMVert *v, BMEdge *e, int edge_index, - float co[3], - float dir[3], + const float co[3], + const float dir[3], float lambda, float data_dist_sq, int *data_cut_edges_len, @@ -411,10 +411,10 @@ static void bm_edgexedge_isect_impl(struct EDBMSplitData *data, int index_b, BMEdge *e_a, BMEdge *e_b, - float co_a[3], - float dir_a[3], - float co_b[3], - float dir_b[3], + const float co_a[3], + const float dir_a[3], + const float co_b[3], + const float dir_b[3], float lambda_a, float lambda_b) { |