Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "BLI_alloca.h"
#include "BLI_math.h"
#include "BLI_utildefines_stack.h"
#include "BKE_customdata.h"
#include "bmesh.h"
#include "intern/bmesh_operators_private.h"
Go to the source code of this file.
Macros | |
#define | USE_CAP_OPTION |
#define | ELE_NEW (1 << 0) |
#define | ELE_VERT_ENDPOINT (1 << 1) |
#define | OFFSET 0.0f |
Functions | |
static BMFace * | bm_face_split_walk_back (BMesh *bm, BMLoop *l_src, BMLoop **r_l) |
void | bmo_offset_edgeloops_exec (BMesh *bm, BMOperator *op) |
Simple edge offset functionality.
Definition in file bmo_offset_edgeloops.c.
#define ELE_NEW (1 << 0) |
Definition at line 26 of file bmo_offset_edgeloops.c.
#define ELE_VERT_ENDPOINT (1 << 1) |
Definition at line 29 of file bmo_offset_edgeloops.c.
#define OFFSET 0.0f |
Definition at line 33 of file bmo_offset_edgeloops.c.
#define USE_CAP_OPTION |
Definition at line 24 of file bmo_offset_edgeloops.c.
Definition at line 35 of file bmo_offset_edgeloops.c.
References BLI_array_alloca, BLI_assert, bm, BM_elem_index_get, BM_face_split_n(), BMVert::co, copy_v3_v3(), KDL::cos(), BMLoop::f, float(), BMLoop::next, NULL, BMLoop::prev, and BMLoop::v.
Referenced by bmo_offset_edgeloops_exec().
void bmo_offset_edgeloops_exec | ( | BMesh * | bm, |
BMOperator * | op | ||
) |
Definition at line 61 of file bmo_offset_edgeloops.c.
References BLI_array_alloca, BLI_assert, bm, BM_EDGE, BM_edge_other_vert(), BM_edge_split(), BM_EDGES_OF_VERT, BM_elem_flag_disable, BM_elem_flag_enable, BM_elem_flag_test, BM_elem_index_get, BM_ELEM_TAG, BM_FACE, BM_face_split(), bm_face_split_walk_back(), BM_ITER_ELEM, BM_LOOPS_OF_EDGE, BM_LOOPS_OF_VERT, BM_mesh_elem_hflag_disable_all(), BM_mesh_elem_index_ensure(), BM_VERT, BM_vert_is_edge_pair(), bmesh_kernel_join_edge_kill_vert(), BMO_edge_flag_enable, BMO_ITER, BMO_slot_bool_get(), BMO_slot_buffer_from_enabled_flag(), BMO_slot_buffer_len(), BMO_vert_flag_enable, BMO_vert_flag_test, CLAMP_MIN, BMVert::e, BMLoop::e, e, ELE_NEW, ELE_VERT_ENDPOINT, BMLoop::f, l, BMFace::len, MEM_freeN, MEM_mallocN, BMLoop::next, NULL, OFFSET, BMLoop::prev, BMOperator::slots_in, BMOperator::slots_out, STACK_DECLARE, STACK_INIT, STACK_POP, STACK_PUSH, STACK_REMOVE, STACK_SIZE, UNLIKELY, UNUSED_VARS_NDEBUG, BMLoop::v, v, and verts.