Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.h
| Context not available. | |||||
| float imtx[3][3]; /* Inverse Matrix of the Constraint space */ | float imtx[3][3]; /* Inverse Matrix of the Constraint space */ | ||||
| float pmtx[3][3]; /* Projection Constraint Matrix (same as imtx with some axis == 0) */ | float pmtx[3][3]; /* Projection Constraint Matrix (same as imtx with some axis == 0) */ | ||||
| int imval[2]; /* initial mouse value for visual calculation */ | int imval[2]; /* initial mouse value for visual calculation */ | ||||
| /* the one in TransInfo is not garanty to stay the same (Rotates change it) */ | /* the one in TransInfo is not guarantee to stay the same (Rotates change it) */ | ||||
| int mode; /* Mode flags of the Constraint */ | int mode; /* Mode flags of the Constraint */ | ||||
| void (*drawExtra)(struct TransInfo *t); | void (*drawExtra)(struct TransInfo *t); | ||||
| Context not available. | |||||
| float r_mtx[3][3]; /* The rotscale matrix of pose bone, to allow using snap-align in translation mode, | float r_mtx[3][3]; /* The rotscale matrix of pose bone, to allow using snap-align in translation mode, | ||||
| * when td->mtx is the loc pose bone matrix (and hence can't be used to apply rotation in some cases, | * when td->mtx is the loc pose bone matrix (and hence can't be used to apply rotation in some cases, | ||||
| * namely when a bone is in "NoLocal" or "Hinge" mode)... */ | * namely when a bone is in "NoLocal" or "Hinge" mode)... */ | ||||
| float r_smtx[3][3]; /* Invers of previous one. */ | float r_smtx[3][3]; /* Inverse of previous one. */ | ||||
| int rotOrder; /* rotation mode, as defined in eRotationModes (DNA_action_types.h) */ | int rotOrder; /* rotation mode, as defined in eRotationModes (DNA_action_types.h) */ | ||||
| float oloc[3], orot[3], oquat[4], orotAxis[3], orotAngle; /* Original object transformation used for rigid bodies */ | float oloc[3], orot[3], oquat[4], orotAxis[3], orotAngle; /* Original object transformation used for rigid bodies */ | ||||
| } TransDataExtension; | } TransDataExtension; | ||||
| Context not available. | |||||
| float ih1[2], ih2[2]; | float ih1[2], ih2[2]; | ||||
| } TransData2D; | } TransData2D; | ||||
| /* we need to store 2 handles for each transdata in case the other handle wasnt selected */ | /* we need to store 2 handles for each transdata in case the other handle wasn't selected */ | ||||
| typedef struct TransDataCurveHandleFlags { | typedef struct TransDataCurveHandleFlags { | ||||
| char ih1, ih2; | char ih1, ih2; | ||||
| char *h1, *h2; | char *h1, *h2; | ||||
| Context not available. | |||||
| #define T_AUTOVALUES (1 << 20) | #define T_AUTOVALUES (1 << 20) | ||||
| /* to specificy if we save back settings at the end */ | /* to specify if we save back settings at the end */ | ||||
| #define T_MODAL (1 << 21) | #define T_MODAL (1 << 21) | ||||
| /* no retopo */ | /* no retopo */ | ||||
| Context not available. | |||||