Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_armature.h
| Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
| typedef struct EditBone { | typedef struct EditBone { | ||||
| struct EditBone *next, *prev; | struct EditBone *next, *prev; | ||||
| struct IDProperty *prop; /* User-Defined Properties on this Bone */ | struct IDProperty *prop; /* User-Defined Properties on this Bone */ | ||||
| struct EditBone *parent; /* Editbones have a one-way link (i.e. children refer | struct EditBone *parent; /* Editbones have a one-way link (i.e. children refer | ||||
| * to parents. This is converted to a two-way link for | * to parents. This is converted to a two-way link for | ||||
| * normal bones when leaving editmode. */ | * normal bones when leaving editmode. */ | ||||
| union { /* Used to store temporary data */ | union { /* Used to store temporary data */ | ||||
| void *temp; | void *temp; | ||||
| struct { | |||||
| float temp_f; | float temp_f; | ||||
| int temp_i; | |||||
| }; | |||||
| }; | }; | ||||
| char name[64]; /* MAXBONENAME */ | char name[64]; /* MAXBONENAME */ | ||||
| float roll; /* Roll along axis. We'll ultimately use the axis/angle method | float roll; /* Roll along axis. We'll ultimately use the axis/angle method | ||||
| * for determining the transformation matrix of the bone. The axis | * for determining the transformation matrix of the bone. The axis | ||||
| * is tail-head while roll provides the angle. Refer to Graphics | * is tail-head while roll provides the angle. Refer to Graphics | ||||
| * Gems 1 p. 466 (section IX.6) if it's not already in here somewhere*/ | * Gems 1 p. 466 (section IX.6) if it's not already in here somewhere*/ | ||||
| ▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines | |||||