code cleanup: replace BM_DISK_EDGE_LINK_GET define with inline function, that checks for the vertex not matching either of the edges verts.

This commit is contained in:
2012-09-12 05:11:38 +00:00
parent bd5fdf63cb
commit 77e351300b
2 changed files with 19 additions and 13 deletions

View File

@@ -53,12 +53,6 @@ int bmesh_elem_check(void *element, const char htype);
} (void)0
#endif
#define BM_DISK_EDGE_LINK_GET(e, v) ( \
((v) == ((BMEdge *)(e))->v1) ? \
&((e)->v1_disk_link) : \
&((e)->v2_disk_link) \
)
int bmesh_radial_length(BMLoop *l);
int bmesh_disk_count(BMVert *v);