Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/bmesh_class.h
| Show First 20 Lines • Show All 384 Lines • ▼ Show 20 Lines | |||||
| struct BPy_BMGeneric; | struct BPy_BMGeneric; | ||||
| extern void bpy_bm_generic_invalidate(struct BPy_BMGeneric *self); | extern void bpy_bm_generic_invalidate(struct BPy_BMGeneric *self); | ||||
| typedef bool (*BMElemFilterFunc)(const BMElem *, void *user_data); | typedef bool (*BMElemFilterFunc)(const BMElem *, void *user_data); | ||||
| typedef bool (*BMVertFilterFunc)(const BMVert *, void *user_data); | typedef bool (*BMVertFilterFunc)(const BMVert *, void *user_data); | ||||
| typedef bool (*BMEdgeFilterFunc)(const BMEdge *, void *user_data); | typedef bool (*BMEdgeFilterFunc)(const BMEdge *, void *user_data); | ||||
| typedef bool (*BMFaceFilterFunc)(const BMFace *, void *user_data); | typedef bool (*BMFaceFilterFunc)(const BMFace *, void *user_data); | ||||
| typedef bool (*BMLoopFilterFunc)(const BMLoop *, void *user_data); | typedef bool (*BMLoopFilterFunc)(const BMLoop *, void *user_data); | ||||
| typedef bool (*BMLoopPairFilterFunc)(const BMLoop *, const BMLoop *, void *user_data); | |||||
| /* defines */ | /* defines */ | ||||
| #define BM_ELEM_CD_SET_INT(ele, offset, f) \ | #define BM_ELEM_CD_SET_INT(ele, offset, f) \ | ||||
| { \ | { \ | ||||
| CHECK_TYPE_NONCONST(ele); \ | CHECK_TYPE_NONCONST(ele); \ | ||||
| BLI_assert(offset != -1); \ | BLI_assert(offset != -1); \ | ||||
| *((int *)((char *)(ele)->head.data + (offset))) = (f); \ | *((int *)((char *)(ele)->head.data + (offset))) = (f); \ | ||||
| } \ | } \ | ||||
| ▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines | |||||