107 float r_orientation_mat[3][3]);
113#define P_MIRROR (1 << 0)
114#define P_MIRROR_DUMMY (P_MIRROR | (1 << 1))
115#define P_PROPORTIONAL (1 << 2)
116#define P_ORIENT_AXIS (1 << 3)
117#define P_ORIENT_AXIS_ORTHO (1 << 4)
118#define P_ORIENT_MATRIX (1 << 5)
119#define P_SNAP (1 << 6)
120#define P_GEO_SNAP (P_SNAP | (1 << 7))
121#define P_ALIGN_SNAP (P_GEO_SNAP | (1 << 8))
122#define P_CONSTRAINT (1 << 9)
123#define P_OPTIONS (1 << 10)
124#define P_CORRECT_UV (1 << 11)
125#define P_NO_DEFAULTS (1 << 12)
126#define P_NO_TEXSPACE (1 << 13)
127#define P_CENTER (1 << 14)
128#define P_GPENCIL_EDIT (1 << 15)
129#define P_CURSOR_EDIT (1 << 16)
130#define P_VIEW2D_EDGE_PAN (1 << 17)
132#define P_POST_TRANSFORM (1 << 18)
133#define P_TRANSLATE_ORIGIN (1 << 19)
150 ViewLayer *view_layer,
152 const RegionView3D *rv3d,
155 short orientation_index,
159bool calc_pivot_pos(
const bContext *
C,
const short pivot_type,
float r_pivot_pos[3]);
180#define SNAP_INCREMENTAL_ANGLE DEG2RAD(5.0)
181#define SNAP_INCREMENTAL_SNAP_STEP 1.0f
226 const int left_frame,
227 const int right_frame,
229 int *r_snap_distance,
void activate(bool forceActivation=false) const
VecBase< float, 2 > float2