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 <campbell@blender.org>2022-01-07 03:38:08 +0300
committerCampbell Barton <campbell@blender.org>2022-01-07 06:16:26 +0300
commit3d3bc748849834ef74563deb603ab43859cffeeb (patch)
treede74ce4722b2cb032c22dbc090a15dd2e172c29b /source/blender/bmesh/tools/bmesh_decimate.h
parentbb69c19f08ac681d4386325e4318ebfbef2e9531 (diff)
Cleanup: remove redundant const qualifiers for POD types
MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning.
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_decimate.h')
-rw-r--r--source/blender/bmesh/tools/bmesh_decimate.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/bmesh/tools/bmesh_decimate.h b/source/blender/bmesh/tools/bmesh_decimate.h
index 1de241a1326..336b653d462 100644
--- a/source/blender/bmesh/tools/bmesh_decimate.h
+++ b/source/blender/bmesh/tools/bmesh_decimate.h
@@ -35,28 +35,28 @@
* - Face normals are not maintained at all.
*/
void BM_mesh_decimate_collapse(BMesh *bm,
- const float factor,
+ float factor,
float *vweights,
float vweight_factor,
- const bool do_triangulate,
- const int symmetry_axis,
- const float symmetry_eps);
+ bool do_triangulate,
+ int symmetry_axis,
+ float symmetry_eps);
/**
* \param tag_only: so we can call this from an operator */
-void BM_mesh_decimate_unsubdivide_ex(BMesh *bm, const int iterations, const bool tag_only);
-void BM_mesh_decimate_unsubdivide(BMesh *bm, const int iterations);
+void BM_mesh_decimate_unsubdivide_ex(BMesh *bm, int iterations, bool tag_only);
+void BM_mesh_decimate_unsubdivide(BMesh *bm, int iterations);
void BM_mesh_decimate_dissolve_ex(BMesh *bm,
- const float angle_limit,
- const bool do_dissolve_boundaries,
+ float angle_limit,
+ bool do_dissolve_boundaries,
BMO_Delimit delimit,
BMVert **vinput_arr,
- const int vinput_len,
+ int vinput_len,
BMEdge **einput_arr,
- const int einput_len,
- const short oflag_out);
+ int einput_len,
+ short oflag_out);
void BM_mesh_decimate_dissolve(BMesh *bm,
- const float angle_limit,
- const bool do_dissolve_boundaries,
+ float angle_limit,
+ bool do_dissolve_boundaries,
const BMO_Delimit delimit);