Blender
V3.3
|
#include "BLI_math.h"
#include "bmesh.h"
#include "intern/bmesh_operators_private.h"
#include "BKE_customdata.h"
Go to the source code of this file.
Macros | |
#define | ELE_NEW 1 |
Functions | |
void | bmo_poke_exec (BMesh *bm, BMOperator *op) |
#define ELE_NEW 1 |
Definition at line 19 of file bmo_poke.c.
void bmo_poke_exec | ( | BMesh * | bm, |
BMOperator * | op | ||
) |
Pokes a face
Splits a face into a triangle fan. Iterate over all selected faces, create a new center vertex and create triangles between original face edges and new center vertex.
Definition at line 28 of file bmo_poke.c.
References BLI_assert, bm, BM_CREATE_NOP, BM_elem_attrs_copy(), BM_FACE, BM_face_calc_center_bounds(), BM_face_calc_center_median(), BM_face_calc_center_median_weighted(), BM_face_create_quad_tri(), BM_FACE_FIRST_LOOP, BM_face_interp_multires_ex(), BM_face_kill(), BM_loop_interp_from_face(), BM_VERT, BM_vert_create(), BMO_face_flag_enable, BMO_ITER, BMO_slot_bool_get(), BMO_slot_buffer_from_enabled_flag(), BMO_slot_float_get(), BMO_slot_int_get(), BMO_vert_flag_enable, BMOP_POKE_BOUNDS, BMOP_POKE_MEDIAN, BMOP_POKE_MEDIAN_WEIGHTED, CD_MDISPS, BMVert::co, copy_v3_v3(), CustomData_get_offset(), ELE_NEW, float(), BMesh::ldata, BMFace::len, len_v3v3(), madd_v3_v3fl(), BMLoop::next, BMVert::no, BMFace::no, NULL, offset, BMLoop::prev, BMOperator::slots_in, BMOperator::slots_out, BMLoop::v, and void.