diff options
Diffstat (limited to 'source/blender/makesdna/DNA_action_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 44c9e52cd8e..4d0f4ef1b0f 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -199,6 +199,22 @@ typedef struct bPoseChannelDrawData { float bbone_matrix[0][4][4]; } bPoseChannelDrawData; +struct Mat4; +struct DualQuat; + +typedef struct bPoseChannelRuntime { + int bbone_segments; + char pad[4]; + + /* Rest and posed matrices for segments. */ + struct Mat4 *bbone_rest_mats; + struct Mat4 *bbone_pose_mats; + + /* Delta from rest to pose in matrix and DualQuat form. */ + struct Mat4 *bbone_deform_mats; + struct DualQuat *bbone_dual_quats; +} bPoseChannelRuntime; + /* ************************************************ */ /* Poses */ @@ -287,6 +303,9 @@ typedef struct bPoseChannel { /* Points to an original pose channel. */ struct bPoseChannel *orig_pchan; + + /* Runtime data. */ + struct bPoseChannelRuntime runtime; } bPoseChannel; |