84 #define COPY_PTR(member) memcpy(elem->member, bone->member, sizeof(bone->member))
85 #define COPY_VAL(member) memcpy(&elem->member, &bone->member, sizeof(bone->member))
117 #define COPY_PTR(member) memcpy(bone->member, elem->member, sizeof(bone->member))
118 #define COPY_VAL(member) memcpy(&bone->member, &elem->member, sizeof(bone->member))
140 const float mat[4][4])
162 #define COPY_PTR(member) memcpy(elem->member, ebone->member, sizeof(ebone->member))
163 #define COPY_VAL(member) memcpy(&elem->member, &ebone->member, sizeof(ebone->member))
184 #define COPY_PTR(member) memcpy(ebone->member, elem->member, sizeof(ebone->member))
185 #define COPY_VAL(member) memcpy(&ebone->member, &elem->member, sizeof(ebone->member))
232 const float mat[4][4])
314 struct Key *key = me->
key;
315 const int key_index = -1;
323 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
324 memset(xod, 0x0,
sizeof(*xod));
327 xod_base = &xod->
base;
338 const int elem_array_len = me->
totvert;
340 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
341 memset(xod, 0x0,
sizeof(*xod));
344 xod_base = &xod->
base;
359 struct Key *key = lt->
key;
360 const int key_index = -1;
369 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
370 memset(xod, 0x0,
sizeof(*xod));
373 xod_base = &xod->
base;
387 struct Key *key = cu->
key;
395 const int key_index = -1;
399 nurbs = &editnurb->
nurbs;
409 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
410 memset(xod, 0x0,
sizeof(*xod));
413 xod_base = &xod->
base;
430 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
431 memset(xod, 0x0,
sizeof(*xod));
434 xod_base = &xod->
base;
439 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
440 memset(xod, 0x0,
sizeof(*xod));
443 xod_base = &xod->
base;
452 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
453 memset(xod, 0x0,
sizeof(*xod));
456 xod_base = &xod->
base;
463 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
464 memset(xod, 0x0,
sizeof(*xod));
467 xod_base = &xod->
base;
528 struct Key *key = me->
key;
529 const int key_index = -1;
552 struct Key *key = lt->key;
553 const int key_index = -1;
562 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
572 struct Key *key = cu->
key;
573 const int key_index = -1;
579 nurb = &editnurb->
nurbs;
590 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
633 struct Key *key = me->
key;
634 const int key_index = -1;
647 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
657 struct Key *key = lt->key;
658 const int key_index = -1;
667 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
676 struct Key *key = cu->
key;
677 const int key_index = -1;
690 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
734 .calc_looptri =
true,
735 .calc_normals =
true,
736 .is_destructive =
false,
void BKE_armature_transform(struct bArmature *arm, const float mat[4][4], bool do_props)
int BKE_armature_bonelist_count(const struct ListBase *lb)
int BKE_nurbList_verts_count(const struct ListBase *nurb)
void BKE_curve_nurbs_vert_coords_get(const struct ListBase *lb, float(*vert_coords)[3], int vert_len)
short BKE_curve_type_get(const struct Curve *cu)
void BKE_curve_nurbs_vert_coords_apply_with_mat4(struct ListBase *lb, const float(*vert_coords)[3], const float mat[4][4], bool constrain_2d)
void BKE_curve_nurbs_vert_coords_apply(struct ListBase *lb, const float(*vert_coords)[3], bool constrain_2d)
void BKE_gpencil_point_coords_apply(struct bGPdata *gpd, const GPencilPointCoordinates *elem_data)
void BKE_gpencil_point_coords_get(struct bGPdata *gpd, GPencilPointCoordinates *elem_data)
int BKE_gpencil_stroke_point_count(const struct bGPdata *gpd)
void BKE_gpencil_point_coords_apply_with_mat4(struct bGPdata *gpd, const GPencilPointCoordinates *elem_data, const float mat[4][4])
void BKE_keyblock_data_set(struct Key *key, int shape_index, const void *data)
void BKE_keyblock_data_set_with_mat4(struct Key *key, int shape_index, const float(*coords)[3], const float mat[4][4])
void BKE_keyblock_data_get_from_shape(const struct Key *key, float(*arr)[3], int shape_index)
void BKE_keyblock_curve_data_set_with_mat4(struct Key *key, const struct ListBase *nurb, int shape_index, const void *data, const float mat[4][4])
size_t BKE_keyblock_element_calc_size_from_shape(const struct Key *key, int shape_index)
void BKE_lattice_vert_coords_apply(struct Lattice *lt, const float(*vert_coords)[3])
void BKE_lattice_vert_coords_apply_with_mat4(struct Lattice *lt, const float(*vert_coords)[3], const float mat[4][4])
void BKE_lattice_vert_coords_get(const struct Lattice *lt, float(*vert_coords)[3])
void BKE_mball_transform(struct MetaBall *mb, const float mat[4][4], bool do_props)
void BKE_mesh_vert_coords_apply(struct Mesh *mesh, const float(*vert_coords)[3])
void BKE_mesh_vert_coords_apply_with_mat4(struct Mesh *mesh, const float(*vert_coords)[3], const float mat[4][4])
void BKE_mesh_vert_coords_get(const struct Mesh *mesh, float(*vert_coords)[3])
#define LISTBASE_FOREACH(type, var, list)
int BLI_listbase_count(const struct ListBase *listbase) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void unit_m4(float m[4][4])
void copy_qt_qt(float q[4], const float a[4])
MINLINE void copy_v3_v3(float r[3], const float a[3])
void DEG_id_tag_update(struct ID *id, int flag)
@ ID_RECALC_COPY_ON_WRITE
Object groups, one object can be in many groups at once.
Object is a sort of wrapper for general info.
void EDBM_update(struct Mesh *me, const struct EDBMUpdate_Params *params)
Read Guarded memory(de)allocation.
void ED_armature_edit_transform(bArmature *arm, const float mat[4][4], const bool do_props)
ATTR_WARN_UNUSED_RESULT BMesh * bm
void BM_mesh_vert_coords_apply_with_mat4(BMesh *bm, const float(*vert_coords)[3], const float mat[4][4])
void BM_mesh_vert_coords_apply(BMesh *bm, const float(*vert_coords)[3])
void BM_mesh_vert_coords_get(BMesh *bm, float(*vert_coords)[3])
void(* MEM_freeN)(void *vmemh)
void *(* MEM_mallocN)(size_t len, const char *str)
struct EditLatt * editlatt
struct BMEditMesh * edit_mesh