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:
Diffstat (limited to 'source/blender/bmesh/intern')
-rw-r--r--source/blender/bmesh/intern/bmesh_interp.c4
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon_edgenet.c6
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,