Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_armature.h
| Show First 20 Lines • Show All 178 Lines • ▼ Show 20 Lines | |||||
| } BBoneSplineParameters; | } BBoneSplineParameters; | ||||
| void BKE_pchan_bbone_handles_get( | void BKE_pchan_bbone_handles_get( | ||||
| struct bPoseChannel *pchan, struct bPoseChannel **r_prev, struct bPoseChannel **r_next); | struct bPoseChannel *pchan, struct bPoseChannel **r_prev, struct bPoseChannel **r_next); | ||||
| void BKE_pchan_bbone_spline_params_get( | void BKE_pchan_bbone_spline_params_get( | ||||
| struct bPoseChannel *pchan, const bool rest, struct BBoneSplineParameters *r_param); | struct bPoseChannel *pchan, const bool rest, struct BBoneSplineParameters *r_param); | ||||
| void BKE_pchan_bbone_spline_setup( | void BKE_pchan_bbone_spline_setup( | ||||
| struct bPoseChannel *pchan, const bool rest, Mat4 result_array[MAX_BBONE_SUBDIV]); | struct bPoseChannel *pchan, const bool rest, const bool for_deform, Mat4 *result_array); | ||||
| void BKE_pchan_bbone_handles_compute( | void BKE_pchan_bbone_handles_compute( | ||||
| const BBoneSplineParameters *param, | const BBoneSplineParameters *param, | ||||
| float h1[3], float *r_roll1, | float h1[3], float *r_roll1, | ||||
| float h2[3], float *r_roll2, | float h2[3], float *r_roll2, | ||||
| bool ease, bool offsets); | bool ease, bool offsets); | ||||
| int BKE_pchan_bbone_spline_compute( | int BKE_pchan_bbone_spline_compute( | ||||
| struct BBoneSplineParameters *param, Mat4 result_array[MAX_BBONE_SUBDIV]); | struct BBoneSplineParameters *param, const bool for_deform, Mat4 *result_array); | ||||
| void BKE_pchan_bbone_segments_cache_compute( | void BKE_pchan_bbone_segments_cache_compute( | ||||
| struct bPoseChannel *pchan); | struct bPoseChannel *pchan); | ||||
| void BKE_pchan_bbone_segments_cache_copy( | void BKE_pchan_bbone_segments_cache_copy( | ||||
| struct bPoseChannel *pchan, struct bPoseChannel *pchan_from); | struct bPoseChannel *pchan, struct bPoseChannel *pchan_from); | ||||
| void BKE_pchan_bbone_deform_segment_index(const struct bPoseChannel *pchan, float pos, int *r_index, float *r_blend); | |||||
| /* like EBONE_VISIBLE */ | /* like EBONE_VISIBLE */ | ||||
| #define PBONE_VISIBLE(arm, bone) ( \ | #define PBONE_VISIBLE(arm, bone) ( \ | ||||
| CHECK_TYPE_INLINE(arm, bArmature *), \ | CHECK_TYPE_INLINE(arm, bArmature *), \ | ||||
| CHECK_TYPE_INLINE(bone, Bone *), \ | CHECK_TYPE_INLINE(bone, Bone *), \ | ||||
| (((bone)->layer & (arm)->layer) && !((bone)->flag & BONE_HIDDEN_P)) \ | (((bone)->layer & (arm)->layer) && !((bone)->flag & BONE_HIDDEN_P)) \ | ||||
| ) | ) | ||||
| #define PBONE_SELECTABLE(arm, bone) \ | #define PBONE_SELECTABLE(arm, bone) \ | ||||
| ▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines | |||||