diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-03 20:37:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-03 20:37:23 +0400 |
commit | 4770848871c9b19caf113f250a0346b4954a8c2e (patch) | |
tree | e61129948234f91acb31bc0f50b16ba552a34307 /source/blender/bmesh/intern/bmesh_polygon.h | |
parent | 31761f5e5b06a394a4165ddc2eca27e644b1282a (diff) |
code cleanup: bmesh use 'const' for query functions.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_polygon.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.h b/source/blender/bmesh/intern/bmesh_polygon.h index 91fe94f8e48..e5dc5c081c3 100644 --- a/source/blender/bmesh/intern/bmesh_polygon.h +++ b/source/blender/bmesh/intern/bmesh_polygon.h @@ -27,13 +27,13 @@ * \ingroup bmesh */ -int BM_face_calc_tessellation(BMFace *f, BMLoop **r_loops, int (*r_index)[3]) +int BM_face_calc_tessellation(const BMFace *f, BMLoop **r_loops, int (*r_index)[3]) #ifdef __GNUC__ __attribute__((warn_unused_result)) __attribute__((nonnull)) #endif ; -void BM_face_calc_normal(BMFace *f, float r_no[3]); +void BM_face_calc_normal(const BMFace *f, float r_no[3]); void BM_face_calc_normal_vcos(BMesh *bm, BMFace *f, float r_no[3], float const (*vertexCos)[3]); float BM_face_calc_area(BMFace *f); |