100 #define COPY_PTR(member) memcpy(elem->member, bone->member, sizeof(bone->member))
101 #define COPY_VAL(member) memcpy(&elem->member, &bone->member, sizeof(bone->member))
133 #define COPY_PTR(member) memcpy(bone->member, elem->member, sizeof(bone->member))
134 #define COPY_VAL(member) memcpy(&bone->member, &elem->member, sizeof(bone->member))
156 const float mat[4][4])
178 #define COPY_PTR(member) memcpy(elem->member, ebone->member, sizeof(ebone->member))
179 #define COPY_VAL(member) memcpy(&elem->member, &ebone->member, sizeof(ebone->member))
200 #define COPY_PTR(member) memcpy(ebone->member, elem->member, sizeof(ebone->member))
201 #define COPY_VAL(member) memcpy(&ebone->member, &elem->member, sizeof(ebone->member))
248 const float mat[4][4])
330 struct Key *key = me->
key;
331 const int key_index = -1;
339 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
340 memset(xod, 0x0,
sizeof(*xod));
343 xod_base = &xod->
base;
354 const int elem_array_len = me->
totvert;
356 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
357 memset(xod, 0x0,
sizeof(*xod));
360 xod_base = &xod->
base;
375 struct Key *key = lt->
key;
376 const int key_index = -1;
385 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
386 memset(xod, 0x0,
sizeof(*xod));
389 xod_base = &xod->
base;
403 struct Key *key = cu->
key;
411 const int key_index = -1;
415 nurbs = &editnurb->
nurbs;
425 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
426 memset(xod, 0x0,
sizeof(*xod));
429 xod_base = &xod->
base;
446 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
447 memset(xod, 0x0,
sizeof(*xod));
450 xod_base = &xod->
base;
455 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
456 memset(xod, 0x0,
sizeof(*xod));
459 xod_base = &xod->
base;
468 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
469 memset(xod, 0x0,
sizeof(*xod));
472 xod_base = &xod->
base;
479 sizeof(*xod) + (
sizeof(*xod->
elem_array) * elem_array_len), __func__);
480 memset(xod, 0x0,
sizeof(*xod));
483 xod_base = &xod->
base;
544 struct Key *key = me->
key;
545 const int key_index = -1;
568 struct Key *key = lt->key;
569 const int key_index = -1;
578 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
588 struct Key *key = cu->
key;
589 const int key_index = -1;
595 nurb = &editnurb->
nurbs;
606 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
649 struct Key *key = me->
key;
650 const int key_index = -1;
663 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
673 struct Key *key = lt->key;
674 const int key_index = -1;
683 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
692 struct Key *key = cu->
key;
693 const int key_index = -1;
706 if ((key !=
NULL) && (xod->key_data !=
NULL)) {
int BKE_armature_bonelist_count(struct ListBase *lb)
void BKE_armature_transform(struct bArmature *arm, const float mat[4][4], const bool do_props)
void BKE_curve_nurbs_vert_coords_apply_with_mat4(struct ListBase *lb, const float(*vert_coords)[3], const float mat[4][4], const bool constrain_2d)
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(struct ListBase *lb, const float(*vert_coords)[3], const 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(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_get_from_shape(const struct Key *key, float(*arr)[3], const int shape_index)
void BKE_keyblock_curve_data_set_with_mat4(struct Key *key, const struct ListBase *nurb, const int shape_index, const void *data, const float mat[4][4])
void BKE_keyblock_data_set_with_mat4(struct Key *key, const int shape_index, const float(*coords)[3], const float mat[4][4])
void BKE_keyblock_data_set(struct Key *key, const int shape_index, const void *data)
size_t BKE_keyblock_element_calc_size_from_shape(const struct Key *key, const 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], const 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_generic(struct Mesh *me, const bool do_tessellation, const bool is_destructive)
void EDBM_mesh_normals_update(struct BMEditMesh *em)
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