|
Blender
V2.93
|
#include <stdlib.h>#include "BLI_math.h"#include "BLI_string.h"#include "BKE_context.h"#include "BKE_unit.h"#include "ED_screen.h"#include "UI_interface.h"#include "BLT_translation.h"#include "transform.h"#include "transform_mode.h"#include "transform_snap.h"Go to the source code of this file.
Functions | |
Transform (Rotation - Trackball) | |
| static void | applyTrackballValue (TransInfo *t, const float axis1[3], const float axis2[3], const float angles[2]) |
| static void | applyTrackball (TransInfo *t, const int UNUSED(mval[2])) |
| void | initTrackball (TransInfo *t) |
|
static |
Definition at line 77 of file transform_mode_trackball.c.
References applyNumInput(), applyTrackballValue(), axis_angle_normalized_to_mat3(), BLI_snprintf(), Freestyle::c, copy_v2_v2(), copy_v3_v3(), ED_area_status_text(), hasNumInput(), mul_m3_m3m3(), normalize_v3(), NUM_STR_REP_LEN, outputNumInput(), RAD2DEGF, recalcData(), str, t, T_PROP_EDIT_ALL, TIP_, transform_snap_increment(), and UI_MAX_DRAW_STR.
Referenced by initTrackball().
|
static |
Definition at line 46 of file transform_mode_trackball.c.
References angle(), axis_angle_normalized_to_mat3(), ElementRotation(), TransData::factor, FOREACH_TRANS_DATA_CONTAINER, madd_v3_v3fl(), mul_v3_v3fl(), normalize_v3(), t, T_PROP_EDIT, and TD_SKIP.
Referenced by applyTrackball().
| void initTrackball | ( | TransInfo * | t | ) |
Definition at line 143 of file transform_mode_trackball.c.
References applyTrackball(), B_UNIT_ROTATION, copy_v3_fl(), DEG2RAD, initMouseInputMode(), INPUT_TRACKBALL, t, T_NO_CONSTRAINT, TFM_TRACKBALL, and USER_UNIT_ROT_RADIANS.
Referenced by transform_mode_init().