|
Blender V4.3
|
#include "bmesh.hh"#include "intern/bmesh_operators_private.hh"#include "BLI_math_vector.h"#include "BKE_customdata.hh"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 21 of file bmo_poke.cc.
Referenced by bmo_poke_exec().
| 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 30 of file bmo_poke.cc.
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, BMFace::no, BMVert::no, BMLoop::prev, BMOperator::slots_in, BMOperator::slots_out, and BMLoop::v.