diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/bmesh/tools/bmesh_path.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_path.h')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_path.h | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/source/blender/bmesh/tools/bmesh_path.h b/source/blender/bmesh/tools/bmesh_path.h index 792ba6c7dce..6d22a7e7e07 100644 --- a/source/blender/bmesh/tools/bmesh_path.h +++ b/source/blender/bmesh/tools/bmesh_path.h @@ -22,23 +22,32 @@ */ struct BMCalcPathParams { - uint use_topology_distance : 1; - uint use_step_face : 1; + uint use_topology_distance : 1; + uint use_step_face : 1; }; -struct LinkNode *BM_mesh_calc_path_vert( - BMesh *bm, BMVert *v_src, BMVert *v_dst, const struct BMCalcPathParams *params, - bool (*filter_fn)(BMVert *, void *), void *user_data) -ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2, 3, 5); +struct LinkNode *BM_mesh_calc_path_vert(BMesh *bm, + BMVert *v_src, + BMVert *v_dst, + const struct BMCalcPathParams *params, + bool (*filter_fn)(BMVert *, void *), + void *user_data) ATTR_WARN_UNUSED_RESULT + ATTR_NONNULL(1, 2, 3, 5); -struct LinkNode *BM_mesh_calc_path_edge( - BMesh *bm, BMEdge *e_src, BMEdge *e_dst, const struct BMCalcPathParams *params, - bool (*filter_fn)(BMEdge *, void *), void *user_data) -ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2, 3, 5); +struct LinkNode *BM_mesh_calc_path_edge(BMesh *bm, + BMEdge *e_src, + BMEdge *e_dst, + const struct BMCalcPathParams *params, + bool (*filter_fn)(BMEdge *, void *), + void *user_data) ATTR_WARN_UNUSED_RESULT + ATTR_NONNULL(1, 2, 3, 5); -struct LinkNode *BM_mesh_calc_path_face( - BMesh *bm, BMFace *f_src, BMFace *f_dst, const struct BMCalcPathParams *params, - bool (*filter_fn)(BMFace *, void *), void *user_data) -ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2, 3, 5); +struct LinkNode *BM_mesh_calc_path_face(BMesh *bm, + BMFace *f_src, + BMFace *f_dst, + const struct BMCalcPathParams *params, + bool (*filter_fn)(BMFace *, void *), + void *user_data) ATTR_WARN_UNUSED_RESULT + ATTR_NONNULL(1, 2, 3, 5); #endif /* __BMESH_PATH_H__ */ |