Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_action_types.h
| Show First 20 Lines • Show All 193 Lines • ▼ Show 20 Lines | typedef struct bPoseChannelDrawData { | ||||
| float solid_color[4]; | float solid_color[4]; | ||||
| float wire_color[4]; | float wire_color[4]; | ||||
| int bbone_matrix_len; | int bbone_matrix_len; | ||||
| /* keep last */ | /* keep last */ | ||||
| float bbone_matrix[0][4][4]; | float bbone_matrix[0][4][4]; | ||||
| } bPoseChannelDrawData; | } 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 */ | /* Poses */ | ||||
| /* PoseChannel ------------------------------------ */ | /* PoseChannel ------------------------------------ */ | ||||
| /* PoseChannel | /* PoseChannel | ||||
| * | * | ||||
| * A PoseChannel stores the results of Actions and transform information | * A PoseChannel stores the results of Actions and transform information | ||||
| ▲ Show 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | typedef struct bPoseChannel { | ||||
| struct bPoseChannel *bbone_next; | struct bPoseChannel *bbone_next; | ||||
| void *temp; /* use for outliner */ | void *temp; /* use for outliner */ | ||||
| /* Runtime data for color and bbone segment matrix. */ | /* Runtime data for color and bbone segment matrix. */ | ||||
| bPoseChannelDrawData *draw_data; | bPoseChannelDrawData *draw_data; | ||||
| /* Points to an original pose channel. */ | /* Points to an original pose channel. */ | ||||
| struct bPoseChannel *orig_pchan; | struct bPoseChannel *orig_pchan; | ||||
| /* Runtime data. */ | |||||
| struct bPoseChannelRuntime runtime; | |||||
| } bPoseChannel; | } bPoseChannel; | ||||
| /* PoseChannel (transform) flags */ | /* PoseChannel (transform) flags */ | ||||
| typedef enum ePchan_Flag { | typedef enum ePchan_Flag { | ||||
| /* has transforms */ | /* has transforms */ | ||||
| POSE_LOC = (1 << 0), | POSE_LOC = (1 << 0), | ||||
| POSE_ROT = (1 << 1), | POSE_ROT = (1 << 1), | ||||
| ▲ Show 20 Lines • Show All 521 Lines • Show Last 20 Lines | |||||