|
Blender
V2.93
|
#include <stdlib.h>#include "BLI_math.h"#include "BKE_context.h"#include "BKE_unit.h"#include "ED_screen.h"#include "UI_interface.h"#include "transform.h"#include "transform_constraints.h"#include "transform_convert.h"#include "transform_mode.h"#include "transform_snap.h"Go to the source code of this file.
Functions | |
Transform (Resize) | |
| static float | ResizeBetween (TransInfo *t, const float p1[3], const float p2[3]) |
| static void | ApplySnapResize (TransInfo *t, float vec[3]) |
| static void | applyResize (TransInfo *t, const int UNUSED(mval[2])) |
| void | initResize (TransInfo *t) |
|
static |
Definition at line 78 of file transform_mode_resize.c.
References applyNumInput(), applySnapping(), clipUVData(), clipUVTransform(), CON_APPLY, CON_AXIS0, constraintNumInput(), copy_m3_m3(), copy_v3_fl(), copy_v3_v3(), ED_area_status_text(), ElementResize(), FOREACH_TRANS_DATA_CONTAINER, headerResize(), NULL, recalcData(), size_to_mat3(), str, t, T_CLIP_UV, T_INPUT_IS_VALUES_FINAL, T_PROP_EDIT, TD_SKIP, transform_snap_increment(), and UI_MAX_DRAW_STR.
Referenced by initResize().
Definition at line 67 of file transform_mode_resize.c.
References copy_v3_fl(), getSnapPoint(), ResizeBetween(), t, and TRANSFORM_DIST_INVALID.
Referenced by initResize().
| void initResize | ( | TransInfo * | t | ) |
Definition at line 164 of file transform_mode_resize.c.
References applyResize(), ApplySnapResize(), B_UNIT_NONE, copy_v3_fl(), initMouseInputMode(), INPUT_SPRING_FLIP, NUM_AFFECT_ALL, NUM_NO_ZERO, NUM_NULL_ONE, ResizeBetween(), t, T_EDIT, T_NO_ZERO, T_NULL_ONE, TFM_RESIZE, transform_mode_default_modal_orientation_set(), and V3D_ORIENT_GLOBAL.
Referenced by initShrinkFatten(), and transform_mode_init().
Definition at line 45 of file transform_mode_resize.c.
References CON_APPLY, len_v3(), mul_m3_v3(), NULL, project_v3_v3v3(), sub_v3_v3v3(), t, and TRANSFORM_DIST_INVALID.
Referenced by ApplySnapResize(), and initResize().