Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.h
| Show First 20 Lines • Show All 712 Lines • ▼ Show 20 Lines | |||||
| void restoreBones(TransDataContainer *tc); | void restoreBones(TransDataContainer *tc); | ||||
| /*********************** transform_gizmo.c ********** */ | /*********************** transform_gizmo.c ********** */ | ||||
| #define GIZMO_AXIS_LINE_WIDTH 2.0f | #define GIZMO_AXIS_LINE_WIDTH 2.0f | ||||
| /* return 0 when no gimbal for selection */ | /* return 0 when no gimbal for selection */ | ||||
| bool gimbal_axis(struct Object *ob, float gmat[3][3]); | bool gimbal_axis(struct Object *ob, float gmat[3][3]); | ||||
| void drawDial3d(const TransInfo *t); | |||||
| /*********************** TransData Creation and General Handling *********** */ | /*********************** TransData Creation and General Handling *********** */ | ||||
| void createTransData(struct bContext *C, TransInfo *t); | void createTransData(struct bContext *C, TransInfo *t); | ||||
| void sort_trans_data_dist(TransInfo *t); | void sort_trans_data_dist(TransInfo *t); | ||||
| void special_aftertrans_update(struct bContext *C, TransInfo *t); | void special_aftertrans_update(struct bContext *C, TransInfo *t); | ||||
| int special_transform_moving(TransInfo *t); | int special_transform_moving(TransInfo *t); | ||||
| void transform_autoik_update(TransInfo *t, short mode); | void transform_autoik_update(TransInfo *t, short mode); | ||||
| Show All 33 Lines | |||||
| void initSelectConstraint(TransInfo *t, float mtx[3][3]); | void initSelectConstraint(TransInfo *t, float mtx[3][3]); | ||||
| void selectConstraint(TransInfo *t); | void selectConstraint(TransInfo *t); | ||||
| void postSelectConstraint(TransInfo *t); | void postSelectConstraint(TransInfo *t); | ||||
| void setNearestAxis(TransInfo *t); | void setNearestAxis(TransInfo *t); | ||||
| /*********************** Snapping ********************************/ | /*********************** Snapping ********************************/ | ||||
| #define INCREMENTAL_ANGLE DEG2RAD(5.0) | |||||
| typedef enum { | typedef enum { | ||||
| NO_GEARS = 0, | NO_GEARS = 0, | ||||
| BIG_GEARS = 1, | BIG_GEARS = 1, | ||||
| SMALL_GEARS = 2 | SMALL_GEARS = 2 | ||||
| } GearsType; | } GearsType; | ||||
| void snapGridIncrement(TransInfo *t, float *val); | void snapGridIncrement(TransInfo *t, float *val); | ||||
| void snapGridIncrementAction(TransInfo *t, float *val, GearsType action); | void snapGridIncrementAction(TransInfo *t, float *val, GearsType action); | ||||
| ▲ Show 20 Lines • Show All 144 Lines • Show Last 20 Lines | |||||