diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-23 09:03:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-23 09:03:07 +0400 |
commit | 63a2cc2ab76794f5645f5b9289199ac9b1a8974c (patch) | |
tree | 875d8a60023b4b14493aab88ef16c2ce3f6ef0f5 /source/blender/bmesh/intern/bmesh_structure.h | |
parent | 2a2c27b175edc204206f502a18398b8c50cfca76 (diff) |
BMesh API: make simple, low level functions inline
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_structure.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_structure.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/bmesh/intern/bmesh_structure.h b/source/blender/bmesh/intern/bmesh_structure.h index f64fb911ab4..5c87b5eb9b5 100644 --- a/source/blender/bmesh/intern/bmesh_structure.h +++ b/source/blender/bmesh/intern/bmesh_structure.h @@ -47,8 +47,8 @@ bool bmesh_loop_validate(BMFace *f); /* DISK CYCLE MANAGMENT */ void bmesh_disk_edge_append(BMEdge *e, BMVert *v); void bmesh_disk_edge_remove(BMEdge *e, BMVert *v); -BMEdge *bmesh_disk_edge_next(const BMEdge *e, const BMVert *v); -BMEdge *bmesh_disk_edge_prev(const BMEdge *e, const BMVert *v); +BLI_INLINE BMEdge *bmesh_disk_edge_next(const BMEdge *e, const BMVert *v); +BLI_INLINE BMEdge *bmesh_disk_edge_prev(const BMEdge *e, const BMVert *v); int bmesh_disk_facevert_count(const BMVert *v); BMEdge *bmesh_disk_faceedge_find_first(const BMEdge *e, const BMVert *v); BMEdge *bmesh_disk_faceedge_find_next(const BMEdge *e, const BMVert *v); @@ -67,11 +67,10 @@ BMLoop *bmesh_radial_faceloop_find_vert(const BMFace *f, const BMVert *v); bool bmesh_radial_validate(int radlen, BMLoop *l); /* EDGE UTILITIES */ -bool bmesh_vert_in_edge(const BMEdge *e, const BMVert *v); -bool bmesh_verts_in_edge(const BMVert *v1, const BMVert *v2, const BMEdge *e); bool bmesh_edge_swapverts(BMEdge *e, BMVert *orig, BMVert *newv); /* relink edge */ -BMVert *bmesh_edge_other_vert_get(BMEdge *e, BMVert *v); BMEdge *bmesh_disk_edge_exists(const BMVert *v1, const BMVert *v2); bool bmesh_disk_validate(int len, BMEdge *e, BMVert *v); +#include "intern/bmesh_structure_inline.h" + #endif /* __BMESH_STRUCTURE_H__ */ |